/*
Theme Name: RMC Marine
Description: Custom WordPress theme for Rodgers Marine Contracting, with editable marine services, project stories, galleries and contact pages.
Version: 0.3.2
Requires at least: 6.8
Requires PHP: 8.2
Text Domain: rmc-marine
*/
@font-face{font-family:Barlow;src:url('assets/vessels/Barlow-Regular.ttf') format('truetype');font-display:swap;font-weight:400}
@font-face{font-family:Barlow;src:url('assets/vessels/Barlow-Medium.ttf') format('truetype');font-display:swap;font-weight:500}
@font-face{font-family:Display;src:url('assets/vessels/BarlowCondensed-Bold.ttf') format('truetype');font-display:swap;font-weight:700}

/* Brand and rhythm come from theme.json in both the editor and website. */
:root{--ink:var(--wp--preset--color--ink);--muted:var(--wp--preset--color--muted);--paper:var(--wp--preset--color--paper);--white:var(--wp--preset--color--white);--orange:var(--wp--preset--color--orange);--line:var(--wp--preset--color--line);--s8:var(--wp--preset--spacing--8);--s16:var(--wp--preset--spacing--16);--s24:var(--wp--preset--spacing--24);--s32:var(--wp--preset--spacing--32);--s48:var(--wp--preset--spacing--48);--s64:var(--wp--preset--spacing--64);--s96:var(--wp--preset--spacing--96);--space:var(--wp--custom--layout--gutter);--max:var(--wp--custom--layout--width);--section-space:var(--wp--custom--layout--section);--layout-gap:var(--wp--custom--layout--gap);--ease:cubic-bezier(.16,1,.3,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:var(--s32)}
body,.editor-styles-wrapper{margin:0;background:var(--paper);color:var(--ink);font:400 18px/1.5 Barlow,Arial,sans-serif}
img,video{display:block;max-width:100%;height:auto}figure,p,ul,ol,h1,h2,h3{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-underline-offset:5px}
h1,h2,h3,.wp-block-post-title{font-family:Display,'Arial Narrow',sans-serif;font-weight:700;letter-spacing:-.015em;line-height:1.04}
h1,.wp-block-post-title{font-size:clamp(48px,7.2vw,104px)}h2{font-size:clamp(36px,4.4vw,64px)}h3{font-size:32px}
:where(a,button,summary,input,textarea,select):focus-visible{outline:2px solid currentColor;outline-offset:4px}[hidden]{display:none!important}
.wp-site-blocks{padding:0}.wp-site-blocks>*{margin-block:0}

/* One flow rule for prose; explicit grids/flex own their gaps. */
:where(.wp-site-blocks,.editor-styles-wrapper) .wp-block-group{--rmc-flow:var(--s24)}
:where(.wp-site-blocks,.editor-styles-wrapper) :is(.is-layout-flow,.is-layout-constrained)>*{margin-block:0}
:where(.wp-site-blocks,.editor-styles-wrapper) :is(.is-layout-flow,.is-layout-constrained)>*+*{margin-block-start:var(--rmc-flow,var(--s24))}
.wp-site-blocks .entry-content{--rmc-flow:0;margin:0}
.wp-site-blocks :is(.site-header,.identity,.services-layout,.service-sections,.section-nav,.service-actions,.editorial,.split,.project-grid,.project-card,.project-copy,.section-heading,.footer-cta,.footer-contact,.footer-bottom,.contact-layout){--rmc-flow:0}
.wp-block-buttons,.wp-block-image,.wp-block-video,.wp-block-columns{margin:0}
.wrap{width:min(calc(100% - var(--space)*2),var(--max));margin-inline:auto}
.section{padding-block:var(--section-space)}
.page-intro{padding-block:var(--section-space) var(--s48)}
.page-intro h1{max-width:1100px}.page-intro .lead{max-width:760px}
.lead{font-size:clamp(20px,2vw,26px);line-height:1.45}
.wp-block-button__link,.primary,.rmc-form button,.wp-block-search__button{display:inline-flex;align-items:center;justify-content:center;gap:var(--s16);min-height:56px;padding:var(--s16) var(--s24);border:0;border-radius:0;background:var(--orange);color:var(--ink);font-weight:500;line-height:1.4;text-decoration:none}
.wp-block-buttons{gap:var(--s16)}

/* Header: one row, consistent optical alignment, early tablet collapse. */
.wp-block-group.site-header{width:100%;min-height:112px;padding:20px max(var(--space),calc((100% - var(--max))/2));display:flex;align-items:center;justify-content:space-between;gap:var(--s32);background:var(--white)}
.wp-block-group.identity{display:flex;flex-wrap:nowrap;align-items:center;gap:18px;flex:none}
.identity :is(.anchor,.wordmark){margin:0;flex:none}.identity .anchor,.identity .anchor img{width:42px;height:62px}.identity .wordmark,.identity .wordmark img{width:252px;height:auto}
.site-header .wp-block-navigation{margin:0;min-width:0;font-size:16px}
.site-header .wp-block-navigation__container{align-items:center;flex-wrap:nowrap;gap:clamp(20px,2vw,32px)}
.site-header .wp-block-navigation-item__content{display:flex;align-items:center;min-height:48px;padding-block:12px;white-space:nowrap;text-decoration:none}
.site-header .current-menu-item>.wp-block-navigation-item__content{text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:3px;text-underline-offset:8px}
.site-header .wp-block-navigation__responsive-container-open{min-height:48px;min-width:48px;align-items:center;justify-content:center;gap:10px;padding:10px 12px;border:1px solid var(--line);background:var(--white)}
.site-header .wp-block-navigation__responsive-container-open:before{content:'Menu';font:500 16px/1 Barlow,Arial,sans-serif}
.site-header .wp-block-navigation__responsive-container-open svg{width:24px;height:24px}
.site-header .wp-block-navigation__responsive-container.is-menu-open{padding:var(--s32) var(--space);background:var(--paper)}
.site-header .is-menu-open .wp-block-navigation__responsive-container-content{padding-top:var(--s64);align-items:stretch}
.site-header .is-menu-open .wp-block-navigation__container{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:0}
.site-header .is-menu-open .wp-block-navigation-item{width:100%}
.site-header .is-menu-open .wp-block-navigation-item__content{width:100%;min-height:64px;font-size:26px;white-space:normal;border-bottom:1px solid var(--line)}
.site-header .wp-block-navigation__responsive-container-close{min-width:48px;min-height:48px}

/* Approved homepage composition. */
.home-hero{padding-block:var(--s64);background:linear-gradient(90deg,#0004,transparent 72%),url('assets/media/approved-header-desktop.jpg') center top/cover;color:var(--white)}
.home-hero>.wrap{display:flex;flex-direction:column;align-items:flex-start;gap:var(--s32);min-height:660px}
.home-hero h1{font-size:clamp(84px,11vw,158px);line-height:.94}.home-hero h1 span{display:block;font-size:.65em}.home-hero p{font-size:24px}.home-hero .wp-block-buttons{margin-top:auto}
@media (min-width: 2000px) {
  .home-hero {
    background-color: #000;
    background-image: url('assets/media/approved-header-desktop.jpg');
    background-size: 1920px auto;
    background-position: center 32%;
    background-repeat: no-repeat;
  }
}
.brand-story{padding-block:var(--section-space);background:#000;color:var(--white)}
.split{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1fr);gap:var(--layout-gap);align-items:center}
.split>.wp-block-image{justify-self:center;max-width:340px}.split>.wp-block-image img{width:100%;max-height:540px;object-fit:contain}
.split>div{max-width:680px;--rmc-flow:var(--s24)}.split h2{font-size:clamp(48px,6vw,86px)}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--s24);margin-bottom:var(--s32)}
.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:var(--s32)}
.project-card{min-width:0;background:var(--white)}.project-photo{aspect-ratio:3/2;overflow:hidden;background:var(--line)}.project-photo>.wp-block-image{height:100%}.project-photo img{width:100%;height:100%;object-fit:cover}
.project-copy{padding:var(--s24);display:flex;flex-direction:column;align-items:flex-start;gap:var(--s16)}.project-copy h2{font-size:34px}.project-copy p{font-size:18px}.project-copy time{font-size:15px;color:var(--muted)}.project-copy .wp-block-buttons{margin-top:var(--s8)}
.project-card,.project-card>.wp-block-group{display:flex;flex-direction:column;height:100%}
.project-card .project-copy{flex:1}
.project-card>.wp-block-group>.wp-block-buttons{justify-content:flex-start;margin:0;padding:0 var(--s24) var(--s24)}
.project-card .wp-block-button__link,.wp-block-post-excerpt__more-link{min-height:52px;padding:14px 24px;line-height:24px}
.wp-block-post-template .wp-block-post-excerpt{display:flex;flex-direction:column;flex:1}
.wp-block-post-excerpt .wp-block-post-excerpt__excerpt{margin:0}
.wp-block-post-excerpt .wp-block-post-excerpt__more-text{margin:auto 0 0;padding-top:24px;text-align:start}
.wp-block-post-excerpt__more-link{justify-content:center;background:var(--orange);color:var(--ink);text-decoration:none;font-weight:500}
.selected-projects{padding-bottom:var(--section-space)}.archive-invite{padding-top:var(--s48);max-width:650px}
.film-section{padding-bottom:var(--section-space)}.film-section video{width:100%;aspect-ratio:16/7;object-fit:cover}.film-section>p{font-size:15px;color:var(--muted)}

/* Services: consistent row sizing and image/title/prose rhythm. */
.services-layout{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(0,1.6fr);gap:var(--layout-gap);padding-bottom:var(--section-space);align-items:start}
.section-nav{position:sticky;top:var(--s32);display:grid;gap:12px;grid-auto-rows:1fr;align-items:stretch}
.section-nav p{height:100%;min-width:0}.section-nav a{display:flex;align-items:center;justify-content:space-between;gap:var(--s16);height:100%;min-height:80px;padding:18px 20px;background:var(--white);font-size:21px;line-height:1.35;text-decoration:none}
.section-nav a span{flex:none;margin-left:auto}
.service-section{--rmc-flow:var(--s24);padding-bottom:var(--section-space);scroll-margin-top:var(--s32)}
.service-sections>.service-section:last-child{padding-bottom:0}
.wp-site-blocks .service-section>h2{margin-block-start:var(--s24)}
.service-image{width:100%;overflow:hidden}.service-image img{width:100%;aspect-ratio:3/2;object-fit:cover}
.service-image.rmc-vessel-portrait img,.wp-block-rmc-vessel-experience .rmc-vessel-visual:has(.rmc-vessel-portrait) img{object-fit:contain;object-position:center;background:var(--paper)}
.service-section h2{font-size:clamp(36px,4vw,56px)}.service-section .lead{font-size:clamp(21px,2vw,24px)}
.service-section>.wp-block-list,.service-section>.wp-block-group{margin-block-start:var(--s24)}
.service-actions{display:flex;flex-wrap:wrap;gap:var(--s16) var(--s24);align-items:center}
.service-section ul,.rmc-vessel-extended ul{padding-left:1.2em}.service-section li+li,.rmc-vessel-extended li+li{margin-top:var(--s8)}
.process{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:var(--layout-gap);border-top:1px solid var(--line)}
.process ol{list-style:none;padding:0;display:grid;gap:var(--s32)}.process li{padding-bottom:var(--s24);border-bottom:1px solid var(--line)}.process li h3+p{margin-top:var(--s16)}
.editorial{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:var(--layout-gap);align-items:center;margin-bottom:var(--section-space)}
.editorial>div{--rmc-flow:var(--s24)}.editorial figure img{width:100%;max-height:540px;object-fit:cover}.editorial h2{font-size:clamp(38px,4vw,56px)}.reverse>figure{order:2}

/* Native WordPress archive and article blocks. */
.rmc-project-search{padding-bottom:var(--s32);max-width:900px}
.projects-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,380px);gap:var(--s32);align-items:end;padding-block:var(--s48) var(--s32)}
.projects-header h1{font-size:clamp(46px,5.6vw,80px);line-height:1;margin-bottom:var(--s16)}
.projects-intro-copy>p{max-width:560px;color:var(--muted)}
.projects-header .rmc-project-search{width:100%;max-width:none;padding:0}
.projects-header .wp-block-search__label{font-size:14px;margin-bottom:8px}
.projects-header .wp-block-search__inside-wrapper{display:flex;gap:8px}
.projects-header .wp-block-search__input{width:100%;padding:12px;font-size:16px;min-height:48px}
.projects-header .wp-block-search__button{margin:0;padding:12px 18px;background:var(--ink);color:var(--white);font-size:16px}
.projects-results{padding-block:0 var(--s64)}
.rmc-secondary-action .wp-block-button__link{background:transparent;color:var(--ink);border:1px solid var(--line)}
.rmc-secondary-action .wp-block-button__link:hover{background:var(--white);border-color:var(--ink)}
.brand-story img[src*="rmc-mermaid"]{clip-path:inset(0 0 0 2px)}
@media(max-width:800px){.projects-header{grid-template-columns:1fr;gap:var(--s24);padding-block:var(--s32)}.projects-header .rmc-project-search{max-width:480px}.projects-header h1{font-size:clamp(44px,9vw,64px)}}
.wp-block-search__label{display:block;margin-bottom:var(--s8);font-weight:500}.wp-block-search__input{min-width:0;padding:14px;border:1px solid var(--line);background:var(--white);font:inherit}.wp-block-search__button{min-height:48px}
.wp-block-query .wp-block-post-template{gap:var(--s32)}
.wp-block-post-template .wp-block-post{display:flex;flex-direction:column;gap:var(--s16);min-width:0;padding-bottom:var(--s24)}
.wp-block-post-template .wp-block-post-title{font-size:36px}.wp-block-post-template .wp-block-post-featured-image img{width:100%;aspect-ratio:4/3;object-fit:cover}
.wp-block-post-template .wp-block-post-date{font-size:15px;color:var(--muted)}.wp-block-post-excerpt__excerpt{font-size:18px}.wp-block-post-excerpt__more-link{display:inline-flex;align-items:center;min-height:44px}
.wp-block-query-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:var(--s16);margin-block:var(--s32)}.wp-block-query-pagination a{display:inline-flex;align-items:center;min-height:44px}.wp-block-query-pagination .page-numbers{padding:8px 12px}.wp-block-query-pagination .current{background:var(--ink);color:var(--white)}
.rmc-project-story{gap:var(--layout-gap);align-items:flex-start}.rmc-project-story .wp-block-post-featured-image{max-width:480px}.rmc-project-story .wp-block-post-featured-image img{max-height:none;object-fit:contain}.rmc-project-story .wp-block-post-content{--rmc-flow:var(--s24);font-size:19px;line-height:1.6}

/* Contact and shared form controls. */
.contact-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:var(--layout-gap);padding-bottom:var(--section-space)}
.contact-layout .wp-block-buttons{justify-content:flex-start}
.contact-aside{padding:var(--s32);background:#000;color:var(--white);align-self:start;--rmc-flow:var(--s24)}.contact-aside h2{font-size:44px}.contact-aside .phone{color:var(--orange);font-size:28px}.contact-aside .wp-block-image{max-width:200px;margin-inline:auto}
.rmc-form>p+p{margin-top:var(--s8)}.rmc-form label{display:block;font-weight:500;margin-block:var(--s24) var(--s8)}
.rmc-form :is(input:not([type=hidden]),textarea,select){width:100%;padding:14px;border:1px solid var(--line);border-radius:0;background:var(--white);font:inherit;min-height:52px}
.rmc-form textarea{min-height:168px;resize:vertical}.rmc-form .field-hint{font-size:15px;color:var(--muted);margin-top:var(--s8)}.rmc-form button{display:flex;width:fit-content;max-width:100%;margin-block-start:var(--s24);margin-inline-end:auto}
.rmc-optional{margin-top:var(--s24);padding:var(--s24);border:1px solid var(--line);background:var(--white)}.rmc-optional summary{min-height:44px;font-weight:500;cursor:pointer}.rmc-optional summary span{font-weight:400;color:var(--muted)}
.rmc-form-status,.rmc-form-error{padding:var(--s24);margin-block:var(--s24)}.rmc-form-status{background:#fff3df}.rmc-form-error{background:#fff0ed;border-left:3px solid #8f241b;color:#8f241b}.rmc-form-error h2{font-size:32px}.rmc-form-error ul{margin-top:var(--s16);padding-left:1.2em}
.rmc-form-status dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px var(--s24);margin-block:var(--s24)}.rmc-form-status dt{font-weight:500}.rmc-form-status dd{margin:0;overflow-wrap:anywhere}.rmc-form [aria-invalid=true]{border-color:#8f241b}
.narrow{max-width:780px}.narrow h2+p,.narrow p+h2{margin-top:var(--s24)}

/* Original footer lockup uses the same gutters and section spacing. */
.site-footer{padding:0;background:var(--ink);color:var(--white)}
.footer-cta{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,312px);gap:var(--layout-gap);align-items:center;padding-block:var(--section-space)}
.footer-message{--rmc-flow:var(--s24)}.footer-message h2{font-size:clamp(56px,7vw,104px);line-height:.96}.footer-message p{max-width:570px;font-size:18px}
.footer-contact{display:flex;flex-direction:column;align-items:flex-start;gap:var(--s24)}.footer-anchor,.footer-anchor img{width:44px;height:64px}.footer-contact>p{font-size:28px}.footer-contact .wp-block-buttons{width:100%}.footer-contact .wp-block-button{width:100%}
.footer-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--s24);padding-block:var(--s24) var(--s32);border-top:1px solid #ffffff40;font-size:12px}.footer-bottom a{display:inline-flex;align-items:center;min-height:44px}

@media(max-width:1023px){
 .wp-block-group.site-header{min-height:96px;gap:var(--s24)}
 .identity .anchor,.identity .anchor img{width:34px;height:50px}.identity .wordmark,.identity .wordmark img{width:230px}
 .site-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}
 .site-header .wp-block-navigation__responsive-container-open:not(.always-shown){display:inline-flex}
 .services-layout,.editorial,.process{grid-template-columns:1fr}
 .section-nav{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
 .section-nav a{font-size:20px;min-height:76px}
 .reverse>figure{order:0}
 .footer-cta{grid-template-columns:minmax(0,1fr) 280px}
 .contact-layout{grid-template-columns:1fr}.contact-aside{display:grid;grid-template-columns:1fr 200px;column-gap:var(--s32)}.contact-aside>.wp-block-image{grid-column:2;grid-row:1/6;align-self:center}
}
@media(max-width:600px){
 h1,.wp-block-post-title{font-size:clamp(44px,12.8vw,68px)}
 .wp-block-group.site-header{min-height:88px;padding-block:var(--s16);gap:12px}
 .wp-block-group.identity{gap:10px}.identity .anchor,.identity .anchor img{width:26px;height:40px}.identity .wordmark,.identity .wordmark img{width:clamp(140px,40vw,210px)}
 .page-intro{padding-bottom:var(--s32)}
 .section-nav{grid-template-columns:1fr}.section-nav a{min-height:68px;font-size:20px}
 .service-actions{align-items:stretch}.service-actions .wp-block-buttons,.service-actions .wp-block-button,.service-actions .wp-block-button__link{width:100%}
 .split,.footer-cta{grid-template-columns:1fr}.split>.wp-block-image{max-width:220px}.split h2{font-size:56px}
 .section-heading{flex-direction:column;align-items:flex-start;gap:var(--s16)}
 .home-hero{padding-block:var(--s32);background-image:linear-gradient(180deg,#0008,#0007 40%,transparent 70%),url('assets/media/approved-header-mobile.jpg');background-position:center}
 .home-hero>.wrap{min-height:600px;gap:var(--s24)}.home-hero h1{font-size:clamp(56px,19vw,84px)}.home-hero p{font-size:20px}
 .wp-block-query .wp-block-post-template{grid-template-columns:1fr}.wp-block-post-template .wp-block-post-title{font-size:34px}
 .wp-block-columns{gap:var(--s32)}.rmc-project-story .wp-block-column{flex-basis:100%!important}
 .contact-aside{display:block;padding:var(--s24)}.contact-aside>.wp-block-image{margin-top:var(--s32)}
 .rmc-form-status dl{grid-template-columns:1fr;gap:4px}.rmc-form-status dd{margin-bottom:var(--s16)}
 .footer-contact{gap:var(--s24)}.footer-contact .wp-block-buttons{max-width:342px}.footer-bottom{align-items:flex-start;flex-direction:column;font-size:10px}
 .film-section video{aspect-ratio:4/3}
}
@media(max-width:360px){.site-header .wp-block-navigation__responsive-container-open:before{display:none}.site-header .wp-block-navigation__responsive-container-open{padding:10px}}
@media(hover:hover) and (pointer:fine){.section-nav a:hover{background:#fff4e4}.wp-block-button__link:hover,.rmc-form button:hover,.wp-block-search__button:hover{background:#f6b359}.site-header .wp-block-navigation-item__content:hover{text-decoration:underline}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(min-width:601px) and (max-width:1023px){.section-nav>p:last-child:nth-child(odd){grid-column:1/-1}}
/* Native editable galleries keep complete photographs, including small archive images. */
.client-media{padding-block:var(--s48)}
.wp-block-gallery.rmc-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:var(--s24);margin-block-start:var(--s32)}
.wp-block-gallery.rmc-photo-grid>.wp-block-image{width:auto!important;margin:0!important;min-height:220px;background:var(--white);display:flex;align-items:center;justify-content:center;padding:var(--s8)}
.wp-block-gallery.rmc-photo-grid .wp-block-image a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.wp-block-gallery.rmc-photo-grid .wp-block-image img{display:block;flex:none;width:auto!important;height:auto!important;max-width:100%;max-height:300px;object-fit:contain}
.rmc-photo-grid a:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
/* A shared prose-to-action gap; button padding and layout-owned gaps stay intact. */
.wp-site-blocks :where(p,ul,ol,.wp-block-list,h2,h3,.wp-block-heading)+:is(.wp-block-buttons,.service-actions){margin-block-start:var(--s24)}
.home-hero .wp-block-buttons{margin-block-start:auto}
.rmc-testimonials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s32)}
.rmc-testimonials>h2{grid-column:1/-1}
.rmc-testimonials>.lead{grid-column:1/-1;margin-block:calc(-1 * var(--s16)) 0;color:var(--muted)}
.rmc-testimonials blockquote{margin:0;padding:var(--s24);border-left:3px solid var(--orange);background:var(--white)}
.rmc-testimonials cite{display:block;margin-block-start:var(--s24);font-size:16px;font-style:normal;font-weight:500}
.rmc-video-feature{text-align:center;border-block:1px solid var(--line)}
.rmc-video-feature .rmc-portrait-video{display:block;width:min(100%,360px);margin:var(--s32) auto var(--s16)}
.rmc-portrait-video video{display:block;width:100%;height:auto;aspect-ratio:9/16;object-fit:contain;background:var(--ink)}
/* Suppliers sit within the Services rhythm; content sets the card height. */
.supplier-home-link{padding-bottom:var(--s48)}
.supplier-home-link a{font-weight:500;text-underline-offset:5px}
.garmin-home-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:var(--layout-gap);align-items:center;padding-block:48px;--rmc-flow:0}
.garmin-home-feature>*{margin:0!important;min-width:0}
.garmin-home-copy{display:flex;flex-direction:column;align-items:flex-start;gap:20px;--rmc-flow:0}
.garmin-home-copy>*{margin:0!important}
.garmin-home-copy h2{font-size:clamp(38px,4vw,64px);line-height:1.02}
.garmin-home-copy>p{max-width:48ch}
.garmin-home-copy .lead{font-size:clamp(21px,2vw,25px);line-height:1.35}
.garmin-home-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:4px!important;--rmc-flow:0}
.garmin-home-actions>*{margin:0!important}
.garmin-home-actions .supplier-home-link{padding:0}
.garmin-home-actions .supplier-home-link a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:17px;text-decoration:none;border-bottom:1px solid currentColor}
.garmin-home-actions .supplier-home-link a:hover{color:var(--muted)}
.garmin-home-actions .supplier-home-link a:focus-visible{outline:2px solid var(--ink);outline-offset:5px}
.garmin-home-media img{display:block;width:100%;height:clamp(280px,28vw,380px);object-fit:cover;object-position:50% 48%}
@media(max-width:850px){.garmin-home-feature{grid-template-columns:1fr;gap:24px;padding-block:32px}.garmin-home-media{order:-1}.garmin-home-media img{height:auto;aspect-ratio:3/2;max-height:340px}.garmin-home-copy{gap:16px}.garmin-home-copy>p{max-width:58ch}}
/* One measured transition, rather than stacked section spacing. */
.garmin-home-feature{padding-bottom:calc(var(--section-space)/2)}
.garmin-home-feature+.section{margin-block-start:0!important;padding-top:calc(var(--section-space)/2);border-top:1px solid var(--orange)}
.equipment-suppliers{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(0,1.6fr);grid-template-rows:min-content min-content 1fr;column-gap:var(--layout-gap);row-gap:20px;border-top:1px solid var(--line);padding-block:48px;scroll-margin-top:var(--s32);--rmc-flow:0}
.equipment-suppliers>h2{font-size:clamp(36px,4vw,56px);line-height:1.02;grid-column:1;grid-row:1;margin:0}
.equipment-suppliers>p{grid-column:1;grid-row:2;max-width:420px;margin:0}
.equipment-suppliers>.wp-block-buttons{grid-column:1;grid-row:3;align-self:start;margin:0!important}
.equipment-suppliers .wp-block-button__link{font-size:16px;padding:14px 18px;min-height:48px}
.supplier-grid{display:grid;grid-template-columns:1fr;gap:20px;grid-column:2;grid-row:1/span 3;margin:0!important}
.supplier-feature{display:grid;grid-template-columns:116px minmax(0,1fr);gap:12px 24px;padding:24px;background:var(--white);min-width:0;align-content:start}
.supplier-grid>.supplier-feature,.supplier-feature>*{margin:0!important}
.supplier-brand{display:flex;align-items:center;justify-content:center;grid-column:1;grid-row:1;min-height:56px;padding:8px}
.supplier-brand img{display:block;width:100%;max-width:100px;height:48px;object-fit:contain}
.supplier-feature h3{grid-column:2;grid-row:1;font-size:clamp(27px,2.5vw,34px);line-height:1.08;align-self:center}
.supplier-feature>p{grid-column:2;grid-row:2;font-size:16px;line-height:1.5}
.supplier-feature>p:last-child,.supplier-range-links{grid-column:2;grid-row:3}
.supplier-feature a{font-weight:500;text-underline-offset:5px}
.supplier-feature a:focus-visible{outline:2px solid var(--ink);outline-offset:5px}
.supplier-product,.supplier-product-pair{grid-column:1;grid-row:2/span 2;min-width:0;align-self:start;background:var(--paper)}
.supplier-product{height:116px}.supplier-product img{display:block;width:100%;height:100%;object-fit:contain;background:white}
.supplier-garmin .supplier-product{grid-row:1/span 3;height:116px}
.supplier-garmin .supplier-product img{object-fit:cover;object-position:55% 50%}
.footer-bottom .footer-credit{font-size:11px;line-height:1.4;margin:0}
.footer-credit a{color:inherit;text-decoration:none}
.footer-credit a:hover{text-decoration:underline;text-underline-offset:3px}
.footer-credit a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.supplier-product-pair{display:grid;grid-template-columns:1fr;gap:8px}
.supplier-product-pair figure{margin:0!important;min-width:0;height:74px}
.supplier-product-pair img{display:block;width:100%;height:100%;object-fit:contain}
.supplier-product-pair .supplier-davit img{object-fit:cover;object-position:50% 48%}
.supplier-range-links{display:flex;gap:4px 20px;flex-wrap:wrap}
.supplier-range-links p{margin:0!important;font-size:16px}
.supplier-feature>p:last-child a,.supplier-range-links a{display:inline-flex;align-items:center;min-height:44px;gap:6px}
@media(max-width:1023px){.equipment-suppliers{grid-template-columns:1fr;grid-template-rows:auto;gap:20px}.equipment-suppliers>h2,.equipment-suppliers>p,.equipment-suppliers>.wp-block-buttons,.supplier-grid{grid-column:1;grid-row:auto}.equipment-suppliers>p{max-width:640px}.equipment-suppliers>.wp-block-buttons{grid-row:4}.supplier-grid{grid-row:3}}
@media(max-width:600px){.equipment-suppliers{padding-block:32px}.supplier-feature{grid-template-columns:80px minmax(0,1fr);padding:16px;gap:12px 16px}.supplier-product{height:96px}.supplier-brand{padding:6px}.supplier-brand img{height:42px}.supplier-feature h3{font-size:28px}.supplier-feature>p{font-size:16px}.supplier-range-links{gap:0 12px}.supplier-product-pair figure{height:72px}}
@media(max-width:600px){.supplier-feature>p{grid-column:1/-1}.supplier-feature>p:last-child,.supplier-range-links{grid-column:2;grid-row:3;align-self:center}.supplier-product,.supplier-product-pair{grid-row:3}.supplier-garmin .supplier-product{grid-row:1;height:80px}.supplier-garmin>p:last-child{grid-column:1/-1}.supplier-feature>p:last-child a,.supplier-range-links a{display:inline;line-height:1.6}.supplier-range-links{display:grid;gap:12px}.supplier-range-links a{display:inline-block;min-height:44px}.supplier-range-links a span{white-space:nowrap}}
@media(max-width:699px){.rmc-testimonials{grid-template-columns:1fr}.wp-block-gallery.rmc-photo-grid>.wp-block-image{min-height:180px}}
