/* Template product pages (tpl_price, tpl_grid). Loaded alongside service-pages.css (page="service"), so .wrap,
   .offering-heading, .section-label, .button and the serif h2 styles already apply; this file only adds what's new. */

/* The templates/plugins overview hero (svc_hero with no button): a fixed-width label beside the
   heading+paragraph, instead of the usual stacked label/h1/bottom-row layout other service pages use. */
.tpl-hero.wrap{padding-top:9.375rem;padding-bottom:0}
.tpl-hero-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--gutter);align-items:flex-start}
.tpl-hero-label{grid-column:1/5}
.tpl-hero-label .section-label{font-size:1.125rem;font-weight:400;letter-spacing:.0125em;color:var(--ink)}
.tpl-hero-text{grid-column:5/13;display:flex;flex-direction:column;gap:2.5rem;max-width:34.5625rem}
.tpl-hero-text h1{font:400 4.5rem/1.05 var(--serif);letter-spacing:-.012em;margin:-1.25rem 0 0;color:var(--ink)}
.tpl-hero-text p{font-size:1.125rem;line-height:1.4;letter-spacing:-.002em;color:var(--muted);max-width:27.3125rem;margin:0}
@media(max-width:64rem){.tpl-hero-text h1{font-size:3.25rem;line-height:1.1}}
@media(max-width:48rem){.tpl-hero-row{display:block}.tpl-hero-label{margin-bottom:1.5rem}}

.tpl-price.wrap{padding-block:4rem}
.tpl-price-card{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--gutter);align-items:start;background:var(--surface,#F5F5F5);border-radius:1.25rem;padding:clamp(2rem,4vw,3.5rem)}
.tpl-price-copy{grid-column:1/8}
.tpl-price-copy h2{margin:0.75rem 0 1rem}
.tpl-price-copy p{color:var(--muted);max-width:34rem}
.tpl-price-includes{list-style:none;margin:1.75rem 0 0;padding:0;display:grid;gap:0.75rem;max-width:28rem}
.tpl-price-includes li{position:relative;padding-left:1.5rem;color:var(--ink)}
.tpl-price-includes li::before{content:"";position:absolute;left:0;top:0.5em;width:0.5rem;height:0.5rem;border-radius:50%;background:var(--red)}
.tpl-price-buy{grid-column:8/13;background:var(--paper);border:1px solid var(--line);border-radius:1rem;padding:2rem;align-self:start}
.tpl-price-amount{font:400 2.5rem/1 var(--display);letter-spacing:-0.03em;margin:0}
.tpl-price-amount small{display:block;margin-top:0.5rem;font:400 var(--fs-text)/var(--lh-text) var(--body);color:var(--muted)}
.tpl-price-actions{display:flex;flex-direction:column;gap:0.75rem;margin-top:1.75rem}
.tpl-price-actions .button{width:100%}

.tpl-grid.wrap{padding-top:6.25rem;padding-bottom:4.6875rem}
.tpl-filters{display:flex;flex-wrap:wrap;gap:0.5rem;margin:0 0 3.125rem}
.tpl-filter{font:400 var(--fs-btn)/1 var(--body);padding:0.75rem 1rem;border-radius:999px;border:1px solid var(--line-strong);background:none;color:var(--ink);transition:background .2s,border-color .2s,color .2s}
.tpl-filter[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--white)}
@media (hover: hover){
.tpl-filter:not([aria-pressed="true"]):hover{background:var(--surface);border-color:var(--ink)}}
.tpl-grid-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--gutter);row-gap:3.125rem}
/* The card enters as one unit (photo, border and text together) through stagger.js ('.tpl-grid-list > .tpl-card'). */
.tpl-card{display:flex;flex-direction:column;gap:1.875rem}
.tpl-card[hidden]{display:none}
.tpl-card-media{height:15.625rem;overflow:hidden;border-radius:0.75rem;border:1px solid var(--line);background:var(--surface,#F5F5F5)}
.tpl-card-media img{width:100%;height:100%;object-fit:cover;object-position:top center}
.tpl-card-body{display:flex;flex-direction:column;gap:0.625rem;max-width:20.0625rem}
.tpl-card-body h3{font:400 2.25rem/1.08 var(--serif);letter-spacing:-0.012em;margin:0}
/* min-height = two lines, so a one-line tagline keeps the same space and every card's buttons sit on one line */
.tpl-card-body p{min-height:3em;font:400 1rem/1.5 var(--body);letter-spacing:0;color:var(--muted);margin:0}
.tpl-card-foot{display:flex;align-items:center;gap:0.5rem}
.tpl-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;width:100%}
.tpl-card-actions .button.outline{border-color:var(--line-strong)}
@media (hover: hover){
.tpl-card-actions .button.outline:hover{background:var(--ink) !important;border-color:var(--ink) !important;color:var(--white) !important}}
.tpl-card-framer-icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:2.5625rem;height:2.5625rem;border-radius:999px;border:1px solid var(--line-strong);color:var(--ink);transition:background .2s,border-color .2s,color .2s;margin-left:auto}
@media (hover: hover){
.tpl-card-framer-icon:hover{background:var(--ink);border-color:var(--ink);color:var(--white)}}
.tpl-card-framer-icon svg{width:0.875rem;height:1rem;display:block}

/* The closing CTA (svc_cta, classes "service-final-cta reference-contact"): this page has no
   .reference-design body class (that's reserved for the full /services/* detail-page template), but
   every real service page's CTA actually renders with that variant's wider spacing, not the bare
   service-pages.css default -- so match that, scoped here since products.css only loads on these
   two pages. */
.service-final-cta.reference-contact{margin:4.6875rem 0.375rem 9.375rem;padding:6.25rem 2.125rem}
.reference-contact .final-cta-grid{row-gap:0}
.reference-contact .final-cta-grid>p{grid-column:5/13;max-width:22.5rem;margin-top:2.5rem;font-size:var(--fs-paragraph);line-height:var(--lh-paragraph);letter-spacing:var(--ls-paragraph)}
.reference-contact .final-cta-action{display:flex;flex-wrap:wrap;gap:.625rem;margin-top:1.875rem}
.reference-contact .button{min-height:2.5625rem;padding:0.6875rem 0.9375rem;gap:0.5rem;font-size:var(--fs-btn);line-height:var(--lh-btn);letter-spacing:var(--ls-btn)}
.reference-contact .button.outline{background:transparent;border-color:var(--white-70);color:var(--white)}
@media (hover: hover){
.reference-contact .button.outline:hover{background:var(--white) !important;border-color:var(--white) !important;color:var(--ink) !important}}

@media (max-width:64rem){
	.tpl-grid-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:48rem){
	.tpl-price-card{grid-template-columns:1fr}
	.tpl-price-copy,.tpl-price-buy{grid-column:1/-1}
	.tpl-grid-list{grid-template-columns:1fr}
	.tpl-card-foot{flex-wrap:wrap}
	.service-final-cta.reference-contact{margin:2.25rem 0.375rem 4.5rem;padding:4rem 0.875rem}
	.reference-contact .final-cta-grid>p{margin-top:2.5rem}
}

/* Review 2026-11-28: balanced hero lines. */
.tpl-hero-text h1{text-wrap:balance}
