/* Pully: block, button and pattern styles. Loaded on the front end and inside the block editor. */

.pully-btn,
.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .8em 1.5em;
	border: 2px solid var(--pully-primary);
	border-radius: var(--pully-btn-radius);
	background: var(--pully-primary);
	color: var(--pully-on-primary);
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.pully-btn:hover,
.wp-block-button .wp-block-button__link:hover {
	background: color-mix(in srgb, var(--pully-primary) 84%, #000);
	border-color: color-mix(in srgb, var(--pully-primary) 84%, #000);
	color: var(--pully-on-primary);
}
.pully-btn--outline,
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--pully-primary);
}
.pully-btn--outline:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--pully-primary);
	color: var(--pully-on-primary);
}
.pully-btn--ghost { background: transparent; border-color: transparent; color: var(--pully-primary); }
.pully-btn--ghost:hover { background: var(--pully-surface); color: var(--pully-primary); border-color: transparent; }
.pully-btn--accent { background: var(--pully-accent); border-color: var(--pully-accent); color: var(--pully-on-accent); }
.pully-btn--accent:hover { background: color-mix(in srgb, var(--pully-accent) 86%, #000); border-color: color-mix(in srgb, var(--pully-accent) 86%, #000); color: var(--pully-on-accent); }
.pully-btn--sm { padding: .55em 1.05em; font-size: .9rem; }
.pully-btn--lg { padding: 1em 1.9em; font-size: 1.1rem; }

/* Sections */
.pully-section { padding-block: clamp(48px, 8vw, 96px); }
.pully-surface { background: var(--pully-surface); }
.pully-card {
	background: var(--pully-surface);
	border: 1px solid var(--pully-border);
	border-radius: var(--pully-radius);
	padding: 28px;
}
.pully-card > :first-child { margin-top: 0; }
.pully-card > :last-child { margin-bottom: 0; }
.pully-featured { border-color: var(--pully-primary); box-shadow: 0 0 0 1px var(--pully-primary); }
.pully-price { font-size: 2.4rem; font-weight: 700; line-height: 1.1; margin-block: .2em .6em; }

.pully-hero {
	padding: clamp(72px, 13vw, 168px) 24px;
	background: var(--pully-secondary);
	color: #fff;
	text-align: center;
}
.pully-hero :is(h1, h2, h3) { color: inherit; font-size: clamp(2.4rem, 7vw, 4.6rem); letter-spacing: -.02em; }
.pully-hero p { max-width: 38rem; margin-inline: auto; color: rgba(255, 255, 255, .82); font-size: 1.2rem; }
.pully-hero .wp-block-buttons { margin-top: 2rem; }
.pully-hero .is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .55); }
.pully-hero .is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--pully-secondary); border-color: #fff; }

.pully-cta {
	padding: clamp(56px, 9vw, 112px) 24px;
	background: var(--pully-primary);
	color: var(--pully-on-primary);
	text-align: center;
}
.pully-cta :is(h2, p) { color: inherit; }
.pully-cta .wp-block-button .wp-block-button__link { background: var(--pully-on-primary); border-color: var(--pully-on-primary); color: var(--pully-primary); }

/* Core block polish */
.wp-block-quote { border-inline-start: 3px solid var(--pully-primary); margin-inline: 0; padding-inline: 1.25em; font-size: 1.1em; }
.wp-block-quote cite { color: var(--pully-muted); font-size: .9em; font-style: normal; }
.wp-block-separator { border-color: var(--pully-border); }
.wp-block-image img, .wp-block-cover { border-radius: var(--pully-radius); }
.wp-block-image.alignfull img, .wp-block-cover.alignfull { border-radius: 0; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table :is(td, th) { border: 1px solid var(--pully-border); padding: .6em .8em; }
.wp-block-table thead { border-bottom: 2px solid var(--pully-border); }
.wp-block-pullquote { border-color: var(--pully-primary); }
.wp-block-code, .wp-block-preformatted pre { background: var(--pully-surface); border: 1px solid var(--pully-border); border-radius: var(--pully-radius); padding: 1em 1.2em; overflow-x: auto; }

/* ---------- Contact page (pattern "Contact page", inc/contact-page.php) ----------
   Built from core blocks. Icons are CSS masks (class pully-ico-NAME) so they follow the theme colours.
   Phone: pully-ic = icon tile, pully-contact-* = sections. */
.pully-ico-phone { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.pully-ico-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E"); }
.pully-ico-pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.pully-ico-clock { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.pully-ico-building { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M9 22v-4h6v4M8 6h.01M12 6h.01M16 6h.01M8 10h.01M12 10h.01M16 10h.01M8 14h.01M12 14h.01M16 14h.01'/%3E%3C/svg%3E"); }
.pully-ico-factory { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20V9l6 4V9l6 4V4h4v16z'/%3E%3Cpath d='M6 17h.01M10 17h.01M14 17h.01'/%3E%3C/svg%3E"); }
.pully-ico-fax { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E"); }
.pully-ico-cart { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E"); }
.pully-ico-tool { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E"); }
.pully-ico-headset { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18v-6a9 9 0 0 1 18 0v6'/%3E%3Cpath d='M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z'/%3E%3C/svg%3E"); }
.pully-ico-chat { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E"); }
.pully-ico-shield { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpolyline points='9 12 11 14 15 10'/%3E%3C/svg%3E"); }
.pully-ico-tag { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E"); }
.pully-ico-edit { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E"); }
.pully-ico-check { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.pully-ico-globe { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); }

.pully-ic { position: relative; --tile: 44px; --glyph: 22px; --tx: 0px; --ty: 0px; }
.pully-ic::before, .pully-ic::after { content: ""; position: absolute; inset-inline-start: var(--tx); top: var(--ty); width: var(--tile); height: var(--tile); pointer-events: none; }
.pully-ic::before { border-radius: calc(var(--tile) * .3); background: rgba(0, 0, 0, .06); background: color-mix(in srgb, var(--pully-primary) 14%, transparent); }
.pully-ic::after { background: var(--pully-link, var(--pully-primary)); -webkit-mask: var(--ico) center / var(--glyph) var(--glyph) no-repeat; mask: var(--ico) center / var(--glyph) var(--glyph) no-repeat; }

/* Hero */
.pully-contact-hero { padding: clamp(44px, 7vw, 88px) 24px; background: var(--pully-secondary); background: linear-gradient(135deg, var(--pully-secondary), color-mix(in srgb, var(--pully-secondary) 70%, var(--pully-primary))); color: #fff; }
.pully-contact-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1180px; margin-inline: auto; }
.pully-contact-hero-grid > * { margin: 0 !important; }
.pully-contact-hero :is(h1, h2, p) { color: inherit; }
.pully-contact-hero h1 { margin: 0 0 1rem; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; line-height: 1.08; }
.pully-eyebrow { margin: 0 0 .8rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.pully-contact-hero .pully-lead { max-width: 36rem; margin: 0; font-size: 1.15rem; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.pully-quick { display: grid; gap: 12px; }
.pully-quick > * { margin: 0 !important; }
.pully-qk { --tx: 16px; --ty: 14px; min-height: 72px; padding: 14px 18px; padding-inline-start: 76px; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--pully-radius); background: rgba(255, 255, 255, .08); font-size: .82rem; line-height: 1.3; color: rgba(255, 255, 255, .85); transition: background .15s, border-color .15s; }
.pully-qk:hover, .pully-qk:focus-within { background: rgba(255, 255, 255, .17); border-color: rgba(255, 255, 255, .65); }
.pully-qk br { display: none; }
.pully-qk :is(a, strong) { display: block; color: #fff; font-size: 1.12rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.pully-qk a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pully-qk a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pully-contact-hero .pully-ic::before { background: rgba(255, 255, 255, .16); }
.pully-contact-hero .pully-ic::after { background: #fff; }

/* Sections */
.pully-contact-section { padding: clamp(40px, 6vw, 72px) 24px; }
.pully-contact-section.pully-alt { background: var(--pully-surface); }
.pully-contact-inner { max-width: 1180px; margin-inline: auto; }
.pully-contact-inner > :first-child { margin-top: 0; }
.pully-contact-head { max-width: 46rem; margin: 0 0 1.8rem; }
.pully-contact-head > * { margin: 0 !important; }
.pully-contact-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: .5rem !important; }
.pully-contact-head p { color: var(--pully-muted); font-size: 1.05rem; }

/* Department cards */
.pully-depts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pully-depts > * { margin: 0 !important; }
.pully-dept { --tx: 24px; --ty: 24px; --tile: 48px; --glyph: 24px; display: flex; flex-direction: column; gap: 6px; padding: 84px 24px 24px; background: var(--pully-bg); border: 1px solid var(--pully-border); border-radius: var(--pully-radius); transition: box-shadow .2s, transform .2s, border-color .2s; }
.pully-dept:hover, .pully-dept:focus-within { box-shadow: var(--pully-shadow); transform: translateY(-2px); border-color: color-mix(in srgb, var(--pully-primary) 45%, var(--pully-border)); }
.pully-dept > * { margin: 0 !important; }
.pully-dept h3 { font-size: 1.15rem; }
.pully-dept p { color: var(--pully-muted); font-size: .94rem; line-height: 1.5; }
.pully-dept p.pully-dept-line { margin-top: .6rem !important; color: var(--pully-text); font-weight: 600; }
.pully-dept p.pully-dept-line + p.pully-dept-line { margin-top: 0 !important; }
.pully-dept a { color: var(--pully-link); text-decoration: none; overflow-wrap: anywhere; }
.pully-dept a:hover { text-decoration: underline; }

/* Form + info */
.pully-contact-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.pully-contact-layout > * { margin: 0 !important; }
.pully-panel { padding: clamp(22px, 3.2vw, 38px); background: var(--pully-bg); border: 1px solid var(--pully-border); border-radius: var(--pully-radius); box-shadow: var(--pully-shadow); }
.pully-panel > :first-child { margin-top: 0; }
.pully-panel h2, .pully-panel h3 { margin-top: 0; }
.pully-panel h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.pully-panel .pully-note { color: var(--pully-muted); font-size: .92rem; }
.pully-info { background: var(--pully-surface); box-shadow: none; }
.pully-info-row { --tx: 0px; --ty: 0px; --tile: 40px; --glyph: 20px; margin: 0 0 20px !important; padding-inline-start: 56px; min-height: 40px; line-height: 1.5; overflow-wrap: anywhere; }
.pully-info-row strong + br { display: none; }
.pully-info-row strong { display: block; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: var(--pully-muted); }
.pully-info-row a { color: var(--pully-link); font-weight: 600; text-decoration: none; }
.pully-info-row a:hover { text-decoration: underline; }
.pully-info .wp-block-buttons { margin: 6px 0 0; }
.pully-info h3 { margin-bottom: 1.1rem; }
.pully-follow { display: flex; flex-wrap: wrap; gap: 8px; }
.pully-follow > * { margin: 0 !important; }
.pully-follow a { display: inline-block; padding: 7px 14px; border: 1px solid var(--pully-border); border-radius: 999px; background: var(--pully-bg); color: var(--pully-text); font-size: .9rem; font-weight: 600; text-decoration: none; }
.pully-follow a:hover, .pully-follow a:focus-visible { border-color: var(--pully-primary); color: var(--pully-link); }

/* How it works */
.pully-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: pstep; }
.pully-steps > * { margin: 0 !important; }
.pully-step { position: relative; padding-top: 58px; counter-increment: pstep; }
.pully-step::before { content: counter(pstep); position: absolute; top: 0; inset-inline-start: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pully-primary); color: var(--pully-on-primary); font-weight: 700; font-size: 1.1rem; }
.pully-step > * { margin: 0 !important; }
.pully-step h3 { font-size: 1.05rem; margin-bottom: .3rem !important; }
.pully-step p { color: var(--pully-muted); font-size: .94rem; line-height: 1.5; }

/* Closing call to action */
.pully-contact-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; max-width: 1180px; margin-inline: auto; padding: clamp(28px, 4vw, 48px); border-radius: var(--pully-radius); background: var(--pully-secondary); color: #fff; }
.pully-contact-cta > * { margin: 0 !important; }
.pully-contact-cta h2 { margin: 0 0 .4rem !important; color: inherit; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.pully-contact-cta p { color: rgba(255, 255, 255, .86); }
.pully-contact-cta .wp-block-buttons { flex-wrap: wrap; }
.pully-contact-cta .wp-block-button__link { background: #fff; border-color: #fff; color: #0b1220; }
.pully-contact-cta .is-style-outline > .wp-block-button__link { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .7); }
.pully-contact-cta .is-style-outline > .wp-block-button__link:hover { background: #fff; color: #0b1220; }

.pully-contact-faq { max-width: 860px; }
.pully-contact-faq .pully-accordion { margin-block: 0; }

@media (max-width: 1024px) {
	.pully-depts, .pully-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pully-contact-layout, .pully-contact-hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.pully-depts, .pully-steps { grid-template-columns: minmax(0, 1fr); }
	.pully-contact-cta { grid-template-columns: minmax(0, 1fr); }
	.pully-contact-hero, .pully-contact-section { padding-inline: 16px; }
	.pully-panel { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.pully-dept, .pully-qk { transition: none; }
	.pully-dept:hover { transform: none; }
}

/* About page (pattern "About page"; classes pully-about-*, shares pully-contact-section, -inner, -head, -cta and pully-panel) */
.pully-about-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 6vw, 80px) 24px clamp(72px, 9vw, 112px); background: var(--pully-surface); background: linear-gradient(135deg, var(--pully-surface), color-mix(in srgb, var(--pully-primary) 14%, var(--pully-bg))); }
.pully-about-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1180px; margin-inline: auto; }
.pully-about-hero-grid > * { margin: 0 !important; }
.pully-about-hero--noart .pully-about-hero-grid { grid-template-columns: minmax(0, 1fr); }
.pully-about-hero--noart .pully-about-intro { max-width: 860px; }
.pully-about-intro > * { margin: 0 0 1rem !important; }
.pully-about-intro > :last-child { margin-bottom: 0 !important; }
.pully-about-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.02em; line-height: 1.08; }
.pully-about-intro .pully-eyebrow, .pully-contact-head .pully-eyebrow { color: var(--pully-link); opacity: 1; }
.pully-about-hero .pully-lead { max-width: 36rem; font-size: 1.15rem; line-height: 1.6; color: var(--pully-muted); }
.pully-about-intro .wp-block-buttons { margin-top: 1.6rem !important; }
.pully-about-hero .pully-about-art { position: absolute; z-index: -1; inset-block: clamp(16px, 3vw, 32px) clamp(48px, 6vw, 72px); inset-inline-end: max(24px, calc((100% - 1180px) / 2)); width: min(40%, 460px); margin: 0 !important; pointer-events: none; }
.pully-about-hero .pully-about-art img { display: block; width: 100%; height: 100% !important; max-width: none; margin: 0; border-radius: 0 !important; object-fit: contain; object-position: center; }
.block-editor-block-list__block.pully-about-art { pointer-events: auto; }

/* Key numbers */
.pully-about-stats-wrap { position: relative; margin-block: calc(-1 * clamp(36px, 5vw, 56px)) 0 !important; padding-inline: 24px; }
.pully-about-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; margin-inline: auto; background: var(--pully-bg); border: 1px solid var(--pully-border); border-radius: var(--pully-radius); box-shadow: var(--pully-shadow); }
.pully-about-stats > * { margin: 0 !important; }
.pully-stat { padding: 22px 24px; text-align: center; }
.pully-stat + .pully-stat { border-inline-start: 1px solid var(--pully-border); }
.pully-stat > * { margin: 0 !important; }
.pully-stat-num { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: var(--pully-link); }
.pully-stat-label { margin-top: .25rem !important; color: var(--pully-muted); font-size: .92rem; }

/* Story */
.pully-about-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.pully-about-story > * { margin: 0 !important; }
.pully-about-story--nophoto { grid-template-columns: minmax(0, 1fr); }
.pully-about-story--nophoto .pully-about-story-text { max-width: 860px; }
.pully-about-photo { max-width: 400px; justify-self: center; }
.pully-about-photo img { display: block; width: 100%; height: auto; border-radius: var(--pully-radius); box-shadow: var(--pully-shadow); }
.pully-about-story-text > p { line-height: 1.7; }
.pully-about-story-text .pully-contact-head { margin-bottom: 1.2rem; }
.pully-about-story-text .pully-contact-head h2 { margin-bottom: 0 !important; }
.pully-contact-head .pully-eyebrow { margin-bottom: .5rem !important; }
.pully-orgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 1.6rem; }
.pully-orgs > * { margin: 0 !important; }
.pully-org { --tx: 18px; --ty: 18px; --tile: 44px; padding: 18px 18px 18px 74px; background: var(--pully-surface); border: 1px solid var(--pully-border); border-radius: var(--pully-radius); }
[dir="rtl"] .pully-org { padding: 18px 74px 18px 18px; }
.pully-org > * { margin: 0 !important; }
.pully-org-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pully-muted); }
.pully-org h3 { margin: .15rem 0 .25rem !important; font-size: 1.05rem; }
.pully-org p:last-child { color: var(--pully-muted); font-size: .92rem; line-height: 1.5; }

/* Outline buttons on the light hero and the certificates panel: use the link colour so they stay readable in dark mode */
.pully-about-hero .is-style-outline > .wp-block-button__link, .pully-certs .is-style-outline > .wp-block-button__link { color: var(--pully-link); border-color: var(--pully-link); background: transparent; }
.pully-about-hero .is-style-outline > .wp-block-button__link:hover, .pully-certs .is-style-outline > .wp-block-button__link:hover, .pully-about-hero .is-style-outline > .wp-block-button__link:focus-visible, .pully-certs .is-style-outline > .wp-block-button__link:focus-visible { background: var(--pully-primary); border-color: var(--pully-primary); color: var(--pully-on-primary); }

/* Chips (cable families, certificates) */
.pully-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pully-chips > * { margin: 0 !important; }
.pully-chip { padding: 8px 16px; border: 1px solid var(--pully-border); border-radius: 999px; background: var(--pully-bg); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.pully-contact-section:not(.pully-alt) .pully-chip { background: var(--pully-surface); }
.pully-about-story-text .pully-chips, .pully-contact-inner > .pully-chips { margin-bottom: 1.6rem; }
.pully-contact-inner > h3 { margin: 0 0 1rem; font-size: 1.2rem; }
.pully-contact-inner > .wp-block-buttons { margin-top: 1.6rem; }

/* Product photos */
.pully-pcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 0; }
.pully-pcards > * { margin: 0 !important; }
.pully-pcard { overflow: hidden; background: var(--pully-bg); border: 1px solid var(--pully-border); border-radius: var(--pully-radius); transition: box-shadow .2s, transform .2s; }
.pully-pcard:hover { box-shadow: var(--pully-shadow); transform: translateY(-2px); }
.pully-pcard img { display: block; width: 100%; height: auto; border-radius: 0 !important; background: #fff; }
.pully-pcard figcaption { margin: 0; padding: 10px 14px 12px; color: var(--pully-text); font-size: .88rem; font-weight: 600; line-height: 1.35; text-align: start; }

/* Mission and values */
.pully-creed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 2.6rem; }
.pully-creed > * { margin: 0 !important; }
.pully-creed-item { padding: 24px; background: var(--pully-surface); border: 1px solid var(--pully-border); border-top: 4px solid var(--pully-primary); border-radius: var(--pully-radius); }
.pully-creed-item > * { margin: 0 !important; }
.pully-creed-label { margin-bottom: .5rem !important; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pully-link); }
.pully-creed-text { font-size: 1.15rem; font-weight: 600; line-height: 1.45; }
.pully-vcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pully-vcards > * { margin: 0 !important; }
.pully-vcard { --tx: 24px; --ty: 24px; --tile: 56px; --glyph: 28px; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 96px 24px 24px; background: var(--pully-bg); border: 1px solid var(--pully-border); border-radius: var(--pully-radius); transition: box-shadow .2s, transform .2s, border-color .2s; }
.pully-vcard:hover { box-shadow: var(--pully-shadow); transform: translateY(-2px); border-color: color-mix(in srgb, var(--pully-primary) 45%, var(--pully-border)); }
.pully-vcard > * { margin: 0 !important; }
.pully-vcard h3 { font-size: 1.12rem; }
.pully-vcard p { color: var(--pully-muted); font-size: .94rem; line-height: 1.55; }
.pully-vicon { position: absolute; inset-block-start: 24px; inset-inline-start: 24px; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 !important; border: 1px solid #dbe4f3; border-radius: 16px; background: #fff; }
.pully-vicon img { display: block; width: 38px !important; height: 38px !important; border-radius: 0 !important; }

/* Quality and certificates */
.pully-about-quality { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pully-about-quality > * { margin: 0 !important; }
.pully-about-quality-text > * { margin: 0 !important; }
.pully-strengths { display: grid; gap: 12px; margin-top: 1.4rem !important; }
.pully-strengths > * { margin: 0 !important; }
.pully-strength { --tx: 0px; --ty: 0px; --tile: 36px; --glyph: 18px; min-height: 36px; padding-block: 6px; padding-inline-start: 52px; font-size: 1.08rem; line-height: 1.35; }
.pully-certs { background: var(--pully-bg); }
.pully-certs > * { margin-block: 0 1.1rem !important; }
.pully-certs > h3 { margin-bottom: .6rem !important; }
.pully-certs > :last-child { margin-bottom: 0 !important; }

/* Certificate gallery */
.pully-about-certs { padding-bottom: 0; }
.pully-cert { overflow: hidden; background: var(--pully-bg); border: 1px solid var(--pully-border); border-radius: var(--pully-radius); transition: box-shadow .2s, transform .2s; }
.pully-cert:hover { box-shadow: var(--pully-shadow); transform: translateY(-2px); }
.pully-cert a { display: block; cursor: zoom-in; }
.pully-cert img { display: block; width: 100%; height: auto; background: #fff; border-radius: 0 !important; }
.pully-cert figcaption { margin: 0; padding: 10px 14px 12px; color: var(--pully-text); font-size: .88rem; font-weight: 600; line-height: 1.35; text-align: start; }
.pully-about-certs .pully-contact-inner > .pully-cert { margin: 0 0 20px !important; }
.pully-certgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 20px; }
.pully-certgrid > * { margin: 0 !important; }
.pully-certgrid .pully-cert img { aspect-ratio: 1 / 1; object-fit: contain; }
.pully-cert-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.pully-cert-row--single { grid-template-columns: minmax(0, 1fr); }
.pully-cert-row > * { margin: 0 !important; }
.pully-cert-ask { display: flex; flex-direction: column; justify-content: center; background: var(--pully-surface); box-shadow: none; }
.pully-cert-ask > * { margin: 0 0 1rem !important; }
.pully-cert-ask > :last-child { margin-bottom: 0 !important; }
.pully-cert-ask .is-style-outline > .wp-block-button__link { color: var(--pully-link); border-color: var(--pully-link); }

@media (max-width: 1024px) {
	.pully-about-hero-grid, .pully-about-story, .pully-about-quality { grid-template-columns: minmax(0, 1fr); }
	.pully-about-hero .pully-about-art { inset-inline-end: 0; width: min(72%, 420px); opacity: .2; }
	.pully-about-hero .pully-lead { color: var(--pully-text); }
	.pully-about-stats, .pully-pcards, .pully-vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pully-stat:nth-child(3) { border-inline-start: 0; }
	.pully-stat:nth-child(n+3) { border-top: 1px solid var(--pully-border); }
	.pully-creed { grid-template-columns: minmax(0, 1fr); }
	.pully-cert-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.pully-about-hero { padding-inline: 16px; }
	.pully-about-stats-wrap { padding-inline: 16px; }
	.pully-stat { padding: 16px 12px; }
	.pully-orgs, .pully-vcards { grid-template-columns: minmax(0, 1fr); }
	.pully-pcards { gap: 12px; }
	.pully-certgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.pully-about-hero .pully-about-art { width: min(84%, 320px); opacity: .18; }
	.pully-about-photo { max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
	.pully-pcard, .pully-vcard, .pully-cert { transition: none; }
	.pully-pcard:hover, .pully-vcard:hover, .pully-cert:hover { transform: none; }
}
