/*
 * Atlas Public UI System v2
 * Loaded after site.css. Public-only sizing, rhythm and invitation gallery.
 */
:root{
 --container:min(1200px,calc(100vw - 48px));
 --atlas-section:clamp(64px,7vw,88px);
 --atlas-display:clamp(2.65rem,4.8vw,4.75rem);
 --atlas-hero:clamp(2.35rem,4.1vw,4.1rem);
 --atlas-section-title:clamp(1.85rem,3vw,3rem);
 --atlas-card-title:clamp(1.05rem,1.7vw,1.4rem);
}
body{font-size:15px;line-height:1.75}
.site-section{padding-block:var(--atlas-section)}
.site-header-inner{min-height:76px;gap:24px}
.site-navigation{gap:17px}.site-navigation>a,.site-nav-dropdown>summary{padding-block:25px}
.site-nav-dropdown>div{top:64px}
.section-heading{gap:28px;margin-bottom:36px}.section-heading h2{font-size:var(--atlas-section-title);letter-spacing:-.035em}.section-heading p{margin-top:12px;font-size:.96rem}
.site-button{min-height:48px;padding:11px 21px;font-size:.88rem}
.site-page-hero{gap:42px;padding:68px 0 56px}.site-page-hero h1{font-size:var(--atlas-hero);letter-spacing:-.045em}.site-page-hero p{font-size:.96rem}
.site-footer-cta{padding:68px 0 58px}.site-footer-cta h2{font-size:clamp(2rem,4vw,3.9rem);letter-spacing:-.04em}
.site-footer-grid{gap:34px;padding:56px 0}

/* Restore the product catalog hero after the former generic catalog collision. */
.site-page-hero.catalog-hero{width:var(--container);min-height:auto;display:flex;grid-template-columns:none;align-items:end;gap:48px;margin-inline:auto;padding:68px 0 56px;overflow:visible;color:var(--ink);background:transparent}
.site-page-hero.catalog-hero::before{display:none}
.site-page-hero.catalog-hero::after{flex:0 0 230px;height:190px;font-size:3.4rem;box-shadow:inset 0 0 0 15px rgba(237,59,63,.95),var(--shadow-md)}
.site-page-hero.catalog-hero h1{max-width:760px;margin-bottom:16px;font-size:var(--atlas-hero);line-height:1.18;letter-spacing:-.045em}
.site-page-hero.catalog-hero p{max-width:620px;color:var(--muted);font-size:.96rem;line-height:1.8}

/* Global page scale and intentional spacing. */
.home-hero{min-height:650px;grid-template-columns:minmax(0,.95fr) minmax(420px,1.05fr);gap:52px;padding:60px max(24px,calc((100vw - 1200px)/2)) 70px}
.home-hero h1,.product-detail-intro h1,.order-product-head h1,.cart-page-header h1,.checkout-head h1,
.editorial-hero h1,.portfolio-hero h1,.contact-hero h1,.content-page-hero h1,.ai-design-hero h1,
.invitation-landing-copy h1,.project-head h1,.article-page-head h1{font-size:var(--atlas-display);line-height:1.08;letter-spacing:-.05em}
.home-hero-copy>p,.product-detail-intro>p,.invitation-landing-copy>p{font-size:.98rem}
.home-hero-media{min-height:520px;border-radius:3px 3px 72px 3px}
.hero-proof{margin-top:38px}
.home-contact-banner{min-height:330px;margin:30px auto 80px;padding:clamp(32px,5vw,58px)}
.home-contact-banner h2,.home-ai-copy h2,.home-invitation-copy h2,.invitation-experience-copy h2,.invitation-final-cta h2{font-size:clamp(2rem,3.8vw,3.65rem);letter-spacing:-.04em}
.home-ai-studio,.home-invitation-feature{min-height:520px;margin-top:80px;padding:clamp(32px,5vw,58px)}
.home-services{padding-top:35px}.home-service-card{min-height:340px;padding:23px}.home-service-card h3{font-size:1.3rem}

.product-detail-hero{min-height:540px;grid-template-columns:minmax(0,.9fr) minmax(390px,1.1fr);gap:52px;padding:58px max(24px,calc((100vw - 1200px)/2)) 68px}
.product-detail-art,.product-detail-art>img{min-height:420px}
.product-configurator{grid-template-columns:minmax(0,1fr) 350px;gap:42px;padding-block:80px}
.order-product-head{padding:38px max(24px,calc((100vw - 1200px)/2)) 42px}
.order-product-head h1{max-width:760px}
.product-order-layout{grid-template-columns:minmax(0,1fr) 340px;gap:30px;padding:45px 0 80px}
.order-config-card>header,.order-config-card>summary{min-height:72px}

.cart-page,.checkout-page{padding-block:64px 82px}
.cart-page-header,.checkout-head{margin-bottom:34px}
.cart-layout{grid-template-columns:minmax(0,1fr) 340px;gap:30px}
.cart-item-card{padding:20px}.cart-item-visual{width:180px}
.checkout-layout{grid-template-columns:minmax(0,1fr) 350px;gap:34px}

.editorial-hero,.portfolio-hero,.contact-hero{min-height:440px;padding:64px max(24px,calc((100vw - 1200px)/2)) 72px}
.content-page-hero{min-height:420px;padding:70px max(24px,calc((100vw - 1200px)/2))}
.article-page-head,.project-head{padding-block:68px}
.article-layout,.portfolio-grid,.editorial-layout,.contact-layout{gap:34px}
.article-card h2,.portfolio-card h2{font-size:var(--atlas-card-title)}
.customer-auth-layout{min-height:calc(100vh - 114px)}
.customer-auth-art,.customer-auth-card{padding:clamp(30px,5vw,58px)}
.customer-auth-art h1{font-size:clamp(2.5rem,4.8vw,4.5rem)}
.ai-design-hero{min-height:530px;gap:55px;padding:62px max(24px,calc((100vw - 1200px)/2)) 72px}
.invitation-landing-hero{min-height:650px;grid-template-columns:minmax(0,.95fr) minmax(430px,1.05fr);gap:55px;padding:58px max(24px,calc((100vw - 1200px)/2)) 70px}
.invitation-hero-stage{min-height:520px}.invitation-device--front{height:500px}.invitation-device--back{height:410px}
.invitation-template-section{padding-top:88px}.invitation-template-visual{height:390px}
.invitation-template-envelope-wrap{position:relative}.invitation-template-envelope{position:relative;height:390px;overflow:hidden}.invitation-template-number{position:absolute;z-index:15;top:14px;right:14px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff;color:var(--red-600);font:900 .62rem Arial;box-shadow:0 7px 20px #101a2e26}
.invitation-template-visual.has-art{background-color:var(--card-bg);background-image:linear-gradient(180deg,transparent 45%,rgba(7,17,31,.14)),var(--card-art);background-position:center;background-size:cover}
.invitation-template-visual.has-art:before{border-color:rgba(255,255,255,.28);box-shadow:0 0 0 60px rgba(255,255,255,.04),0 0 0 120px rgba(255,255,255,.03)}
.invitation-template-visual.has-art>div{width:72%;min-height:76%;border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.13);box-shadow:0 25px 65px rgba(7,17,31,.25);backdrop-filter:blur(1.5px);text-shadow:0 1px 9px rgba(255,255,255,.75)}
.invitation-template-visual.has-art em{display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:99px;background:rgba(255,255,255,.88);box-shadow:0 6px 18px rgba(7,17,31,.14);text-shadow:none}.invitation-template-visual.has-art em strong{display:grid;place-items:center;width:21px;height:21px;padding-right:1px;border-radius:50%;background:var(--card-accent);color:#fff;font:700 .55rem Arial}
.invitation-experience-inner{min-height:560px;padding-block:82px}

/* Invitation gallery — isolated namespace, no shared catalog selectors. */
.invitation-gallery-hero{color:#fff;background:radial-gradient(circle at 13% 10%,rgba(228,70,58,.2),transparent 28%),#101a2e}
.invitation-gallery-hero__inner{width:var(--container);min-height:410px;display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:end;gap:70px;margin-inline:auto;padding:54px 0 58px}
.invitation-gallery-hero__inner>.site-breadcrumb{grid-column:1/-1;align-self:start;margin:0}
.invitation-gallery-hero__copy h1{max-width:680px;margin:12px 0 18px;font-size:clamp(2.65rem,5.2vw,5rem);line-height:1.03;letter-spacing:-.05em}
.invitation-gallery-hero__copy h1 em{color:#ff6c65;font-style:normal}.invitation-gallery-hero__copy p{max-width:650px;margin:0;color:#c8d0dc;font-size:.96rem}
.invitation-gallery-hero__stat{display:grid;gap:5px;padding:18px 24px;border-right:1px solid rgba(255,255,255,.17)}
.invitation-gallery-hero__stat b{color:#ff6159;font-size:3.8rem;line-height:1}.invitation-gallery-hero__stat span{font-weight:900}.invitation-gallery-hero__stat small{color:#9da8b8;font-size:.73rem}
.invitation-gallery-shell{width:var(--container);display:grid;grid-template-columns:240px minmax(0,1fr);align-items:start;gap:30px;margin-inline:auto;padding:48px 0 90px}
.invitation-gallery-filters{position:sticky;top:94px;padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}
.invitation-gallery-filters__head{display:flex;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.invitation-gallery-filters__head{list-style:none;cursor:default}.invitation-gallery-filters__head::-webkit-details-marker{display:none}.invitation-gallery-filters__head>i{display:none;color:var(--red-500);font-style:normal}
.invitation-gallery-filters__head div{display:grid}.invitation-gallery-filters__head span{color:var(--red-500);font-size:.68rem;font-weight:850}.invitation-gallery-filters__head b{font-size:1rem}.invitation-gallery-filters__head a{color:var(--red-600);font-size:.7rem}
.invitation-gallery-filters form{display:grid;gap:13px;margin-top:15px}.invitation-gallery-filters label{display:grid;gap:6px;font-size:.72rem;font-weight:800}
.invitation-gallery-filters input,.invitation-gallery-filters select{width:100%;height:43px;padding:0 11px;border:1px solid #d9dce2;border-radius:10px;color:var(--ink);background:#faf9f6;font:inherit}
.invitation-gallery-results{min-width:0}.invitation-gallery-chips{display:flex;gap:8px;overflow:auto;padding:0 0 18px;scrollbar-width:thin}
.invitation-gallery-chips a{display:flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:.72rem;font-weight:800;white-space:nowrap}
.invitation-gallery-chips a.active{color:#fff;border-color:var(--navy-900);background:var(--navy-900)}.invitation-gallery-chips i{width:8px;height:8px;border-radius:50%;background:var(--category-color)}
.invitation-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.invitation-gallery-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 32px rgba(7,17,31,.06);transition:transform .28s,box-shadow .28s}
.invitation-gallery-card:hover{transform:translateY(-5px);box-shadow:0 22px 55px rgba(7,17,31,.12)}
.invitation-gallery-preview{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;background:linear-gradient(145deg,#ede5da,#d8c8b7)}
.invitation-gallery-badge,.invitation-gallery-motion-label{position:absolute;z-index:8;top:13px;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 5px 16px rgba(7,17,31,.12);font-size:.6rem;font-weight:900}
.invitation-gallery-badge{right:13px;color:var(--red-600)}.invitation-gallery-motion-label{left:13px;color:#445066}
.invitation-gallery-card__body{display:grid;gap:5px;padding:15px 16px 16px}.invitation-gallery-card__body>small{color:var(--red-600);font-size:.63rem;font-weight:800}
.invitation-gallery-card__body h2{margin:0;font-size:1rem}.invitation-gallery-card__body>div{display:flex;justify-content:space-between;gap:10px;margin-top:5px;padding-top:11px;border-top:1px solid var(--line)}
.invitation-gallery-card__body>div a{color:#657084;font-size:.67rem;font-weight:800}.invitation-gallery-card__body>div a.primary{color:var(--red-600)}
.invitation-gallery-empty{padding:65px 24px;border:1px solid var(--line);border-radius:20px;background:#fff;text-align:center}.invitation-gallery-empty>span{color:var(--red-500);font-size:2.8rem}.invitation-gallery-empty h2{font-size:1.7rem}.invitation-gallery-empty p{color:var(--muted)}

.invitation-motion{position:relative;width:100%;height:100%;overflow:hidden;cursor:pointer;isolation:isolate}
.invitation-motion__envelope{position:absolute;z-index:1;right:7%;bottom:5%;width:86%;height:58%;border-radius:8px;background:linear-gradient(145deg,#bfa98e,#eadbca);filter:drop-shadow(0 18px 20px rgba(38,30,24,.2));transform:translateY(3%)}
.invitation-motion__envelope:before,.invitation-motion__envelope:after{position:absolute;inset:auto 0 0;content:"";width:0;height:0;border-style:solid}
.invitation-motion__envelope:before{z-index:2;border-width:0 0 155px 210px;border-color:transparent transparent #d8c5ae transparent}.invitation-motion__envelope:after{z-index:3;right:auto;border-width:155px 0 0 210px;border-color:transparent transparent transparent #e4d4c0}
.invitation-motion__envelope i{position:absolute;z-index:1;top:0;right:0;width:100%;height:100%;background:#c9b399;clip-path:polygon(0 0,100% 0,50% 62%);transform-origin:top;animation:atlas-envelope-flap 7s ease-in-out infinite}
.invitation-motion__envelope b{position:absolute;z-index:5;right:44%;bottom:23%;width:34px;height:34px;border-radius:50%;background:#a7292d;box-shadow:inset 0 0 0 5px rgba(255,255,255,.12)}
.invitation-motion__card{position:absolute;z-index:2;right:21%;top:12%;width:58%;height:72%;overflow:hidden;border:6px solid rgba(255,255,255,.92);border-radius:4px;background:#fff;box-shadow:0 18px 38px rgba(16,26,46,.24);animation:atlas-card-reveal 7s cubic-bezier(.4,0,.2,1) infinite}
.invitation-motion__card>[data-template-preview]{width:100%;height:100%;position:relative;overflow:hidden;isolation:isolate}
.invitation-motion__card video{position:absolute;z-index:3;inset:0;width:100%;height:100%;object-fit:cover;background:#101a2e}
.invitation-motion .designer-element{position:absolute;display:flex;align-items:center;justify-content:center;box-sizing:border-box;overflow:hidden;line-height:1.45;white-space:pre-wrap}.invitation-motion .designer-element.is-image img{width:100%;height:100%;object-fit:cover}
.invitation-motion__shine{position:absolute;z-index:6;inset:-30% auto -30% -38%;width:26%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.52),transparent);transform:rotate(17deg);animation:atlas-card-shine 7s ease-in-out infinite;pointer-events:none}
.invitation-motion.is-paused *{animation-play-state:paused!important}
@keyframes atlas-card-reveal{0%,9%{transform:translateY(30%) rotate(1deg)}28%,70%{transform:translateY(-5%) rotate(-1deg)}88%,100%{transform:translateY(30%) rotate(1deg)}}
@keyframes atlas-envelope-flap{0%,12%,88%,100%{transform:rotateX(0)}25%,75%{transform:rotateX(165deg)}}
@keyframes atlas-card-shine{0%,25%{transform:translateX(0) rotate(17deg);opacity:0}40%{opacity:1}58%,100%{transform:translateX(620%) rotate(17deg);opacity:0}}

.invitation-template-detail{padding:48px max(24px,calc((100vw - 1200px)/2)) 80px;background:#f6f1e9}
.invitation-template-detail__grid{direction:ltr;display:grid;grid-template-columns:minmax(420px,.95fr) minmax(0,1.05fr);align-items:center;gap:clamp(45px,7vw,85px)}
.invitation-template-detail__stage,.invitation-template-detail__copy{direction:rtl}.invitation-template-detail__stage{display:grid;gap:14px;padding:32px;border-radius:24px;background:#e7ddd0}
.invitation-motion--detail{min-height:580px;border-radius:14px;background:linear-gradient(145deg,#d9c7b2,#f2e9dd)}
.invitation-motion--detail .invitation-motion__card{right:25%;top:8%;width:50%;height:78%}
.invitation-template-detail__stage-note{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:9px}.invitation-template-detail__stage-note .is-live{grid-row:1/3;width:9px;height:9px;border-radius:50%;background:#19a56d;box-shadow:0 0 0 5px rgba(25,165,109,.12)}
.invitation-template-detail__stage-note b{font-size:.72rem}.invitation-template-detail__stage-note small{color:var(--muted);font-size:.63rem}
.invitation-template-detail__copy h1{margin:10px 0 16px;font-size:clamp(2.5rem,4.5vw,4.4rem);line-height:1.08;letter-spacing:-.045em}.invitation-template-detail__copy>p{max-width:620px;color:var(--muted);font-size:.96rem}
.invitation-template-meta{display:grid;grid-template-columns:repeat(3,1fr);margin:24px 0;border-block:1px solid #d8d0c5}.invitation-template-meta span{display:grid;gap:3px;padding:16px 0}.invitation-template-meta small{color:var(--muted);font-size:.68rem}.invitation-template-meta b{font-size:.9rem}
.invitation-template-features h2{font-size:1.1rem}.invitation-template-features>div{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.invitation-template-features span{display:flex;gap:7px;color:#4e586a;font-size:.75rem}.invitation-template-features i{color:var(--red-500);font-style:normal;font-weight:900}
.invitation-template-actions{display:flex;gap:10px;margin-top:28px}.invitation-template-note{display:block;margin-top:13px;color:var(--muted);font-size:.68rem}.invitation-template-related{background:#fff}.invitation-gallery-grid.is-related{grid-template-columns:repeat(4,1fr)}

.invitation-motion__envelope:before,.invitation-motion__envelope:after{inset:0;width:100%;height:100%;border:0}
.invitation-motion__envelope:before{background:#d8c5ae;clip-path:polygon(0 0,50% 58%,100% 0,100% 100%,0 100%)}
.invitation-motion__envelope:after{right:0;background:#e6d7c4;clip-path:polygon(0 100%,50% 45%,100% 100%)}

@media(max-width:1100px){
 .invitation-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .invitation-gallery-grid.is-related{grid-template-columns:repeat(3,1fr)}
 .home-hero{grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr)}
 .home-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-footer-grid{grid-template-columns:1.2fr repeat(2,1fr)}
}

@media(max-width:900px){
 :root{--container:min(760px,calc(100vw - 32px));--atlas-section:64px;--atlas-display:clamp(2.35rem,7vw,3.7rem)}
 .site-header-inner{min-height:70px}.site-menu-toggle{display:grid}
 .site-page-hero,.site-page-hero.catalog-hero{padding-block:52px 44px}
 .site-page-hero.catalog-hero::after{flex-basis:170px;height:145px;font-size:2.7rem}
 .home-hero,.product-detail-hero,.ai-design-hero,.invitation-landing-hero{grid-template-columns:1fr;padding:52px 24px 60px}
 .home-hero-media{min-height:440px}.product-detail-art,.product-detail-art>img{min-height:390px}
 .product-configurator,.product-order-layout,.cart-layout,.checkout-layout{grid-template-columns:1fr}
 .product-configurator,.product-order-layout{padding-block:58px}
 .product-summary,.product-order-summary,.cart-summary,.checkout-summary{position:static}
 .order-product-head{padding-inline:24px}.order-product-head__grid{grid-template-columns:1fr;gap:28px}
 .editorial-hero,.portfolio-hero,.contact-hero,.content-page-hero{min-height:auto;padding:56px 24px 62px}
 .customer-auth-layout{grid-template-columns:1fr}.customer-auth-art{min-height:auto}
 .home-invitation-feature,.home-ai-studio{grid-template-columns:1fr}
 .invitation-hero-stage{min-height:500px}
 .invitation-gallery-hero__inner{min-height:360px;grid-template-columns:1fr 190px;gap:36px;padding:42px 0 48px}
 .invitation-gallery-shell{grid-template-columns:1fr;padding-top:28px}
 .invitation-gallery-filters{position:static}.invitation-gallery-filters__head{padding-bottom:0;border-bottom:0;cursor:pointer}.invitation-gallery-filters[open] .invitation-gallery-filters__head{padding-bottom:14px;border-bottom:1px solid var(--line)}.invitation-gallery-filters__head>i{display:block}.invitation-gallery-filters[open] .invitation-gallery-filters__head>i{transform:rotate(180deg)}
 .invitation-gallery-filters form{grid-template-columns:repeat(2,minmax(0,1fr))}
 .invitation-gallery-filters button{align-self:end}
 .invitation-template-detail__grid{grid-template-columns:1fr;gap:38px}
 .invitation-template-detail__stage{width:min(100%,620px);margin-inline:auto}
 .invitation-motion--detail{min-height:560px}
 .invitation-gallery-grid.is-related{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:700px){
 :root{--container:calc(100vw - 30px);--atlas-section:54px;--atlas-display:clamp(2.15rem,10vw,3.15rem);--atlas-hero:clamp(2.1rem,9vw,3rem);--atlas-section-title:clamp(1.65rem,7vw,2.35rem)}
 body{font-size:14.5px}
 .site-announcement{padding-inline:14px}.site-announcement>div>span{display:none}
 .site-header-inner{gap:12px}.site-brand-copy small,.header-order-link{display:none}
 .site-account-link>span,.site-cart-link>b{font-size:1rem}.site-cart-link>span{display:none}
 .site-page-hero,.site-page-hero.catalog-hero{display:block;padding-block:44px 38px}
 .site-page-hero.catalog-hero::after{display:none}
 .site-page-hero h1,.site-page-hero.catalog-hero h1{margin-bottom:12px}
 .section-heading,.section-heading.split{align-items:start;flex-direction:column;gap:14px;margin-bottom:28px}
 .site-footer-cta{align-items:start;flex-direction:column;gap:26px;padding-block:50px}
 .site-footer-grid{grid-template-columns:1fr 1fr;gap:30px 22px;padding-block:45px}
 .site-footer-brand{grid-column:1/-1}.site-footer-bottom{align-items:start;flex-direction:column;gap:8px}
 .home-hero,.product-detail-hero,.ai-design-hero,.invitation-landing-hero{gap:36px;padding:44px 15px 52px}
 .home-hero{min-height:auto}.home-hero-media{min-height:360px;border-radius:3px 3px 45px 3px}
 .hero-proof{gap:16px;margin-top:30px}
 .home-contact-banner,.home-invitation-feature,.home-ai-studio{min-height:auto;margin-block:24px 54px;padding:28px 22px;border-radius:22px}
 .home-service-grid{grid-template-columns:1fr}.home-service-card{min-height:300px}
 .product-detail-art,.product-detail-art>img{min-height:330px}
 .product-detail-facts{gap:15px;margin-top:28px}.product-configurator{gap:26px}
 .order-product-head{padding:34px 15px 38px}.order-product-head__facts{grid-template-columns:1fr}.order-product-head__facts span{border-left:0;border-bottom:1px solid rgba(255,255,255,.1)}.order-product-head__facts span:last-child{border-bottom:0}
 .product-order-layout{padding-block:36px 60px}.product-order-title{align-items:start;flex-direction:column;gap:8px}.product-order-title p{text-align:right}
 .order-field-grid{grid-template-columns:1fr}.order-service-list,.order-file-modes{grid-template-columns:1fr}
 .cart-page,.checkout-page{padding-block:45px 65px}.cart-item-card{grid-template-columns:1fr}.cart-item-visual{width:100%;height:190px}
 .checkout-form-card{padding:22px}.checkout-layout{gap:24px}
 .editorial-hero,.portfolio-hero,.contact-hero,.content-page-hero{padding:48px 15px 54px}
 .portfolio-grid,.article-grid{grid-template-columns:1fr}
 .customer-auth-art,.customer-auth-card{padding:35px 22px}
 .invitation-landing-proof{grid-template-columns:1fr}.invitation-landing-proof>span+span{padding-right:0;border-right:0;border-top:1px solid rgba(255,255,255,.13)}
 .invitation-hero-stage{min-height:430px}.invitation-device--front{right:14%;width:58%;height:420px}.invitation-device--back{height:340px}
 .invitation-flow-strip{grid-template-columns:1fr}.invitation-flow-strip>div+div{border-right:0}
 .invitation-public-template-grid{grid-template-columns:1fr}.invitation-template-visual,.invitation-template-envelope{height:370px}
 .invitation-experience-inner{grid-template-columns:1fr;padding-block:60px}.invitation-final-cta{align-items:start;flex-direction:column}
 .invitation-gallery-hero__inner{min-height:auto;grid-template-columns:1fr;gap:28px;padding:36px 0 42px}.invitation-gallery-hero__copy h1{font-size:clamp(2.4rem,12vw,3.5rem)}.invitation-gallery-hero__stat{grid-template-columns:auto 1fr;padding:14px 0;border-top:1px solid rgba(255,255,255,.16);border-right:0}.invitation-gallery-hero__stat b{grid-row:1/3;font-size:3rem}.invitation-gallery-hero__stat small{align-self:start}
 .invitation-gallery-filters form{grid-template-columns:1fr 1fr}.invitation-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.invitation-gallery-card{border-radius:14px}.invitation-gallery-card__body{padding:13px}.invitation-gallery-card__body>div{align-items:start;flex-direction:column}
 .invitation-gallery-badge,.invitation-gallery-motion-label{top:9px;padding:4px 7px}.invitation-gallery-badge{right:9px}.invitation-gallery-motion-label{left:9px}
 .invitation-template-detail{padding:34px 15px 58px}.invitation-template-detail__stage{padding:18px}.invitation-motion--detail{min-height:500px}.invitation-template-detail__copy h1{font-size:clamp(2.2rem,10vw,3.3rem)}
}

@media(max-width:480px){
 :root{--container:calc(100vw - 24px)}
 .site-brand-mark{width:42px;height:42px}.site-account-link,.site-cart-link{min-width:40px;min-height:40px;padding:7px 10px}
 .site-form-row,.form-grid{grid-template-columns:1fr}
 .home-hero-media{min-height:300px}.hero-actions,.invitation-landing-actions{display:grid}.hero-actions .site-button,.invitation-landing-actions .site-button{width:100%}
 .home-service-grid,.portfolio-grid,.article-grid{grid-template-columns:1fr}
 .invitation-gallery-filters form{grid-template-columns:1fr}
 .invitation-gallery-grid,.invitation-gallery-grid.is-related{grid-template-columns:1fr}
 .invitation-gallery-preview{aspect-ratio:5/6}.invitation-motion__card{right:25%;width:50%}
 .invitation-motion--detail{min-height:420px}.invitation-motion--detail .invitation-motion__card{right:22%;width:56%}
 .invitation-template-meta{grid-template-columns:1fr 1fr}.invitation-template-meta span:last-child{grid-column:1/-1}
 .invitation-template-features>div{grid-template-columns:1fr}.invitation-template-actions{display:grid}.invitation-template-actions .site-button{width:100%}
}
