/* Shared by the front end and the block editor. */
:root{--sm-ink:var(--wp--preset--color--ink);--sm-orange:var(--wp--preset--color--orange);--sm-paper:var(--wp--preset--color--paper);--sm-muted:var(--wp--preset--color--muted,#b9c1cc);--sm-panel:var(--wp--preset--color--panel);--sm-line:color-mix(in srgb,var(--sm-muted) 22%,transparent)}
html{scroll-behavior:smooth;scroll-padding-top:2rem}
body{margin:0}
.wp-site-blocks{padding:0}
.wp-site-blocks>*,.sm-main>*,.sm-header-inner>*,.sm-hero-grid>*,.sm-grid>*,.sm-shell>*{margin-block-start:0}
.sm-shell{box-sizing:border-box;width:calc(100% - 96px);max-width:1280px;margin-inline:auto!important}
.sm-header{border-bottom:1px solid var(--sm-line)}
.sm-header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:100px;padding-block:22px}
.sm-logo{width:200px;flex-shrink:0;margin:0;line-height:0}
.sm-logo img{width:100%;height:auto;display:block}
.sm-header .wp-block-buttons{flex-shrink:0}
.sm-nav{font-size:.875rem;font-weight:600;margin:0}
.sm-nav .wp-block-navigation__container{gap:22px}
.sm-nav a{text-decoration:none}
.sm-nav a:hover{text-decoration:underline;text-underline-offset:5px}
.sm-nav .wp-block-navigation__responsive-container.is-menu-open{background:var(--sm-ink)!important;color:var(--sm-paper)!important;padding:32px}
.sm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{gap:24px;font-size:1.2rem;align-items:flex-start}
.sm-main{margin:0}
.sm-hero{padding-block:56px 76px;overflow:hidden}
.sm-hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center}
.sm-eyebrow{font-size:.8125rem;letter-spacing:.13em;font-weight:700;line-height:1.5;margin:0 0 26px;text-transform:uppercase;color:var(--sm-orange)}
.sm-hero h1{font-size:clamp(2.65rem,4.4vw,4.65rem);line-height:1.03;letter-spacing:-.05em;margin:0 0 28px;font-weight:700}
.sm-hero h1 em{font-style:normal;color:var(--sm-orange)}
.sm-lead{max-width:520px;color:var(--sm-muted);margin:0 0 30px;font-size:1.125rem;line-height:1.7}
.wp-block-buttons{gap:12px}
.wp-block-button__link{text-decoration:none;box-sizing:border-box;transition:background .18s ease,color .18s ease}
.wp-block-button.is-style-outline .wp-block-button__link{border-width:2px;border-style:solid;background:transparent;color:inherit;border-color:currentColor}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover{border:1px solid var(--sm-orange);background:var(--sm-paper);color:var(--sm-ink);border-color:var(--sm-orange);transform:translateY(-2px);box-shadow:0 10px 28px rgba(252,92,10,.34)}
.wp-block-button.is-style-outline .wp-block-button__link:hover{background:var(--sm-paper);color:var(--sm-ink);border-color:var(--sm-paper);transform:translateY(-2px)}
.sm-meta{font-size:.8125rem;line-height:1.65;color:var(--sm-muted);margin-top:22px}
.sm-hero-photo{margin:0;position:relative}
.sm-hero-photo img{height:610px;max-height:68vh;min-height:420px;width:100%;object-fit:cover;object-position:60% center;display:block;border-radius:2px}
.sm-hero-photo figcaption{margin:10px 0 0}
.sm-section{padding-block:88px;border-top:1px solid var(--sm-line)}
.sm-section h2{max-width:1000px;margin:0 0 34px;font-size:clamp(2rem,3.4vw,3.45rem);line-height:1.12;letter-spacing:-.04em}
.sm-intro{font-size:1.2rem;line-height:1.7;color:var(--sm-muted);max-width:820px;margin:0 0 40px}
.sm-grid{display:grid;gap:28px}
.sm-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.sm-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.sm-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.sm-facts{margin-top:50px!important;border-top:1px solid var(--sm-line);padding-top:30px;gap:32px}
.sm-fact h3{font-size:2rem;line-height:1.15;margin:0 0 8px}
.sm-fact p{font-size:.9375rem;color:var(--sm-muted);margin:0}
.sm-card{border-top:1px solid var(--sm-line);padding:24px 0 0}
.sm-card h3,.sm-split h3{font-size:1.375rem;margin:0 0 12px;line-height:1.2;letter-spacing:-.025em}
.sm-card p{font-size:1rem;line-height:1.7;color:var(--sm-muted);margin:0}
.sm-card .sm-index{color:var(--sm-orange);font-size:.8125rem;font-weight:700;letter-spacing:.08em;margin-bottom:25px}
.sm-light{--sm-line:color-mix(in srgb,var(--sm-ink) 22%,transparent);--sm-muted:color-mix(in srgb,var(--sm-ink) 72%,var(--sm-paper))}
.sm-light .sm-eyebrow,.sm-light .sm-index{color:color-mix(in srgb,var(--sm-orange) 65%,var(--sm-ink))}
.sm-formats{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:42px}
.sm-split{align-items:center;gap:64px}
.sm-split>figure{margin:0}
.sm-split>figure img{width:100%;height:auto;aspect-ratio:1.12;object-fit:cover;border-radius:2px;display:block}
.sm-split p{color:var(--sm-muted);margin:0 0 24px}
.sm-split .sm-intro{font-size:1.2rem}
.sm-service-list{border-left:2px solid var(--sm-orange);padding-left:25px}
.sm-service-list h3{margin-top:24px}
.sm-service-list h3:first-child{margin-top:0}
.sm-service-list p:last-child{margin-bottom:0}
figure.wp-block-image figcaption{font-size:.8125rem;color:var(--sm-muted);line-height:1.5;margin-top:12px;text-align:left}
.sm-agency{margin-top:60px!important;padding:36px 40px;border-left:4px solid var(--sm-orange)}
.sm-agency .sm-eyebrow{color:var(--sm-orange);margin-bottom:12px}
.sm-agency h3{font-size:1.8rem;margin:0 0 16px;letter-spacing:-.035em}
.sm-agency p:not(.sm-eyebrow){max-width:850px;color:var(--sm-muted);margin:0 0 25px}
.sm-gallery{gap:24px}
.sm-gallery figure{margin:0}
.sm-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.sm-note{font-size:.9375rem;line-height:1.7;color:var(--sm-muted);max-width:1000px;margin:35px 0 0}
.sm-experience{--sm-muted:color-mix(in srgb,var(--sm-ink) 90%,var(--sm-paper))}
.sm-experience .sm-eyebrow{color:var(--sm-ink)}
.sm-experience .sm-intro{margin-bottom:0}
.sm-faq{max-width:960px}
.sm-faq details{border-top:1px solid var(--sm-line);margin:0;padding:21px 0}
.sm-faq details:last-child{border-bottom:1px solid var(--sm-line)}
.sm-faq summary{font-size:1.125rem;font-weight:700;cursor:pointer;line-height:1.5;padding-right:12px}
.sm-faq details p{margin:18px 0 0;color:var(--sm-muted);max-width:850px;font-size:1rem}
.sm-contact h2{max-width:830px}
.sm-contact .sm-intro{max-width:760px}
.sm-contact .sm-note{max-width:650px}
.sm-footer{border-top:1px solid var(--sm-line);padding:44px 0}
.sm-footer .sm-logo{width:175px;margin-bottom:25px}
.sm-footer p{margin:8px 0}
.sm-page{padding-block:70px;min-height:50vh}
.sm-page h1{font-size:clamp(2.5rem,5vw,4rem)}
:where(a,button,summary,input,textarea):focus-visible{outline:3px solid var(--sm-orange);outline-offset:5px}
.sm-light :where(a,button,summary):focus-visible,.sm-experience :where(a,button,summary):focus-visible{outline-color:var(--sm-ink)}
.sm-grid>*{min-width:0}
.sm-shell{overflow-wrap:break-word}
@media(min-width:1440px){.sm-hero{padding-top:72px}.sm-hero-photo img{height:660px}}
@media(max-width:1150px){.sm-header-inner>.wp-block-buttons{display:none}.sm-shell{width:calc(100% - 64px)}.sm-hero-grid{gap:32px}.sm-hero-photo img{height:550px}.sm-split{gap:35px}.sm-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.sm-header-inner{gap:20px;flex-wrap:wrap}.sm-logo{width:180px}.sm-nav .wp-block-navigation__container{gap:15px}.sm-hero-grid{grid-template-columns:1fr}.sm-hero-copy{max-width:700px}.sm-hero h1{font-size:clamp(2.8rem,7vw,4.5rem)}.sm-hero-photo img{height:420px;min-height:0;object-position:center 40%}.sm-two{grid-template-columns:1fr}.sm-three,.sm-formats{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-split{gap:30px}.sm-split>figure img{aspect-ratio:16/10}.sm-gallery{grid-template-columns:1fr 1fr}.sm-gallery figure:last-child{grid-column:1/-1}.sm-gallery figure:last-child img{aspect-ratio:2}.sm-section{padding-block:65px}}
@media(max-width:600px){.sm-shell{width:calc(100% - 40px)}.sm-header-inner{min-height:80px;padding-block:18px}.sm-logo{width:170px}.sm-hero{padding:36px 0 44px}.sm-hero h1{font-size:2.65rem;letter-spacing:-.045em}.sm-eyebrow{font-size:.75rem;margin-bottom:20px;letter-spacing:.1em}.sm-lead,.sm-intro{font-size:1.0625rem}.sm-hero-photo img{height:340px;max-height:none}.sm-hero-grid{gap:32px}.sm-section{padding-block:50px}.sm-section h2{font-size:2rem;margin-bottom:28px}.sm-three,.sm-four,.sm-formats,.sm-gallery{grid-template-columns:1fr}.sm-grid{gap:28px}.sm-gallery figure:last-child{grid-column:auto}.sm-gallery figure:last-child img{aspect-ratio:4/3}.sm-facts{gap:25px}.sm-fact h3{font-size:1.65rem}.sm-facts .sm-fact{padding-bottom:20px;border-bottom:1px solid var(--sm-line)}.sm-card{padding-top:20px}.sm-card .sm-index{margin-bottom:14px}.sm-agency{padding:28px 22px;margin-top:40px!important}.sm-agency h3{font-size:1.6rem}.sm-hero .wp-block-buttons,.sm-contact .wp-block-buttons{display:flex;flex-direction:column;align-items:stretch}.sm-hero .wp-block-button,.sm-contact .wp-block-button{width:100%}.sm-hero .wp-block-button__link,.sm-contact .wp-block-button__link{display:block}.sm-faq summary{font-size:1.0625rem}.sm-footer{padding-block:32px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
/* Allow selecting/reordering every native block in the editor. */
.editor-styles-wrapper .sm-hero{overflow:visible}

/* Version 0.2: new sections; existing spacing and tracking rules are retained. */
.sm-offers .sm-card{display:flex;flex-direction:column;gap:24px}
.sm-offers .sm-card>.wp-block-buttons{margin-top:auto}
.sm-offer-photo img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.sm-offer-photo{margin:0}
.sm-offers .sm-eyebrow{margin-bottom:0}
.sm-section>.sm-shell>.wp-block-buttons{margin-top:30px}
.sm-card>.wp-block-buttons{margin-top:24px}
/* These were H1 blocks in the user's export. Preserve their size after semantic correction. */
.sm-card h3.sm-preserved-card-heading{font-size:2em;line-height:1.12;margin-block:0 1.3rem;letter-spacing:-.035em}


/* Version 0.3: homepage composition, button hierarchy and responsive parallax. */
.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:56px;text-align:center;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
:is(.sm-home-cover,.sm-video-cover){isolation:isolate;box-sizing:border-box;overflow:hidden;min-height:clamp(720px,calc(100svh - 100px),880px)!important;padding-block:clamp(68px,8vw,104px)}
:is(.sm-home-cover,.sm-video-cover) .wp-block-cover__inner-container{width:100%;max-width:none}
:is(.sm-home-cover,.sm-video-cover) .sm-shell{width:calc(100% - 96px);max-width:1280px}
:is(.sm-home-cover,.sm-video-cover) .sm-hero-grid{display:grid!important;grid-template-columns:minmax(0,620px) minmax(280px,1fr);gap:clamp(40px,6vw,100px)!important;align-items:center}
:is(.sm-home-cover,.sm-video-cover) .sm-hero-copy{position:relative;z-index:2;max-width:620px}
:is(.sm-home-cover,.sm-video-cover) h1{max-width:760px;font-size:clamp(3.15rem,5.1vw,5.1rem);line-height:.99;letter-spacing:-.022em;text-wrap:balance}
:is(.sm-home-cover,.sm-video-cover) .sm-lead{max-width:590px}
:is(.sm-home-cover,.sm-video-cover) .wp-block-buttons,.sm-contact .wp-block-buttons{display:flex!important;flex-wrap:wrap!important;align-items:stretch;gap:12px!important}
:is(.sm-home-cover,.sm-video-cover) .wp-block-button,.sm-contact .wp-block-button,.sm-offers .wp-block-button{width:auto!important}
:is(.sm-home-cover,.sm-video-cover) .wp-block-button__link{min-width:218px}
.sm-contact .wp-block-button__link{min-width:270px}
:is(.sm-home-cover,.sm-video-cover) .wp-block-cover__image-background{background-attachment:scroll!important;top:-12%!important;right:0!important;bottom:auto!important;left:0!important;width:100%!important;height:124%!important;object-fit:cover;transform:translate3d(0,var(--sm-parallax-y,0px),0) scale(1.035);transform-origin:center center;will-change:transform}
.sm-section h2,.sm-card h3,.sm-split h3,.sm-fact h3{letter-spacing:-.018em}
.sm-offers{gap:24px!important}
.sm-offers .sm-card{min-height:430px;padding:34px;border:1px solid rgba(15,21,30,.16);border-top:3px solid rgba(15,21,30,.26);background:rgba(255,255,255,.42);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.sm-offers .sm-card:hover{transform:translateY(-4px);border-color:var(--sm-orange);box-shadow:0 18px 45px rgba(252,92,10,.22)}
.sm-offers .sm-card>.wp-block-buttons{align-items:flex-start}
.sm-offers .wp-block-button__link{min-width:250px}
.sm-split{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(44px,6vw,80px)!important;align-items:center}
.sm-split>figure{overflow:hidden;border:1px solid var(--sm-line);background:#fff}
.sm-split>figure img{aspect-ratio:4/3}
.sm-contact .sm-intro{margin-bottom:34px}
.sm-contact .sm-note{margin-top:26px}
.editor-styles-wrapper :is(.sm-home-cover,.sm-video-cover) .wp-block-cover__image-background{top:0!important;height:100%!important;transform:none!important;will-change:auto}
@media(max-width:850px){
  :is(.sm-home-cover,.sm-video-cover){min-height:auto!important;padding-block:68px}
  :is(.sm-home-cover,.sm-video-cover) .sm-shell{width:calc(100% - 64px)}
  :is(.sm-home-cover,.sm-video-cover) .sm-hero-grid,.sm-split{grid-template-columns:1fr!important}
  :is(.sm-home-cover,.sm-video-cover) .sm-hero-grid{gap:0!important}
  :is(.sm-home-cover,.sm-video-cover) .sm-hero-grid>.wp-block-column:last-child{display:none}
  :is(.sm-home-cover,.sm-video-cover) h1{max-width:720px;font-size:clamp(3rem,8vw,4.7rem)}
  :is(.sm-home-cover,.sm-video-cover) .wp-block-cover__image-background{top:-10%!important;height:120%!important}
  .sm-offers .sm-card{min-height:0}
}
@media(max-width:600px){
  :is(.sm-home-cover,.sm-video-cover){padding-block:52px}
  :is(.sm-home-cover,.sm-video-cover) .sm-shell{width:calc(100% - 40px)}
  :is(.sm-home-cover,.sm-video-cover) h1{font-size:clamp(2.65rem,12.5vw,3.65rem);line-height:1.01}
  :is(.sm-home-cover,.sm-video-cover) .wp-block-buttons,.sm-contact .wp-block-buttons{flex-direction:column;align-items:stretch}
  :is(.sm-home-cover,.sm-video-cover) .wp-block-button,.sm-contact .wp-block-button{width:100%!important}
  :is(.sm-home-cover,.sm-video-cover) .wp-block-button__link,.sm-contact .wp-block-button__link{display:flex;width:100%;min-width:0}
  .sm-offers .sm-card{padding:26px 22px}
  .sm-offers .wp-block-button,.sm-offers .wp-block-button__link{width:100%!important;min-width:0}
}
@media(prefers-reduced-motion:reduce){
  :is(.sm-home-cover,.sm-video-cover) .wp-block-cover__image-background{top:0!important;height:100%!important;transform:none!important;will-change:auto}
  .sm-offers .sm-card:hover,.wp-block-button__link:hover{transform:none}
}


/* Fluid-width safeguards: prevent oversized headings and split words. */
.wp-block-column{min-width:0}
:is(.sm-home-cover,.sm-video-cover) h1,.sm-section h2,.sm-card h3,.sm-split h3,.sm-fact h3{overflow-wrap:normal;word-break:normal;hyphens:none}
.sm-lead,.sm-intro,.sm-card p{text-wrap:pretty}
@media(max-width:980px){
  :is(.sm-home-cover,.sm-video-cover){min-height:auto!important;padding-block:68px}
  :is(.sm-home-cover,.sm-video-cover) .sm-shell{width:calc(100% - 64px)}
  :is(.sm-home-cover,.sm-video-cover) .sm-hero-grid{grid-template-columns:1fr!important;gap:0!important}
  :is(.sm-home-cover,.sm-video-cover) .sm-hero-grid>.wp-block-column:last-child{display:none}
  :is(.sm-home-cover,.sm-video-cover) h1{max-width:780px;font-size:clamp(2.85rem,7vw,4.55rem);line-height:1.01}
}
@media(max-width:600px){
  :is(.sm-home-cover,.sm-video-cover) h1{font-size:clamp(2.25rem,10.8vw,3.45rem);line-height:1.04}
  .sm-section h2{font-size:clamp(1.85rem,8.5vw,2.5rem);line-height:1.12}
  .sm-card h3.sm-preserved-card-heading{font-size:clamp(1.65rem,7.5vw,2rem)}
}

/* WordPress Cover has a higher-specificity auto width on custom positions. */
:is(.sm-home-cover,.sm-video-cover).has-custom-content-position .wp-block-cover__inner-container{width:100%!important;max-width:none!important;box-sizing:border-box}


/* Container-query fallback keeps sections fluid inside split windows and the editor canvas. */
:is(.sm-home-cover,.sm-video-cover),.sm-section{container-type:inline-size}
@container (max-width:980px){
  :is(.sm-home-cover,.sm-video-cover) .sm-shell{width:calc(100% - 64px)}
  :is(.sm-home-cover,.sm-video-cover) .sm-hero-grid{grid-template-columns:1fr!important;gap:0!important}
  :is(.sm-home-cover,.sm-video-cover) .sm-hero-grid>.wp-block-column:last-child{display:none}
  :is(.sm-home-cover,.sm-video-cover) h1{max-width:780px;font-size:clamp(2.85rem,7cqw,4.55rem);line-height:1.01}
}
@container (max-width:850px){
  :is(.sm-home-cover,.sm-video-cover) .wp-block-cover__image-background{top:-10%!important;height:120%!important}
  .sm-section .sm-two,.sm-section .sm-split{grid-template-columns:1fr!important}
  .sm-section .sm-offers .sm-card{min-height:0}
}
@container (max-width:600px){
  :is(.sm-home-cover,.sm-video-cover) .sm-shell,.sm-section>.sm-shell{width:calc(100% - 40px)}
  :is(.sm-home-cover,.sm-video-cover) h1{font-size:clamp(2.25rem,10.8cqw,3.45rem);line-height:1.04}
  :is(.sm-home-cover,.sm-video-cover) .wp-block-buttons,.sm-section.sm-contact .wp-block-buttons{flex-direction:column;align-items:stretch}
  :is(.sm-home-cover,.sm-video-cover) .wp-block-button,.sm-section.sm-contact .wp-block-button{width:100%!important}
  :is(.sm-home-cover,.sm-video-cover) .wp-block-button__link,.sm-section.sm-contact .wp-block-button__link{display:flex;width:100%;min-width:0}
  .sm-section h2{font-size:clamp(1.85rem,8.5cqw,2.5rem);line-height:1.12}
  .sm-section .sm-three,.sm-section .sm-four{grid-template-columns:1fr}
  .sm-section .sm-offers .sm-card{padding:26px 22px}
  .sm-section .sm-offers .wp-block-button,.sm-section .sm-offers .wp-block-button__link{width:100%!important;min-width:0}
}


/* Version 0.4: continuous type scaling across split-screen widths. */
:is(.sm-home-cover,.sm-video-cover) h1{
  font-size:clamp(2.25rem,calc(1.5rem + 3.6cqw),5.1rem);
  line-height:1.02;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
.sm-section h2{
  font-size:clamp(1.85rem,calc(1.25rem + 2.6cqw),3.45rem);
  line-height:1.12;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  text-wrap:balance;
}

/* Optional image-only parallax without the hero layout. */
.sm-parallax{overflow:hidden}
.sm-parallax .wp-block-cover__image-background{background-attachment:scroll!important;top:-300px!important;right:0!important;bottom:auto!important;left:0!important;width:100%!important;height:calc(100% + 600px)!important;object-fit:cover;transform:translate3d(0,var(--sm-parallax-y,0px),0);will-change:transform}
@media(max-width:850px){.sm-parallax .wp-block-cover__image-background{top:-150px!important;height:calc(100% + 300px)!important}}
.editor-styles-wrapper .sm-parallax .wp-block-cover__image-background{top:0!important;height:100%!important;transform:none!important;will-change:auto}
@media(prefers-reduced-motion:reduce){.sm-parallax .wp-block-cover__image-background{top:0!important;height:100%!important;transform:none!important;will-change:auto}}

/* Service pages: typography and spacing aligned with the finished homepage. */
.sm-service-hero{container-type:inline-size;padding-block:clamp(56px,6vw,88px)}
.sm-service-hero h1{max-width:1100px;font-size:clamp(2.35rem,calc(1.5rem + 3.3cqw),4.7rem);line-height:1.05;letter-spacing:-.022em;text-wrap:balance;overflow-wrap:normal;word-break:normal;hyphens:none}
.sm-service-hero .sm-intro{max-width:820px;font-size:1.125rem}
.sm-service-hero .sm-meta{margin-bottom:0}
.sm-service-section .sm-card{padding-top:26px}
.sm-service-section .sm-card .sm-index{margin-bottom:18px}
.sm-service-section .sm-three{gap:32px}
.sm-service-section .sm-faq{max-width:100%}
.sm-service-section.sm-contact .sm-note+.sm-note{margin-top:14px}
@media(max-width:850px){.sm-service-section .sm-three{grid-template-columns:1fr;gap:30px}}
@media(max-width:600px){.sm-service-hero{padding-block:44px 54px}.sm-service-hero .sm-intro{font-size:1.0625rem}.sm-service-section.sm-light{border-radius:28px!important}.sm-service-hero h1{font-size:clamp(2.15rem,calc(1.3rem + 3.8cqw),3rem)}}

/* Explicit button sizing keeps the service hero compact at desktop widths. */
.sm-service-hero .wp-block-buttons{display:flex!important;flex-flow:row wrap;align-items:center;gap:12px!important}
.sm-service-hero .wp-block-button,.sm-service-hero .wp-block-button__link{width:auto!important}
@container(max-width:600px){.sm-service-hero .wp-block-buttons{flex-direction:column;align-items:stretch}.sm-service-hero .wp-block-button,.sm-service-hero .wp-block-button__link{width:100%!important}.sm-service-section.sm-light{border-radius:28px!important}}

/* Contact form: shared with the editor and aligned with native theme colors. */
.sm-contact-form{max-width:960px}
.sm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.sm-form-grid>p{display:contents}.sm-form-grid br{display:none}
.sm-form-grid label{display:block;font-weight:600;font-size:1rem;line-height:1.5}
.sm-form-wide{grid-column:1/-1}
.sm-contact-form .wpcf7-form-control-wrap{display:block;margin-top:8px}
.sm-contact-form :is(input[type=text],input[type=email],input[type=tel],select,textarea){box-sizing:border-box;display:block;width:100%;max-width:100%;min-height:54px;border:1px solid color-mix(in srgb,var(--sm-ink) 24%,var(--sm-paper));border-radius:12px;background:color-mix(in srgb,var(--sm-ink) 3%,var(--sm-paper));color:var(--sm-ink);padding:14px 16px;font:inherit;font-weight:400;line-height:1.5}
.sm-contact-form textarea{min-height:190px;resize:vertical}
.sm-contact-form ::placeholder{color:color-mix(in srgb,var(--sm-ink) 65%,var(--sm-paper));opacity:1}
.sm-contact-form .sm-form-note{font-size:.875rem;line-height:1.6;margin:20px 0;color:color-mix(in srgb,var(--sm-ink) 75%,var(--sm-paper))}
.sm-form-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;pointer-events:none}
.sm-contact-form .sm-form-submit{box-sizing:border-box;min-height:56px;border:1px solid var(--sm-orange);border-radius:999px;padding:16px 28px;background:var(--sm-orange);color:var(--sm-paper);font:inherit;font-weight:700;cursor:pointer;transition:background .18s,color .18s,box-shadow .18s}
.sm-contact-form .sm-form-submit:hover{background:var(--sm-paper);color:var(--sm-ink);box-shadow:0 10px 28px color-mix(in srgb,var(--sm-orange) 34%,transparent)}
.sm-contact-form .wpcf7-not-valid{border-color:#b42318!important}.sm-contact-form .wpcf7-not-valid-tip{font-size:.875rem;margin-top:6px;color:#b42318}.sm-contact-form .wpcf7-response-output{border-radius:12px;margin:20px 0;padding:14px 18px}
@container(max-width:650px){.sm-form-grid{grid-template-columns:1fr;gap:20px}.sm-contact-form .sm-form-submit{width:100%}}

/* Mobile: Cover spacing must override the zero paddings saved by the editor. */
@media(max-width:980px){
  :is(.sm-home-cover,.sm-video-cover){padding-block:clamp(48px,8vw,68px)!important}
  :is(.sm-home-cover,.sm-video-cover) .sm-meta:last-child{margin-bottom:0}
}
/* The template-part wrapper owns stickiness; the menu remains viewport-fixed. */
  .sm-scroll-header{position:sticky;top:var(--sm-admin-offset,0px);z-index:1000;transform:none;transition:transform .22s ease}
  .sm-scroll-header .sm-header{position:relative!important;top:auto!important}
  .sm-scroll-header.sm-header-is-hidden{transform:translateY(calc(-100% - var(--sm-admin-offset,0px)))}
  .sm-scroll-header:has(.is-menu-open){transform:none}
@media(prefers-reduced-motion:reduce){.sm-scroll-header{transition:none}}

/* Readable legal pages and launch footer links. */
.wp-block-group.sm-legal{max-width:900px!important;margin:32px auto 64px!important;padding:clamp(24px,5vw,64px);background:var(--sm-paper);color:var(--sm-ink);border-radius:28px;overflow-wrap:anywhere}
.sm-legal h2{color:var(--sm-ink);font-size:clamp(1.3rem,2.2vw,1.8rem);line-height:1.25;letter-spacing:-.025em;margin-top:2em;margin-bottom:.7em}
.sm-legal p{font-size:clamp(1rem,1.2vw,1.125rem);line-height:1.75;margin-block:0 1.15em}
.sm-legal a{color:var(--sm-ink);text-decoration:underline;text-underline-offset:.18em}
.sm-legal a:hover{color:var(--sm-orange)}
.sm-legal>:first-child{margin-top:0}.sm-legal>:last-child{margin-bottom:0}
.sm-footer-links{display:flex;flex-wrap:wrap;column-gap:24px;row-gap:4px;margin-top:20px;font-size:14px;line-height:1.5}
.sm-footer-links a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px}
.sm-footer-owner{margin-top:20px}
.sm-contact-form .sm-form-note a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.sm-legal{border-radius:20px;margin-block:24px 40px!important}.sm-footer-links{column-gap:20px}}

/* Use the SIMOTIVE palette directly for section labels on service pages. */
.sm-service-section .sm-eyebrow{color:var(--sm-orange)}

/* Video duotone: CSS compositing also works with mobile video layers.
 * Black maps to #0f151e and white to #495e7e, before the native Cover overlay. */
.sm-video-duotone{isolation:isolate}
.sm-video-duotone > .wp-block-cover__video-background{z-index:0;filter:grayscale(1)!important}
.sm-video-duotone::before,.sm-video-duotone::after{content:"";position:absolute;inset:0;pointer-events:none}
.sm-video-duotone::before{z-index:1;background:var(--sm-video-duotone-multiply,rgb(61.625 79.551 108.8));mix-blend-mode:multiply}
.sm-video-duotone::after{z-index:2;background:var(--sm-video-duotone-dark,#0f151e);mix-blend-mode:screen}
.sm-video-duotone > .wp-block-cover__background{z-index:3}
.sm-video-duotone > .wp-block-cover__inner-container{position:relative;z-index:4}

/* Keep filled buttons the same size in both states, including keyboard focus. */
.wp-block-button:not(.is-style-outline) .wp-block-button__link{border:1px solid var(--sm-orange)}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:focus-visible{border-color:var(--sm-orange)}
/* Text-led covers use the empty second column as flexible breathing room. */
:is(.sm-home-cover,.sm-video-cover) .sm-split{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
@container(max-width:980px){
  :is(.sm-home-cover,.sm-video-cover) .sm-split{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
  :is(.sm-home-cover,.sm-video-cover) .sm-split > .wp-block-column:last-child:empty{display:none}
}
