body.elementor-template-canvas { background: #EFEFF0; margin: 0; }
body.elementor-template-canvas p a { color: inherit; text-decoration: none; }
body.elementor-template-canvas p a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
body.elementor-template-canvas a:focus-visible { outline: 3px solid #FAA32C; outline-offset: 3px; }
.yp-body, .yp-label { margin: 0; }
html.yp-anim .yp-reveal .yp-w { opacity: .18; transition: opacity .25s linear; }
html.yp-anim .yp-rise .yp-w { display: inline-block; transform: translateY(.5em); opacity: 0; animation: ypRise .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes ypRise { to { transform: none; opacity: 1; } }
html.yp-anim .yp-fade { opacity: .25; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 120ms); }
html.yp-anim .yp-fade.yp-in { opacity: 1; transform: none; }
html.yp-anim .yp-draw line, html.yp-anim .yp-draw rect, html.yp-anim .yp-draw polyline { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ypDraw 2.2s ease forwards; animation-delay: calc(var(--i, 0) * 60ms + 400ms); }
html.yp-anim .yp-draw rect.yp-mk { fill-opacity: 0; animation: ypDraw 2.2s ease forwards, ypFill .8s ease 2.2s forwards; animation-delay: calc(var(--i, 0) * 60ms + 400ms), 2.2s; }
@keyframes ypDraw { to { stroke-dashoffset: 0; } }
@keyframes ypFill { to { fill-opacity: 1; } }
html.yp-logo-shimmer .yp-logo-wrap::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; background: linear-gradient(105deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.65) 50%, rgba(255,255,255,0) 65%); transform: translateX(-120%); }
html.yp-anim.yp-logo-shimmer .yp-logo-wrap.yp-shine::after { animation: ypShimmer 1.4s ease-out 1; }
html.yp-anim.yp-logo-settle .yp-logo-wrap:not(.yp-shine) img { opacity: 0; }
html.yp-anim.yp-logo-settle .yp-logo-wrap.yp-shine img { animation: ypSettle 1.2s cubic-bezier(.2,.7,.2,1) backwards; }
html.yp-anim.yp-logo-settle .yp-logo-wrap img { transition: transform .35s ease; }
html.yp-anim.yp-logo-settle .yp-logo-wrap:hover img { transform: translateY(-3px); }
@keyframes ypSettle { from { opacity: 0; transform: scale(1.14); } to { opacity: 1; transform: scale(1); } }
html.yp-anim.yp-logo-reveal .yp-logo-wrap::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #FFA227; z-index: 2; transform-origin: right center; pointer-events: none; }
html.yp-anim.yp-logo-reveal .yp-logo-wrap.yp-shine::before { animation: ypReveal 1.3s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes ypReveal { from { transform: scaleX(1); } to { transform: scaleX(0); } }
html.yp-anim.yp-logo-wipe .yp-logo-wrap::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #2C3647; z-index: 2; transform: translateX(-101%); pointer-events: none; }
html.yp-anim.yp-logo-wipe .yp-logo-wrap:not(.yp-shine) img { opacity: 0; }
html.yp-anim.yp-logo-wipe .yp-logo-wrap.yp-shine::before { animation: ypWipe 1.2s cubic-bezier(.7,0,.3,1) forwards; }
html.yp-anim.yp-logo-wipe .yp-logo-wrap.yp-shine img { animation: ypWipeImg 1.2s linear both; }
@keyframes ypWipe { 0% { transform: translateX(-101%); } 45% { transform: translateX(0); } 100% { transform: translateX(101%); } }
@keyframes ypWipeImg { 0%, 44.9% { opacity: 0; } 45%, 100% { opacity: 1; } }
.yp-logo-demo { position: fixed; left: 16px; bottom: 16px; z-index: 9999; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: #2C3647; padding: 8px; font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.yp-logo-demo span { color: #E6E7E9; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-right: 4px; }
.yp-logo-demo button { font-family: inherit; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: transparent; border: 1px solid #666F7E; padding: 6px 10px; cursor: pointer; }
.yp-logo-demo button[aria-pressed="true"] { background: #FAA32C; color: #2C3647; border-color: #FAA32C; }

@keyframes ypShimmer { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
.yp-pin { height: 320vh; }
.yp-pin-inner { position: sticky; top: 0; height: 100vh; overflow: visible; }
.yp-pin-line { font-size: clamp(52px, 12vw, 190px); }
html.yp-anim .yp-pin-line { opacity: .1; transform: translateY(30px); will-change: opacity, transform; }
.yp-drift { will-change: transform; }
.yp-drift h3 { flex: 0 0 auto; }
html.yp-anim .yp-hero-svg-wrap { will-change: transform; }
html.yp-anim .yp-pdraw line, html.yp-anim .yp-pdraw rect, html.yp-anim .yp-pdraw polyline { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.yp-anim .yp-pdraw.yp-pin-view line, html.yp-anim .yp-pdraw.yp-pin-view rect, html.yp-anim .yp-pdraw.yp-pin-view polyline { animation: ypDraw 1.8s ease forwards; animation-delay: calc(var(--i, 0) * 70ms); }
html.yp-anim .yp-pdraw rect.yp-mk { fill-opacity: 0; }
html.yp-anim .yp-pdraw.yp-pin-view rect.yp-mk { animation: ypDraw 1.8s ease forwards, ypFill .8s ease 1.8s forwards; animation-delay: calc(var(--i, 0) * 70ms), 1.8s; }
@media (max-width: 767px) { .yp-pin { height: 260vh; } }
@media (prefers-reduced-motion: reduce) { html.yp-anim * { animation: none !important; transition: none !important; } }
/* Typeface: Neue Haas Grotesk first, Helvetica Neue / Helvetica / Arial as fallbacks. Mono labels are left alone. */
body.elementor-template-canvas :where(h1, h2, h3, h4, p, a, b, strong, em, span, button, input, select, textarea, label):not(.yp-label):not(.yp-pin-count):not(.yp-field-label) {
  font-family: 'neue-haas-grotesk-display', 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Text Pro', 'Neue Haas Grotesque', 'Neue Haas Unica', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}
/* Adobe Fonts: the Text cut for running copy and form fields, Display for headings. */
body.elementor-template-canvas :where(p, label, input, select, textarea, button):not(.yp-label):not(.yp-pin-count):not(.yp-field-label) {
  font-family: 'neue-haas-grotesk-text', 'neue-haas-grotesk-display', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}
/* Mono labels: the editor stores font stacks as one name, so set the stack here. */
body.elementor-template-canvas .yp-label, body.elementor-template-canvas .yp-pin-count, body.elementor-template-canvas .yp-field-label { font-family: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace !important; }

/* Elementor's default container styles outrank the plain rules above, so the pinned section is forced here. */
body.elementor-template-canvas .yp-pin { height: 320vh !important; }
body.elementor-template-canvas .yp-pin .yp-pin-inner { position: sticky !important; top: 0 !important; height: 100vh !important; }
body.elementor-template-canvas .yp-pin .yp-pin-line { font-size: clamp(52px, 12vw, 190px) !important; }
@media (max-width: 767px) { body.elementor-template-canvas .yp-pin { height: 260vh !important; } }
/* Roof variant: a gable roof draws over the logo, holds, then erases. */
.yp-roof { display: none; position: absolute; left: -8%; width: 116%; bottom: 100%; height: 42%; margin-bottom: -1px; pointer-events: none; z-index: 3; }
.yp-roof svg { display: block; width: 100%; height: 100%; overflow: visible; }
html.yp-anim.yp-logo-roof .yp-logo-wrap { overflow: visible !important; margin-top: 38px; }
html.yp-anim.yp-logo-roof .yp-roof { display: block; }
html.yp-anim.yp-logo-roof .yp-roof polyline { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.yp-anim.yp-logo-roof .yp-logo-wrap.yp-shine .yp-roof polyline { animation: ypRoof 2.6s cubic-bezier(.6,0,.3,1) both; }
@keyframes ypRoof { 0% { stroke-dashoffset: 1; } 38% { stroke-dashoffset: 0; } 62% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
/* Elementor adds default padding to containers; the logo box must be exactly the logo. */
body.elementor-template-canvas .yp-logo-wrap { padding: 0 !important; }

/* Google reviews (Trustindex) styled to match the site. */
body.elementor-template-canvas .ti-widget, body.elementor-template-canvas .ti-widget * { font-family: 'neue-haas-grotesk-text', 'neue-haas-grotesk-display', 'Helvetica Neue', Helvetica, Arial, sans-serif !important; }
body.elementor-template-canvas .ti-widget .ti-review-item > .ti-inner { background: #E6E7E9 !important; box-shadow: none !important; border-radius: 0 !important; border: 0 !important; }
body.elementor-template-canvas .ti-widget .ti-review-item .ti-name, body.elementor-template-canvas .ti-widget .ti-review-item .ti-review-content { color: #2C3647 !important; }
body.elementor-template-canvas .ti-widget .ti-review-item .ti-date { color: #666F7E !important; }
body.elementor-template-canvas .ti-widget .ti-review-item .ti-read-more span { color: #2C3647 !important; text-decoration: underline; }
/* Picture bands */
body.elementor-template-canvas .yp-img-wrap { overflow: hidden !important; width: 100% !important; margin-top: 56px; aspect-ratio: 16 / 9; }
body.elementor-template-canvas .yp-img-wrap.yp-img-wide { aspect-ratio: 21 / 9; }
body.elementor-template-canvas .yp-img-wrap.yp-img-std { aspect-ratio: 3 / 2; max-width: 760px !important; }
body.elementor-template-canvas .yp-img-wrap img, body.elementor-template-canvas .yp-img-wrap a { display: block !important; width: 100% !important; height: 100% !important; }
body.elementor-template-canvas .yp-img-wrap img { object-fit: cover !important; }
@media (max-width: 767px) { body.elementor-template-canvas .yp-img-wrap, body.elementor-template-canvas .yp-img-wrap.yp-img-wide, body.elementor-template-canvas .yp-img-wrap.yp-img-std { aspect-ratio: 4 / 3; margin-top: 36px; } }
html.yp-anim .yp-img-wrap::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #EFEFF0; transform-origin: top center; transform: scaleY(1); z-index: 2; pointer-events: none; }
html.yp-anim .yp-img-wrap.yp-in::after { transform: scaleY(0); transition: transform 1.3s cubic-bezier(.7,0,.2,1); }
html.yp-anim .yp-img-wrap img { transform: scale(1.14); transition: transform 1.8s cubic-bezier(.2,.7,.2,1); will-change: transform; }
html.yp-anim .yp-img-wrap.yp-in img { transform: scale(1.06) translateY(var(--py, 0px)); transition: transform .2s linear; }
@media (prefers-reduced-motion: reduce) { html.yp-anim .yp-img-wrap::after { display: none; } html.yp-anim .yp-img-wrap img { transform: none; } }
/* Polish: page transitions, hover, contrast */
@view-transition { navigation: auto; }
body.elementor-template-canvas .yp-thumb { transition: background-color .35s ease; overflow: hidden; }
body.elementor-template-canvas .yp-thumb svg { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
body.elementor-template-canvas .yp-card:hover .yp-thumb { background-color: #D9DBDF !important; }
body.elementor-template-canvas .yp-card:hover .yp-thumb svg { transform: scale(1.05); }
body.elementor-template-canvas .yp-card h3 a, body.elementor-template-canvas .yp-card h3 { transition: opacity .3s ease; }
body.elementor-template-canvas .yp-card:hover h3 { opacity: .7; }
body.elementor-template-canvas .yp-label, body.elementor-template-canvas .yp-body, body.elementor-template-canvas .yp-lede, body.elementor-template-canvas .yp-pin-count { color: #586172 !important; }
body.elementor-template-canvas h1 em, body.elementor-template-canvas h2 em { color: #586172 !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } @view-transition { navigation: none; } }
/* Footer bar lines up with the footer columns above it. */
body.elementor-template-canvas .yp-bar { padding-left: 10px !important; padding-right: 10px !important; }
body.elementor-template-canvas .yp-bar-links { padding-left: 0 !important; padding-right: 0 !important; }

/* Brand dark #2C3647 bands alternating with the light ground */
:root { --yp-gut: max(32px, calc((100vw - 1280px) / 2)); --yp-dark: #2C3647; }
@media (max-width: 767px) { :root { --yp-gut: 20px; } }
body.elementor-template-canvas .yp-pin, body.elementor-template-canvas .yp-dark, body.elementor-template-canvas .yp-footer, body.elementor-template-canvas .yp-bar {
  background-color: #2C3647 !important;
  margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important;
  padding-left: var(--yp-gut) !important; padding-right: var(--yp-gut) !important;
  box-sizing: border-box !important;
  width: 100vw !important; max-width: 100vw !important;
}
body.elementor-template-canvas .yp-pin .yp-pin-inner { padding-left: 0 !important; padding-right: 0 !important; }
body.elementor-template-canvas .yp-pin .yp-pin-line { color: #EFEFF0 !important; }
body.elementor-template-canvas .yp-pin .yp-label, body.elementor-template-canvas .yp-pin .yp-pin-count { color: #A9B0BD !important; position: absolute !important; left: calc(var(--yp-gut) + 10px) !important; }
body.elementor-template-canvas .yp-pin .yp-pin-count { bottom: 28px; top: auto !important; }
body.elementor-template-canvas .yp-pin .yp-label { top: 28px; }
body.elementor-template-canvas .yp-dark { padding-top: 120px !important; padding-bottom: 96px !important; }
body.elementor-template-canvas .yp-dark .yp-big, body.elementor-template-canvas .yp-dark .yp-big .yp-w { color: #EFEFF0 !important; }
body.elementor-template-canvas .yp-dark h2 em, body.elementor-template-canvas .yp-dark .yp-big em .yp-w { color: #A9B0BD !important; }
body.elementor-template-canvas .yp-dark .yp-label, body.elementor-template-canvas .yp-footer .yp-label, body.elementor-template-canvas .yp-bar .yp-label { color: #A9B0BD !important; }
body.elementor-template-canvas .yp-footer .yp-ft-text, body.elementor-template-canvas .yp-footer .yp-ft-text a, body.elementor-template-canvas .yp-bar a { color: #EFEFF0 !important; }
body.elementor-template-canvas .yp-footer { margin-top: 120px !important; margin-bottom: 0 !important; border-color: rgba(239,239,240,.16) !important; padding-top: 36px !important; }
body.elementor-template-canvas .yp-dark + .yp-footer { margin-top: 0 !important; }
body.elementor-template-canvas .yp-bar { padding-top: 8px !important; }
body.elementor-template-canvas .yp-bar:last-child { padding-bottom: 36px !important; }
/* Dark footer: all text light, and the dark band runs to the bottom edge. */
body.elementor-template-canvas .yp-footer p, body.elementor-template-canvas .yp-footer a { color: #EFEFF0 !important; }
body.elementor-template-canvas .yp-footer p.yp-label { color: #A9B0BD !important; }
body.elementor-template-canvas .yp-bar:last-child { margin-bottom: -20px !important; padding-bottom: 56px !important; }
/* Copyright row lines up with the footer columns. */
body.elementor-template-canvas .yp-bar { padding-left: calc(var(--yp-gut) + 10px) !important; padding-right: calc(var(--yp-gut) + 10px) !important; }

/* Dark sections: divider line, ring hint and heading colours */
body.elementor-template-canvas .yp-dark .yp-sec-top { border-color: rgba(239,239,240,.2) !important; }
body.elementor-template-canvas .yp-dark .ypr-hint { color: #A9B0BD !important; }

/* Pinned statement section: dark space after the last line before the band ends. */
body.elementor-template-canvas .yp-pin { height: 340vh !important; padding-bottom: 20vh !important; }
@media (max-width: 767px) { body.elementor-template-canvas .yp-pin { height: 280vh !important; padding-bottom: 14vh !important; } }
/* Footer tidy-up: even columns, one-row copyright bar with the Facebook icon */
body.elementor-template-canvas .yp-footer { column-gap: 48px !important; row-gap: 32px !important; padding-top: 64px !important; padding-bottom: 56px !important; align-items: start !important; }
body.elementor-template-canvas .yp-footer .yp-ft-col { gap: 14px !important; }
body.elementor-template-canvas .yp-footer p.yp-ft-text, body.elementor-template-canvas .yp-footer p:not(.yp-label) { font-size: 15px !important; line-height: 1.75 !important; margin: 0 !important; }
body.elementor-template-canvas .yp-bar { display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; flex-wrap: wrap !important; gap: 14px 32px !important; padding-top: 22px !important; border-style: solid !important; border-width: 1px 0 0 0 !important; border-color: rgba(239,239,240,.16) !important; }
body.elementor-template-canvas .yp-bar-links { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 28px !important; flex-wrap: wrap; }
body.elementor-template-canvas .yp-bar-links .e-svg-base { display: block; width: 22px !important; height: 22px !important; opacity: .9; transition: opacity .25s ease, transform .25s ease; }
body.elementor-template-canvas .yp-bar-links .e-svg-base:hover { opacity: 1; transform: translateY(-2px); }
body.elementor-template-canvas .yp-bar-links .e-svg-base a { display: block; line-height: 0; }
@media (max-width: 767px) { body.elementor-template-canvas .yp-footer { padding-top: 44px !important; padding-bottom: 36px !important; } body.elementor-template-canvas .yp-bar { flex-direction: column !important; align-items: flex-start !important; } }
/* Copyright row: the links group must not stretch to full width, so both sit on one line. */
body.elementor-template-canvas .yp-bar-links { width: auto !important; flex: 0 0 auto !important; padding: 0 !important; margin-left: auto !important; }
body.elementor-template-canvas .yp-bar > p { width: auto !important; margin: 0 !important; }
@media (max-width: 767px) { body.elementor-template-canvas .yp-bar-links { margin-left: 0 !important; } }

/* Body text and ledes on dark bands */
body.elementor-template-canvas .yp-dark .yp-lede, body.elementor-template-canvas .yp-dark .yp-body { color: #C9CED6 !important; }

/* Pinned statements: sized so the longest line fits on one line (desktop) or wraps neatly (phone). */
body.elementor-template-canvas .yp-pin .yp-pin-line { font-size: clamp(32px, 6.6vw, 104px) !important; white-space: nowrap; line-height: 1.08 !important; }
body.elementor-template-canvas .yp-pin .yp-pin-lines { max-width: 100%; }
@media (max-width: 767px) { body.elementor-template-canvas .yp-pin .yp-pin-line { white-space: normal; font-size: 34px !important; padding-left: 20px; padding-right: 20px; box-sizing: border-box; } }
/* Adobe Fonts Neue Haas Grotesk sets wider than Helvetica, so the big headings need less negative tracking. */
body.elementor-template-canvas :where(h1, h2) { letter-spacing: -0.022em !important; word-spacing: 0.04em; }

/* Services: dark principles band with numbered rows, orange step numbers, spacing around the pictures. */
body.elementor-template-canvas .yp-dark .yp-fade-item { border-color: rgba(239,239,240,.2) !important; position: relative; }
body.elementor-template-canvas .yp-dark .yp-fade-item .yp-h4 { color: #EFEFF0 !important; font-size: clamp(26px, 2.8vw, 40px) !important; line-height: 1.1 !important; }
body.elementor-template-canvas .yp-dark .yp-fade-item .yp-h4::before { display: block; margin-bottom: 14px; font-family: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .12em; color: #FAA32C; }
body.elementor-template-canvas .yp-dark .yp-fade-item:nth-child(1) .yp-h4::before { content: '01'; }
body.elementor-template-canvas .yp-dark .yp-fade-item:nth-child(2) .yp-h4::before { content: '02'; }
body.elementor-template-canvas .yp-dark .yp-fade-item:nth-child(3) .yp-h4::before { content: '03'; }
body.elementor-template-canvas .yp-dark .yp-fade-item .yp-body { color: #C9CED6 !important; }
body.elementor-template-canvas .yp-img-wrap.yp-img-wide { margin-top: 24px; margin-bottom: 24px; }

/* Services route: orange step numbers (a deeper orange on the pale ground so they stay readable). */
body.elementor-template-canvas .elementor-element-38db9e91 .yp-label { color: #B36200 !important; font-size: 13px !important; letter-spacing: .12em; }

/* Project cards: real photographs fill the thumbnail frame. */
body.elementor-template-canvas .yp-thumb { overflow: hidden; }
body.elementor-template-canvas .yp-thumb img { display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; }
body.elementor-template-canvas .yp-thumb:has(img) { padding: 0 !important; aspect-ratio: 3 / 2; width: 100%; }
body.elementor-template-canvas .yp-thumb a { display: block !important; width: 100% !important; height: 100% !important; }

/* People portraits: all frames 4:5; a real photograph fills its frame. */
body.elementor-template-canvas .yp-portrait { aspect-ratio: 4 / 5 !important; min-height: 0 !important; }
body.elementor-template-canvas .yp-portrait:has(img) { padding: 0 !important; overflow: hidden; }
body.elementor-template-canvas .yp-portrait img { display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: 50% 20%; }

/* Top-level pictures on Project 1 and Services line up with the text edge (text containers carry 10px padding). */
body.elementor-template-canvas .elementor-element-4e3286d4, body.elementor-template-canvas .elementor-element-6e0f7d90, body.elementor-template-canvas .elementor-element-6c4b3e03, body.elementor-template-canvas .elementor-element-2bd230af, body.elementor-template-canvas .elementor-element-4e22ebfc, body.elementor-template-canvas .elementor-element-232f026f { margin-left: 10px !important; margin-right: 10px !important; width: calc(100% - 20px) !important; box-sizing: border-box; }

/* Project 2 gallery: the pair holds a portrait photo, so use 4:5 frames there. */
body.page-id-980 .elementor-element-2bd230af .yp-img-wrap { aspect-ratio: 4 / 5 !important; }

/* Project 5 gallery: landscape frames 4:3, portrait frames 3:4, blocks aligned to the text edge. */
body.page-id-1020 .elementor-element-4bc33afb.yp-img-wrap { aspect-ratio: 4 / 3 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-4ec5d8ba.yp-img-wrap { aspect-ratio: 4 / 3 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-6aeb98c3.yp-img-wrap { aspect-ratio: 4 / 3 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-5d21998c.yp-img-wrap { aspect-ratio: 4 / 3 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-7a2dabb6.yp-img-wrap { aspect-ratio: 4 / 3 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-dc5f0c2.yp-img-wrap { aspect-ratio: 4 / 3 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-32559f2b.yp-img-wrap { aspect-ratio: 3 / 4 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-2e0477ca.yp-img-wrap { aspect-ratio: 3 / 4 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-70a191c4.yp-img-wrap { aspect-ratio: 3 / 4 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-7f4c8496.yp-img-wrap { aspect-ratio: 3 / 4 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-46228f94.yp-img-wrap { aspect-ratio: 3 / 4 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-61c0c71.yp-img-wrap { aspect-ratio: 3 / 4 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-fb0ba7e.yp-img-wrap { aspect-ratio: 3 / 4 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-5df47b07.yp-img-wrap { aspect-ratio: 3 / 4 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-3bc7b265.yp-img-wrap { aspect-ratio: 3 / 4 !important; margin-top: 0 !important; }
body.page-id-1020 .elementor-element-162e6a8, body.page-id-1020 .elementor-element-6daea368, body.page-id-1020 .elementor-element-9234217, body.page-id-1020 .elementor-element-2ddc27f5, body.page-id-1020 .elementor-element-24841173, body.page-id-1020 .elementor-element-34c6de76, body.page-id-1020 .elementor-element-1e28d0ae { margin-left: 10px !important; margin-right: 10px !important; width: calc(100% - 20px) !important; box-sizing: border-box; }

/* Project 6 gallery (page 1025): same frame rules as Project 5. */
body.page-id-1025 .elementor-element-7a2dabb6.yp-img-wrap { aspect-ratio: 4 / 3 !important; margin-top: 0 !important; }
body.page-id-1025 .elementor-element-dc5f0c2.yp-img-wrap { aspect-ratio: 4 / 3 !important; margin-top: 0 !important; }
body.page-id-1025 .elementor-element-61c0c71.yp-img-wrap { aspect-ratio: 3 / 4 !important; margin-top: 0 !important; }
body.page-id-1025 .elementor-element-fb0ba7e.yp-img-wrap { aspect-ratio: 3 / 4 !important; margin-top: 0 !important; }
body.page-id-1025 .elementor-element-5df47b07.yp-img-wrap { aspect-ratio: 3 / 4 !important; margin-top: 0 !important; }
body.page-id-1025 .elementor-element-3bc7b265.yp-img-wrap { aspect-ratio: 3 / 4 !important; margin-top: 0 !important; }
body.page-id-1025 .elementor-element-5d21998c.yp-img-wrap { margin-top: 0 !important; }
body.page-id-1025 .elementor-element-6daea368, body.page-id-1025 .elementor-element-9234217, body.page-id-1025 .elementor-element-34c6de76, body.page-id-1025 .elementor-element-1e28d0ae { margin-left: 10px !important; margin-right: 10px !important; margin-top: 24px !important; width: calc(100% - 20px) !important; box-sizing: border-box; padding: 0 !important; }

/* Strategy page: numbered rows, consistent text size, pictures aligned to the text edge. */
body.page-id-939 .elementor-element-2ebec70b, body.page-id-939 .elementor-element-1c91b1f6 { margin-left: 10px !important; margin-right: 10px !important; width: calc(100% - 20px) !important; box-sizing: border-box; }
body.page-id-939 .elementor-element-5c1f91c6 { display: flex !important; flex-direction: column !important; counter-reset: ystr; margin-top: 48px !important; padding: 0 !important; }
body.page-id-939 .elementor-element-5c1f91c6 > .elementor-element { display: grid !important; grid-template-columns: 96px minmax(0, 1fr) !important; column-gap: 24px !important; align-items: baseline !important; padding: 30px 0 !important; border-top: 1px solid #D2D4D8 !important; counter-increment: ystr; }
body.page-id-939 .elementor-element-5c1f91c6 > .elementor-element:last-child { border-bottom: 1px solid #D2D4D8 !important; }
body.page-id-939 .elementor-element-5c1f91c6 > .elementor-element::before { content: counter(ystr, decimal-leading-zero); font-family: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace; font-size: 13px; letter-spacing: .12em; color: #B36200; }
body.page-id-939 .elementor-element-5c1f91c6 > .elementor-element p { margin: 0 !important; max-width: 52ch !important; font-size: 22px !important; line-height: 1.4 !important; color: #2C3647 !important; }
body.page-id-939 .elementor-element-58f45d7b { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 40px 56px !important; counter-reset: ystd; margin-top: 56px !important; padding: 0 !important; }
body.page-id-939 .elementor-element-58f45d7b > p { margin: 0 !important; padding: 22px 0 0 !important; border-top: 1px solid rgba(239,239,240,.25) !important; font-size: 20px !important; line-height: 1.45 !important; color: #E4E7EC !important; max-width: 46ch; counter-increment: ystd; }
body.page-id-939 .elementor-element-58f45d7b > p::before { content: counter(ystd, decimal-leading-zero); display: block; margin-bottom: 14px; font-family: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .12em; color: #FAA32C; }
@media (max-width: 767px) { body.page-id-939 .elementor-element-5c1f91c6 > .elementor-element { grid-template-columns: 44px minmax(0, 1fr) !important; column-gap: 12px !important; padding: 22px 0 !important; } body.page-id-939 .elementor-element-5c1f91c6 > .elementor-element p { font-size: 19px !important; } body.page-id-939 .elementor-element-58f45d7b { grid-template-columns: minmax(0, 1fr) !important; gap: 28px !important; } }
body.page-id-939 .elementor-element-5c1f91c6 > .elementor-element::before { position: static !important; grid-column: 1 !important; transform: none !important; width: auto !important; height: auto !important; background: none !important; opacity: 1 !important; }
body.page-id-939 .elementor-element-5c1f91c6 > .elementor-element > p { grid-column: 2 !important; }
body.page-id-939 .elementor-element-58f45d7b > p::before { position: static !important; transform: none !important; width: auto !important; height: auto !important; background: none !important; opacity: 1 !important; }

/* Every number on the site uses the logo orange #FAA22A. */
body.elementor-template-canvas .elementor-element-38db9e91 .yp-label { color: #FAA22A !important; }
body.elementor-template-canvas .elementor-element-1cd8a7cc, body.elementor-template-canvas .elementor-element-663a3f82, body.elementor-template-canvas .elementor-element-11aa3136 { color: #FAA22A !important; }
body.elementor-template-canvas .yp-pin .yp-pin-count { color: #FAA22A !important; }
body.elementor-template-canvas .yp-dark .yp-fade-item .yp-h4::before { color: #FAA22A !important; }
body.page-id-939 .elementor-element-5c1f91c6 > .elementor-element::before { color: #FAA22A !important; }
body.page-id-939 .elementor-element-58f45d7b > p::before { color: #FAA22A !important; }
body.elementor-template-canvas .elementor-element-31f85c11 > p.yp-label:first-child, body.elementor-template-canvas .elementor-element-2dcb9a87 > p.yp-label:first-child, body.elementor-template-canvas .elementor-element-24d6d0a6 > p.yp-label:first-child { color: #FAA22A !important; }

/* Logo fades in on every page. */
@keyframes ypLogoFade { from { opacity: 0; } to { opacity: 1; } }
body.elementor-template-canvas .yp-logo-wrap { position: relative; overflow: visible !important; }
body.elementor-template-canvas .yp-logo-wrap img { animation: ypLogoFade .35s ease-out 1.15s both; }
@keyframes ypSkDraw { to { stroke-dashoffset: 0; } }
@keyframes ypSkWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes ypSketchOut { to { opacity: 0; } }
.yp-sketch { position: absolute; left: -17.58%; top: -17.58%; width: 135.16%; height: 135.16%; overflow: visible; pointer-events: none; z-index: 3; animation: ypSketchOut .9s ease-in-out 2.1s both; }
.yp-sketch path, .yp-sketch text { fill: none; stroke: #2C3647; stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-linecap: square; }
.yp-sketch text { font-family: 'neue-haas-grotesk-display', 'Helvetica Neue', Helvetica, Arial, sans-serif; stroke-width: .9; }
.yp-sketch .sk-g { opacity: .38; }
.yp-sketch .sk-dim { opacity: .7; }
.yp-sketch .sk-d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ypSkDraw var(--t, .7s) cubic-bezier(.5, 0, .2, 1) var(--d, 0s) both; }
.yp-sketch .sk-w { clip-path: inset(0 100% 0 0); animation: ypSkWipe var(--t, 1s) cubic-bezier(.6, 0, .3, 1) var(--d, 1s) both; }
@media (prefers-reduced-motion: reduce) { body.elementor-template-canvas .yp-logo-wrap img { animation: none; } .yp-sketch { display: none; } }

/* Home hero street elevation. */
.yp-hd { display: none; position: absolute; left: 10px; right: 10px; top: -30px; height: clamp(120px, 15vw, 190px); pointer-events: none; z-index: 0; }
@media (min-width: 768px) { .yp-hd { display: block; } body.page-id-778 .yp-hd-host { padding-top: calc(clamp(120px, 15vw, 190px) - 6px) !important; } }
.yp-hd svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.yp-hd .hd-d { fill: none; stroke: #2C3647; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linecap: square; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hdDraw var(--t, .7s) cubic-bezier(.5, 0, .2, 1) var(--d, 0s) both; }
.yp-hd .hd-d.w { stroke-opacity: .85; }
.yp-hd .hd-d.d { stroke-opacity: .5; }
.yp-hd .hd-dash { fill: none; stroke: #2C3647; stroke-opacity: .3; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 6; animation: hdFade 1.6s ease-out 1.2s both; }
.yp-hd .hd-t { font-family: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace; font-size: 9px; letter-spacing: .08em; fill: #586172; opacity: 0; animation: hdFade 1.2s ease-out 3.1s both; }
.yp-hd .hd-sun { fill: #FAA22A; opacity: 0; animation: hdFade 1.2s ease-out 3.3s both; }
@keyframes hdDraw { to { stroke-dashoffset: 0; } }
@keyframes hdFade { to { opacity: 1; } }
.yp-hd-grid { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(44,54,71,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(44,54,71,.16) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(circle 150px at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 100%); mask-image: radial-gradient(circle 150px at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 100%); }
@media (prefers-reduced-motion: reduce) { .yp-hd .hd-d { animation: none; stroke-dashoffset: 0; } .yp-hd .hd-dash, .yp-hd .hd-t, .yp-hd .hd-sun { animation: none; opacity: 1; } .yp-hd .hd-dash { opacity: 1; } }

/* Hero elevation, refined: line-weight hierarchy and orange section line. */
.yp-hd .hd-d.w { stroke-width: 1.3; stroke-opacity: .9; }
.yp-hd .hd-d.m { stroke-width: .8; stroke-opacity: .72; }
.yp-hd .hd-d.d { stroke-width: .6; stroke-opacity: .55; }
.yp-hd .hd-d.h { stroke-width: .5; stroke-opacity: .38; }
.yp-hd .hd-dash { stroke-opacity: .2; stroke-dasharray: 2 5; }
.yp-hd .hd-t { font-size: 10px; animation-delay: var(--d, 3.1s); }
.yp-hd .hd-or { fill: none; stroke: #FAA22A; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 10 3 2 3; opacity: 0; animation: hdFade 1s ease-out 2.95s both; }
.yp-hd .hd-orc { fill: none; stroke: #FAA22A; stroke-width: 1.1; vector-effect: non-scaling-stroke; opacity: 0; animation: hdFade 1s ease-out 3s both; }
@media (prefers-reduced-motion: reduce) { .yp-hd .hd-or, .yp-hd .hd-orc { animation: none; opacity: 1; } .yp-hd .hd-t { animation: none; opacity: 1; } }

/* Intro screen. */
#yp-intro { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 99999; background: #EFEFF0; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer; transition: background-color .9s ease; }
#yp-intro.ypi-clear { background-color: rgba(239,239,240,0); pointer-events: none; }
#yp-intro .ypi-stage { position: relative; flex: none; }
#yp-intro svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; transition: opacity .4s ease; }
#yp-intro.ypi-svgoff svg { opacity: 0; }
#yp-intro text { font-family: 'neue-haas-grotesk-display', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700; text-anchor: middle; fill: #2C3647; transition: fill .6s ease; }
#yp-intro text.ypi-arch { font-weight: 400; }
#yp-intro text.y { fill: #FAA22A; }
#yp-intro text.a { fill: #B3BAC6; }
#yp-intro.ypi-fill text.y { fill: #fff; }
#yp-intro.ypi-fill text.a { fill: #D6DAE2; }
#yp-intro .ypi-tile { fill: #FAA22A; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .75s cubic-bezier(.7, 0, .2, 1); }
#yp-intro.ypi-fill .ypi-tile { transform: scaleY(1); }
#yp-intro .ypi-lines { opacity: 0; transition: opacity .35s ease; }
#yp-intro.ypi-draw .ypi-lines { opacity: 1; }
#yp-intro.ypi-fill .ypi-lines { opacity: 0; transition: opacity .6s ease; }
#yp-intro .ypi-lines path { fill: none; stroke: #2C3647; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 1; }
#yp-intro.ypi-draw .ypi-lines path { animation: ypiDraw var(--t, .7s) cubic-bezier(.5, 0, .2, 1) var(--d, 0s) both; }
@keyframes ypiDraw { to { stroke-dashoffset: 0; } }
#yp-intro .ypi-logo { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; transform-origin: 50% 50%; transition: opacity .35s ease, transform 1s cubic-bezier(.7, 0, .2, 1); will-change: transform; pointer-events: none; }
#yp-intro .ypi-logo.on { opacity: 1; }
html.yp-intro-hold .yp-logo-wrap { visibility: hidden; }
html.yp-intro-done .yp-logo-wrap img { animation: none !important; opacity: 1 !important; }
html.yp-intro-done .yp-sketch { display: none !important; }

/* Mini header-logo animation (pages without the big intro). */
.yp-mini { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; transition: opacity .35s ease; }
.yp-mini.ypm-off { opacity: 0; }
.yp-mini text { font-family: 'neue-haas-grotesk-display', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700; text-anchor: middle; fill: #2C3647; transition: fill .45s ease; }
.yp-mini text.ypm-arch { font-weight: 400; }
.yp-mini text.y { fill: #FAA22A; }
.yp-mini text.a { fill: #B3BAC6; }
.yp-mini.ypm-fill text.y { fill: #fff; }
.yp-mini.ypm-fill text.a { fill: #D6DAE2; }
.yp-mini .ypm-tile { fill: #FAA22A; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .6s cubic-bezier(.7, 0, .2, 1); }
.yp-mini.ypm-fill .ypm-tile { transform: scaleY(1); }
html.ypm-run body.elementor-template-canvas .yp-logo-wrap img { animation: none !important; opacity: 0; transition: opacity .35s ease; }
html.ypm-run.ypm-in body.elementor-template-canvas .yp-logo-wrap img { opacity: 1; }

/* Statement band: no longer pinned. A compact dark band that scrolls past normally; the lines still fade in as it goes by. */
body.elementor-template-canvas .yp-pin { height: auto !important; min-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
body.elementor-template-canvas .yp-pin .yp-pin-inner { position: relative !important; top: auto !important; height: auto !important; min-height: 0 !important; padding-top: clamp(96px, 20vh, 180px) !important; padding-bottom: clamp(88px, 18vh, 160px) !important; box-sizing: border-box !important; }

/* Header call-to-action button on every page. */
body.elementor-template-canvas .yp-nav .yp-btn, body.elementor-template-canvas .yp-nav a.e-button-base { margin: 0 0 0 8px !important; padding: 11px 18px !important; font-size: 14px !important; line-height: 1.1 !important; background-color: #FAA22A !important; color: #2C3647 !important; text-decoration: none !important; white-space: nowrap; }
body.elementor-template-canvas .yp-nav .yp-btn:hover, body.elementor-template-canvas .yp-nav a.e-button-base:hover { background-color: #E8931F !important; }

/* Home: customer-requested hero statement and call-to-action buttons. */
body.page-id-778 h1.yp-big { font-size: clamp(28px, 3.4vw, 48px) !important; line-height: 1.14 !important; letter-spacing: -.018em !important; text-transform: none !important; max-width: 100%; }
body.page-id-778 a.yp-btn { margin-top: 0 !important; text-align: left; white-space: normal; max-width: 100%; box-sizing: border-box; }
body.page-id-778 .yp-nav a.yp-btn { white-space: nowrap; text-align: center; }
body.page-id-778 .yp-pin .yp-pin-inner { padding-bottom: 40px !important; }
@media (max-width: 767px) { body.page-id-778 h1.yp-big { font-size: 28px !important; } body.page-id-778 a.yp-btn { width: 100%; } body.page-id-778 .yp-nav a.yp-btn { width: auto; } }
body.elementor-template-canvas div:has(> p.yp-navlink) > a.yp-btn { margin: 0 0 0 8px !important; padding: 11px 18px !important; font-size: 14px !important; line-height: 1.1 !important; background-color: #FAA22A !important; color: #2C3647 !important; text-decoration: none !important; white-space: nowrap !important; text-align: center !important; width: auto !important; }
body.elementor-template-canvas div:has(> p.yp-navlink) > a.yp-btn:hover { background-color: #E8931F !important; }
@media (max-width: 767px) { body.elementor-template-canvas div:has(> p.yp-navlink) > a.yp-btn { margin-left: 0 !important; } }

/* award badge */
img.yp-award{width:96px !important;max-width:100% !important;height:auto !important;margin-left:auto;display:block;flex:0 0 auto}
footer img.yp-award,body.elementor-template-canvas div:has(> div > p) > img.yp-award{width:110px !important}
@media (max-width:767px){img.yp-award{margin-left:0;width:84px !important}}

.yp-footer > img.yp-award{grid-column:1 / -1;margin:8px 0 0 0 !important;width:96px !important;filter:invert(.94)}

body.page-id-778 .elementor-element-3d9d3334 > img.yp-award{position:absolute !important;right:6px;top:98px;margin:0 !important;width:64px !important;z-index:5}
.yp-footer > img.yp-award{width:72px !important}
@media (max-width:767px){body.page-id-778 .elementor-element-3d9d3334 > img.yp-award{position:static !important;width:56px !important;margin-top:8px !important}}

.yp-cta{padding:8px 24px 56px !important;margin:0 !important}
@media (max-width:767px){.yp-cta{padding:8px 16px 40px !important}}

.yp-cta{padding:32px 12px 56px !important}
@media (max-width:767px){.yp-cta{padding:24px 0 40px !important}}

/* lighter GPU use on older laptops */
html.yp-anim .yp-img-wrap img, .yp-drift{will-change:auto !important}

body.page-id-1025 .elementor-element-7a2dabb6.yp-img-wrap, body.page-id-1025 .elementor-element-dc5f0c2.yp-img-wrap { aspect-ratio: 1 / 1 !important; }
body.page-id-1025 .elementor-element-dc5f0c2.yp-img-wrap img { object-position: center 25% !important; }

/* home hero: show the whole three-panel composite */
body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap { aspect-ratio: 1983 / 793 !important; margin-top: 8px !important; }
body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap img { object-fit: cover !important; }
@media (max-width: 767px) { body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap { aspect-ratio: 1983 / 793 !important; margin-top: 8px !important; } }

/* Section rhythm: 96px above and below every section; call-to-action blocks hug the section above */
body.elementor-template-canvas .yp-sec, body.elementor-template-canvas .yp-dark { padding-top: 96px !important; padding-bottom: 96px !important; }
body.elementor-template-canvas .yp-sec:has(+ .yp-cta) { padding-bottom: 0 !important; }
body.elementor-template-canvas .yp-cta { padding: 40px 12px 96px !important; margin: 0 !important; }
body.elementor-template-canvas .yp-dark + .yp-cta, body.elementor-template-canvas .yp-pin + .yp-cta { padding-top: 96px !important; }
body.elementor-template-canvas .yp-cta + .yp-sec { padding-top: 0 !important; }
body.page-id-778 .elementor-element-9a563a4, body.page-id-778 .elementor-element-5085e24c, body.page-id-778 .elementor-element-6a26ad8b { padding-bottom: 96px !important; }
body.page-id-778 .elementor-element-5085e24c, body.page-id-778 .elementor-element-6a26ad8b, body.page-id-778 .elementor-element-60e08e89, body.page-id-778 .elementor-element-30f13c34 { padding-top: 96px !important; }
body.page-id-778 .elementor-element-60e08e89, body.page-id-778 .elementor-element-30f13c34 { padding-bottom: 96px !important; }
@media (max-width: 767px) {
  body.elementor-template-canvas .yp-sec, body.elementor-template-canvas .yp-dark { padding-top: 64px !important; padding-bottom: 64px !important; }
  body.elementor-template-canvas .yp-sec:has(+ .yp-cta) { padding-bottom: 0 !important; }
  body.elementor-template-canvas .yp-cta { padding: 32px 0 64px !important; }
  body.elementor-template-canvas .yp-dark + .yp-cta, body.elementor-template-canvas .yp-pin + .yp-cta { padding-top: 64px !important; }
  body.page-id-778 .elementor-element-9a563a4, body.page-id-778 .elementor-element-5085e24c, body.page-id-778 .elementor-element-6a26ad8b { padding-bottom: 64px !important; }
  body.page-id-778 .elementor-element-5085e24c, body.page-id-778 .elementor-element-6a26ad8b, body.page-id-778 .elementor-element-60e08e89, body.page-id-778 .elementor-element-30f13c34 { padding-top: 64px !important; }
  body.page-id-778 .elementor-element-60e08e89, body.page-id-778 .elementor-element-30f13c34 { padding-bottom: 64px !important; }
}
/* home badge: top right of the hero photo */
body.page-id-778 .elementor-element-759ea29d { position: relative; }
body.page-id-778 .elementor-element-759ea29d > img.yp-award { position: absolute !important; top: 24px; right: 24px; left: auto; margin: 0 !important; width: 84px !important; z-index: 6; }
@media (max-width: 767px) { body.page-id-778 .elementor-element-759ea29d > img.yp-award { position: absolute !important; top: 10px; right: 10px; width: 54px !important; margin: 0 !important; } }

body.page-id-778 .elementor-element-759ea29d > img.yp-award { box-sizing: content-box !important; background: rgba(239,239,240,.94); padding: 10px 12px 6px; top: 16px; right: 16px; width: 76px !important; }
@media (max-width: 767px) { body.page-id-778 .elementor-element-759ea29d > img.yp-award { width: 50px !important; padding: 6px 8px 4px; top: 8px; right: 8px; } }

/* Footer tidy: line up with the page's content edge (63px), even padding top and bottom */
@media (min-width: 768px) {
  body.elementor-template-canvas .yp-footer { padding: 80px 53px 40px !important; row-gap: 28px !important; }
  body.elementor-template-canvas .yp-footer > img.yp-award { margin: 8px 0 0 10px !important; }
  body.elementor-template-canvas .yp-bar { padding: 24px 63px 40px !important; }
  body.elementor-template-canvas .yp-cta { padding-left: 10px !important; padding-right: 10px !important; }
}

@media (max-width: 767px) {
  body.elementor-template-canvas .yp-footer { padding: 56px 30px 32px !important; }
  body.elementor-template-canvas .yp-footer > img.yp-award { margin: 4px 0 0 10px !important; }
  body.elementor-template-canvas .yp-bar { padding: 20px 40px 32px !important; }
}

/* Project 2: show every photo straight away, no scroll-reveal cover or zoom (some laptops never trigger it) */
html.yp-anim body.page-id-980 .yp-img-wrap::after { display: none !important; }
html.yp-anim body.page-id-980 .yp-img-wrap img, body.page-id-980 .yp-img-wrap img.yp-drift { transform: none !important; will-change: auto !important; opacity: 1 !important; visibility: visible !important; transition: none !important; }

/* Projects 1, 3, 4, 5, 6: same as Project 2, show every photo straight away */
html.yp-anim body.page-id-871 .yp-img-wrap::after,
html.yp-anim body.page-id-991 .yp-img-wrap::after,
html.yp-anim body.page-id-1001 .yp-img-wrap::after,
html.yp-anim body.page-id-1020 .yp-img-wrap::after,
html.yp-anim body.page-id-1025 .yp-img-wrap::after { display: none !important; }
body.page-id-871 .yp-img-wrap img, body.page-id-871 .yp-img-wrap img.yp-drift,
body.page-id-991 .yp-img-wrap img, body.page-id-991 .yp-img-wrap img.yp-drift,
body.page-id-1001 .yp-img-wrap img, body.page-id-1001 .yp-img-wrap img.yp-drift,
body.page-id-1020 .yp-img-wrap img, body.page-id-1020 .yp-img-wrap img.yp-drift,
body.page-id-1025 .yp-img-wrap img, body.page-id-1025 .yp-img-wrap img.yp-drift { transform: none !important; will-change: auto !important; opacity: 1 !important; visibility: visible !important; transition: none !important; }

/* home hero: loft photo (16:9) */
body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap { aspect-ratio: 2560 / 1433 !important; }
@media (max-width: 767px) { body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap { aspect-ratio: 4 / 3 !important; } }

/* home hero: headline sits on the photo, over a soft dark gradient */
@media (min-width: 768px) {
  body.page-id-778 .elementor-element-759ea29d::before { content: ''; position: absolute; left: 10px; width: calc(100% - 20px); height: auto; bottom: auto; top: 18px; aspect-ratio: 2560 / 1433; background: linear-gradient(to top, rgba(18,24,36,.78) 0%, rgba(18,24,36,.5) 28%, rgba(18,24,36,0) 62%); pointer-events: none; z-index: 1; }
  body.page-id-778 .elementor-element-759ea29d > h1.yp-big { position: absolute !important; left: 54px; right: 54px; bottom: 92px; max-width: 76% !important; font-size: clamp(26px, 3vw, 42px) !important; margin: 0 !important; z-index: 3; color: #fff !important; text-shadow: 0 1px 18px rgba(0,0,0,.28); }
  body.page-id-778 .elementor-element-759ea29d > h1.yp-big em { color: rgba(255,255,255,.82) !important; }
}

/* home: three generations of people, cut out and standing on the page */
body.page-id-778 .e-ypppl { padding: 0 10px 96px !important; }
body.page-id-778 .e-ypprow { display: flex !important; justify-content: center; align-items: flex-end; gap: 44px; }
body.page-id-778 .e-ypprow img.e-yppimg { height: 340px !important; width: auto !important; max-width: none !important; mix-blend-mode: multiply; display: block; object-fit: contain; }
@media (max-width: 767px) { body.page-id-778 .e-ypppl { padding: 0 0 64px !important; } body.page-id-778 .e-ypprow { flex-wrap: wrap; gap: 20px 24px; } body.page-id-778 .e-ypprow img.e-yppimg { height: 170px !important; } }

/* home: people fade in one after another (only when the script is running) */
html.yp-people-anim body.page-id-778 .e-ypprow img.e-yppimg { opacity: 0; transform: translateY(18px); transition: opacity 1.3s ease, transform 1.3s ease; }
html.yp-people-anim body.page-id-778 .e-ypprow img.e-yppimg.yp-shown { opacity: 1; transform: none; }

/* home people: heading, then the three groups one under another */
body.page-id-778 .e-ypprow { flex-direction: column !important; align-items: center !important; gap: 56px !important; }
body.page-id-778 .e-ypprow img.e-yppimg { height: 380px !important; }
html.yp-people-anim body.page-id-778 .e-ypppl h2 { opacity: 0; transform: translateY(14px); transition: opacity 1.2s ease, transform 1.2s ease; }
html.yp-people-anim body.page-id-778 .e-ypppl h2.yp-shown { opacity: 1; transform: none; }
@media (max-width: 767px) { body.page-id-778 .e-ypprow { gap: 36px !important; flex-wrap: nowrap !important; } body.page-id-778 .e-ypprow img.e-yppimg { height: 230px !important; max-width: 100% !important; width: auto !important; } }

/* home people: text on the left, the three groups take turns in the same spot on the right */
@media (min-width: 768px) {
  body.page-id-778 .e-ypppl { display: grid !important; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: center; }
  body.page-id-778 .e-ypppl h2 { margin-top: 0 !important; }
}
body.page-id-778 .e-ypptext .e-yppintro { max-width: 46ch; margin-top: 28px !important; font-size: 18px; line-height: 1.6; }
body.page-id-778 .e-ypppl .e-ypprow { display: block !important; position: relative; height: 400px; width: 100%; }
body.page-id-778 .e-ypppl .e-ypprow img.e-yppimg { position: absolute !important; left: 50%; bottom: 0; transform: translateX(-50%); opacity: 0; height: 380px !important; width: auto !important; transition: none; }
body.page-id-778 .e-ypppl .e-ypprow > :first-child img.e-yppimg, body.page-id-778 .e-ypppl .e-ypprow img.e-yppimg:first-child { opacity: 1; }
html.yp-people-anim body.page-id-778 .e-ypppl .e-ypprow img.e-yppimg { opacity: 0; transform: translateX(-50%); transition: none; }
html.yp-people-anim body.page-id-778 .e-ypppl.yp-live .e-ypprow img.e-yppimg { animation: yppcycle 12s ease-in-out infinite both; }
html.yp-people-anim body.page-id-778 .e-ypppl.yp-live .e-ypprow img.e-yppimg:nth-child(2) { animation-delay: 4s; }
html.yp-people-anim body.page-id-778 .e-ypppl.yp-live .e-ypprow img.e-yppimg:nth-child(3) { animation-delay: 8s; }
@keyframes yppcycle { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }
html.yp-people-anim body.page-id-778 .e-ypppl .e-yppintro { opacity: 0; transform: translateY(14px); transition: opacity 1.2s ease, transform 1.2s ease; }
html.yp-people-anim body.page-id-778 .e-ypppl .e-yppintro.yp-shown { opacity: 1; transform: none; }
@media (max-width: 767px) { body.page-id-778 .e-ypppl .e-ypprow { height: 280px; margin-top: 24px; } body.page-id-778 .e-ypppl .e-ypprow img.e-yppimg { height: 260px !important; max-width: 92% !important; } body.page-id-778 .e-ypptext .e-yppintro { font-size: 16px; } }

/* How we deliver hero: keep the couple's heads in frame */
body.page-id-939 .yp-img-wrap img[id="1266"] { object-position: 50% 0% !important; }

body.page-id-939 .yp-img-wrap img[id="1266"] { transform: none !important; will-change: auto !important; }

/* About hero: Phil's portrait photo shown upright so his face is in frame */
body.page-id-822 .elementor-element-66dc45b0 .yp-img-wrap { aspect-ratio: 4 / 5 !important; max-width: 460px !important; }
body.page-id-822 .elementor-element-66dc45b0 .yp-img-wrap img { object-position: 50% 12% !important; transform: none !important; will-change: auto !important; }

/* About: tidy the story section (heading size, upright portrait, even text rhythm) */
body.page-id-822 .elementor-element-46758a9a h1 { font-size: clamp(38px, 4.4vw, 64px) !important; line-height: 1.06 !important; letter-spacing: -.02em !important; }
body.page-id-822 .elementor-element-46758a9a .elementor-element-7a6bbf8f { width: 100% !important; max-width: 400px !important; aspect-ratio: 4 / 5 !important; margin-top: 36px !important; overflow: hidden !important; }
body.page-id-822 .elementor-element-46758a9a .elementor-element-7a6bbf8f img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: 50% 6% !important; transform: none !important; will-change: auto !important; }
body.page-id-822 .elementor-element-46758a9a .elementor-element-4ae04b55 { margin-top: 14px !important; font-size: 13px !important; letter-spacing: .06em; }
body.page-id-822 .elementor-element-7ae5d242 p { font-size: 18px !important; line-height: 1.7 !important; max-width: 58ch; margin: 0 0 22px !important; }
body.page-id-822 .elementor-element-7ae5d242 p:last-child { margin-bottom: 0 !important; }
@media (max-width: 767px) { body.page-id-822 .elementor-element-46758a9a h1 { font-size: 40px !important; } body.page-id-822 .elementor-element-46758a9a .elementor-element-7a6bbf8f { max-width: 320px !important; } body.page-id-822 .elementor-element-7ae5d242 p { font-size: 16px !important; } }

body.page-id-822 .elementor-element-46758a9a .elementor-element-1cc01fe2 { justify-content: flex-start !important; gap: 0 !important; }
body.page-id-822 .elementor-element-46758a9a .elementor-element-7a6bbf8f { margin-top: 32px !important; }

/* Phones: menu behind a button in the top right; hero sits higher */
.yp-burger { display: none; }
@media (max-width: 767px) {
  body.elementor-template-canvas .yp-hdr { position: relative; display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; padding: 14px 20px !important; min-height: 0; }
  body.elementor-template-canvas .yp-hdr img { max-width: 52px; height: auto; }
  .yp-burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; padding: 12px 10px; background: transparent; border: 0; cursor: pointer; z-index: 60; margin-left: auto; }
  .yp-burger span { display: block; height: 2px; width: 100%; background: #2C3647; transition: transform .25s ease, opacity .2s ease; }
  .yp-hdr.yp-menu-open .yp-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .yp-hdr.yp-menu-open .yp-burger span:nth-child(2) { opacity: 0; }
  .yp-hdr.yp-menu-open .yp-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  body.elementor-template-canvas .yp-hdr > div:has(> p.yp-navlink) { display: none !important; position: absolute; top: calc(100% + 4px); left: 16px; right: 16px; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; padding: 6px 22px 22px !important; background: #EFEFF0; box-shadow: 0 20px 44px rgba(44,54,71,.2); z-index: 50; width: auto !important; }
  body.elementor-template-canvas .yp-hdr.yp-menu-open > div:has(> p.yp-navlink) { display: flex !important; }
  body.elementor-template-canvas .yp-hdr > div:has(> p.yp-navlink) > p, body.elementor-template-canvas .yp-hdr > div:has(> p.yp-navlink) > a { font-size: 20px !important; padding: 15px 0 !important; border-bottom: 1px solid rgba(44,54,71,.12); margin: 0 !important; }
  body.elementor-template-canvas .yp-hdr > div:has(> p.yp-navlink) a.yp-btn { margin: 18px 0 0 !important; width: 100% !important; text-align: center; border-bottom: 0 !important; padding: 15px 18px !important; }
  body.elementor-template-canvas .yp-hdr + * { padding-top: 20px !important; }
  body.page-id-778 .elementor-element-9a563a4 { padding-top: 6px !important; }
  body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap { margin-top: 0 !important; }
}

@media (max-width: 767px) { body.elementor-template-canvas .yp-hdr > div:has(> p.yp-navlink) > p a { font-size: inherit !important; display: block; } body.elementor-template-canvas .yp-hdr > div:has(> p.yp-navlink) > p:last-of-type { border-bottom: 0; } }

/* Tablets (iPad): same menu button as phones, so the logo and links never collide */
@media (max-width: 1100px) {
  body.elementor-template-canvas .yp-hdr { position: relative; display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; padding: 14px 24px !important; min-height: 0; }
  body.elementor-template-canvas .yp-hdr img.e-image-base { max-width: 72px; height: auto; }
  .yp-burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; padding: 12px 10px; background: transparent; border: 0; cursor: pointer; z-index: 60; margin-left: auto; }
  .yp-burger span { display: block; height: 2px; width: 100%; background: #2C3647; transition: transform .25s ease, opacity .2s ease; }
  .yp-hdr.yp-menu-open .yp-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .yp-hdr.yp-menu-open .yp-burger span:nth-child(2) { opacity: 0; }
  .yp-hdr.yp-menu-open .yp-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  body.elementor-template-canvas .yp-hdr > div:has(> p.yp-navlink) { display: none !important; position: absolute; top: calc(100% + 4px); right: 24px; left: auto; width: min(420px, calc(100% - 48px)) !important; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; padding: 6px 24px 24px !important; background: #EFEFF0; box-shadow: 0 20px 44px rgba(44,54,71,.2); z-index: 50; }
  body.elementor-template-canvas .yp-hdr.yp-menu-open > div:has(> p.yp-navlink) { display: flex !important; }
  body.elementor-template-canvas .yp-hdr > div:has(> p.yp-navlink) > p, body.elementor-template-canvas .yp-hdr > div:has(> p.yp-navlink) > a { font-size: 20px !important; padding: 15px 0 !important; border-bottom: 1px solid rgba(44,54,71,.12); margin: 0 !important; }
  body.elementor-template-canvas .yp-hdr > div:has(> p.yp-navlink) > p a { font-size: inherit !important; display: block; }
  body.elementor-template-canvas .yp-hdr > div:has(> p.yp-navlink) > p:last-of-type { border-bottom: 0; }
  body.elementor-template-canvas .yp-hdr > div:has(> p.yp-navlink) a.yp-btn { margin: 18px 0 0 !important; width: 100% !important; text-align: center; border-bottom: 0 !important; padding: 15px 18px !important; }
  /* Projects: keep the cards clear of the button below them */
  body.page-id-821 .elementor-element-74eb6a17 { padding-bottom: 72px !important; }
  body.page-id-821 .elementor-element-667d085a { flex-shrink: 0; }
}

/* never let a stray element (e.g. the reviews carousel tooltips) create sideways scrolling on tablets */
@media (max-width: 1100px) { html, body.elementor-template-canvas { overflow-x: clip; } }

/* Home hero: headline top centre, the three groups scattered around it */
@keyframes ypfadein { from { opacity: 0; } to { opacity: 1; } }
body.page-id-778 .elementor-element-9a563a4 { padding-top: 20px !important; }
body.page-id-778 .e-yphero { position: relative; display: block !important; text-align: center; padding-top: 40px; }
body.page-id-778 .e-yphero h1.yp-big { max-width: 58% !important; margin: 0 auto !important; text-align: center !important; position: relative; z-index: 2; }
body.page-id-778 .e-yphero .elementor-element-3451a12f { justify-content: center !important; margin: 34px auto 0 !important; position: relative; z-index: 2; flex-wrap: wrap; }
body.page-id-778 .e-yphero img.e-yphp { mix-blend-mode: multiply; display: block; width: auto !important; max-width: none !important; opacity: 1; }
@media (min-width: 768px) {
  body.page-id-778 .e-yphero { min-height: 760px; }
  body.page-id-778 .e-yphero img.e-yphp { position: absolute !important; }
  body.page-id-778 .e-yphero img.e-yphA { left: 2%; bottom: 40px; height: 420px !important; }
  body.page-id-778 .e-yphero img.e-yphB { left: 50%; transform: translateX(-50%); bottom: 0; height: 340px !important; }
  body.page-id-778 .e-yphero img.e-yphC { right: 2%; bottom: 12px; height: 400px !important; }
  body.page-id-778 .e-yphero > img.yp-award { position: absolute !important; top: 6px; right: 6px; left: auto; margin: 0 !important; width: 72px !important; z-index: 3; background: none; padding: 0; }
}
html:not(.yp-intro) body.page-id-778 .e-yphero img.e-yphp { animation: ypfadein 1.5s ease both; }
html:not(.yp-intro) body.page-id-778 .e-yphero img.e-yphA { animation-delay: .2s; }
html:not(.yp-intro) body.page-id-778 .e-yphero img.e-yphB { animation-delay: .6s; }
html:not(.yp-intro) body.page-id-778 .e-yphero img.e-yphC { animation-delay: 1s; }
@media (max-width: 767px) {
  body.page-id-778 .e-yphero { text-align: center; padding-top: 20px; }
  body.page-id-778 .e-yphero h1.yp-big { max-width: 100% !important; }
  body.page-id-778 .e-yphero img.e-yphp { position: static !important; display: inline-block; height: 150px !important; margin: 24px 6px 0; transform: none; vertical-align: bottom; }
  body.page-id-778 .e-yphero > img.yp-award { position: static !important; display: block; margin: 18px auto 0 !important; width: 56px !important; }
}

/* Home hero, second pass: people flank the headline, family beneath it, buttons at the bottom */
@media (min-width: 768px) {
  body.page-id-778 .e-yphero { min-height: 880px; }
  body.page-id-778 .e-yphero h1.yp-big { max-width: 50% !important; }
  body.page-id-778 .e-yphero img.e-yphA { left: 2%; top: 90px; bottom: auto; height: 340px !important; }
  body.page-id-778 .e-yphero img.e-yphC { right: 2%; top: 40px; bottom: auto; height: 280px !important; }
  body.page-id-778 .e-yphero img.e-yphB { left: 50%; top: 340px; bottom: auto; height: 350px !important; }
  body.page-id-778 .e-yphero .elementor-element-3451a12f { position: absolute !important; left: 0; right: 0; bottom: 24px; margin: 0 auto !important; }
}

/* Home hero, third pass: more room around the headline */
@media (min-width: 768px) {
  body.page-id-778 .e-yphero { min-height: 920px; }
  body.page-id-778 .e-yphero h1.yp-big { max-width: 44% !important; }
  body.page-id-778 .e-yphero img.e-yphA { left: 2%; top: 150px; height: 340px !important; }
  body.page-id-778 .e-yphero img.e-yphC { right: 2%; top: 40px; height: 270px !important; }
  body.page-id-778 .e-yphero img.e-yphB { top: 440px; height: 340px !important; }
  body.page-id-778 .e-yphero > img.yp-award { left: 6px !important; right: auto !important; top: 6px !important; }
}

/* Home hero on phones: headline, then the people in one row, then the buttons */
@media (max-width: 767px) {
  body.page-id-778 .e-yphero { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: flex-end; column-gap: 8px; padding-top: 16px; }
  body.page-id-778 .e-yphero h1.yp-big { flex: 0 0 100%; order: 0; }
  body.page-id-778 .e-yphero img.e-yphp { order: 1; height: 100px !important; margin: 28px 0 0 !important; display: block; }
  body.page-id-778 .e-yphero > img.yp-award { order: 2; flex: 0 0 100%; margin: 20px auto 0 !important; width: 52px !important; }
  body.page-id-778 .e-yphero .elementor-element-3451a12f { order: 3; flex: 0 0 100%; margin-top: 24px !important; position: static !important; }
}

@media (max-width: 767px) {
  body.page-id-778 .e-yphero img.e-yphp { height: 92px !important; }
  body.page-id-778 .e-yphero > img.yp-award { flex: 0 0 52px !important; width: 52px !important; margin: 22px calc(50% - 26px) 0 !important; }
}

@media (max-width: 767px) { body.page-id-778 .e-yphero img.e-yphp { height: 82px !important; } body.page-id-778 .e-yphero { column-gap: 6px; } }

@media (max-width: 767px) { body.page-id-778 .e-yphero img.e-yphp { flex: 0 0 auto !important; } body.page-id-778 .e-yphero img.e-yphA { width: 61px !important; } body.page-id-778 .e-yphero img.e-yphB { width: 117px !important; } body.page-id-778 .e-yphero img.e-yphC { width: 90px !important; } }

@media (max-width: 767px) {
  body.page-id-778 .e-yphero { display: grid !important; grid-template-columns: repeat(3, auto) !important; justify-content: center; align-items: end; column-gap: 8px; }
  body.page-id-778 .e-yphero h1.yp-big, body.page-id-778 .e-yphero > img.yp-award, body.page-id-778 .e-yphero .elementor-element-3451a12f { grid-column: 1 / -1; }
  body.page-id-778 .e-yphero > img.yp-award { justify-self: center; margin: 22px 0 0 !important; }
  body.page-id-778 .e-yphero .elementor-element-3451a12f { width: 100%; justify-self: stretch; }
}

/* Home hero: award badge sits beside the family */
@media (min-width: 768px) {
  body.page-id-778 .e-yphero > img.yp-award { left: calc(50% + 268px) !important; right: auto !important; top: 640px !important; width: 84px !important; }
}
@media (max-width: 767px) {
  body.page-id-778 .e-yphero > img.yp-award { grid-column: 2 !important; }
}

/* Home hero effects: line-by-line headline, depth, soft glow, gentle breathing */
body.page-id-778 .e-yphero::before { content: ''; position: absolute; left: 50%; top: 40px; width: 780px; height: 560px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(250,162,42,.13) 0%, rgba(250,162,42,0) 68%); pointer-events: none; z-index: 0; }
body.page-id-778 .e-yphero h1.yp-big { position: relative; z-index: 2; }
html.yp-hero-fx body.page-id-778 .e-yphero h1.yp-big:not(.yp-lines) { opacity: 0; }
body.page-id-778 .e-yphero h1.yp-lines { opacity: 1; }
body.page-id-778 .e-yphero h1.yp-lines .yp-ln { display: block; overflow: hidden; padding: .08em 0 .18em; margin: -.08em 0 -.18em; }
body.page-id-778 .e-yphero h1.yp-lines .yp-ln-in { display: block; transform: translateY(118%); }
html:not(.yp-intro) body.page-id-778 .e-yphero h1.yp-lines .yp-ln-in { animation: ypline 1.25s cubic-bezier(.16,.8,.2,1) forwards; animation-delay: calc(.25s + var(--i, 0) * .15s); }
@keyframes ypline { to { transform: none; } }
@keyframes yppbreathe { from { scale: 1; } to { scale: 1.018; } }
@media (min-width: 768px) {
  body.page-id-778 .e-yphero img.e-yphp { translate: calc(var(--mx, 0) * var(--kx, 8px)) calc(var(--py, 0px) + var(--my, 0) * var(--ky, 6px)); transition: translate .8s cubic-bezier(.2,.7,.2,1); will-change: translate; z-index: 1; }
  body.page-id-778 .e-yphero img.e-yphA { --kx: 11px; --ky: 7px; }
  body.page-id-778 .e-yphero img.e-yphB { --kx: -7px; --ky: 4px; }
  body.page-id-778 .e-yphero img.e-yphC { --kx: 15px; --ky: 9px; }
  body.page-id-778 .e-yphero img.e-yphA, body.page-id-778 .e-yphero img.e-yphC { -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 100%); mask-image: linear-gradient(to bottom, #000 76%, transparent 100%); }
  html:not(.yp-intro) body.page-id-778 .e-yphero img.e-yphA { animation: ypfadein 1.5s ease .2s both, yppbreathe 9s ease-in-out 1.8s infinite alternate; }
  html:not(.yp-intro) body.page-id-778 .e-yphero img.e-yphB { animation: ypfadein 1.5s ease .6s both, yppbreathe 11s ease-in-out 2.2s infinite alternate; }
  html:not(.yp-intro) body.page-id-778 .e-yphero img.e-yphC { animation: ypfadein 1.5s ease 1s both, yppbreathe 10s ease-in-out 2.6s infinite alternate; }
}
@media (max-width: 767px) { body.page-id-778 .e-yphero::before { width: 120%; height: 380px; } }

/* Home hero: the family now follows the headline in the page flow, so it can never crowd the text */
@media (min-width: 768px) {
  body.page-id-778 .e-yphero { min-height: 0 !important; }
  body.page-id-778 .e-yphero img.e-yphB { position: relative !important; left: auto !important; top: auto !important; bottom: auto !important; transform: none !important; margin: 64px auto 0 !important; height: 340px !important; }
  body.page-id-778 .e-yphero .elementor-element-3451a12f { position: relative !important; left: auto !important; right: auto !important; bottom: auto !important; margin: 48px auto 0 !important; }
  body.page-id-778 .e-yphero > img.yp-award { top: auto !important; bottom: 128px !important; }
}

@media (min-width: 768px) {
  body.page-id-778 .e-yphero { display: flex !important; flex-direction: column; align-items: center; }
  body.page-id-778 .e-yphero h1.yp-big { order: 0; width: 44%; max-width: 44% !important; flex: 0 0 auto; }
  body.page-id-778 .e-yphero img.e-yphB { order: 1; margin: 56px auto 0 !important; flex: 0 0 auto; }
  body.page-id-778 .e-yphero .elementor-element-3451a12f { order: 2; margin: 44px auto 0 !important; width: auto; max-width: 100%; }
}

/* Home headline: typed out */
html.yp-hero-fx body.page-id-778 .e-yphero h1.yp-big.yp-typed { opacity: 1 !important; }
body.page-id-778 .e-yphero h1.yp-typed .yp-word { display: inline-block; white-space: nowrap; }
body.page-id-778 .e-yphero h1.yp-typed .yp-ch { opacity: 0; position: relative; }
body.page-id-778 .e-yphero h1.yp-typed .yp-ch.on { opacity: 1; }
body.page-id-778 .e-yphero h1.yp-typed .yp-ch.yp-last::after { content: ''; position: absolute; right: -4px; top: .14em; width: 2px; height: .78em; background: #FAA22A; }
body.page-id-778 .e-yphero h1.yp-typed .yp-ch.yp-end::after { animation: ypcaret 2.6s ease forwards; }
@keyframes ypcaret { 0%, 30%, 60% { opacity: 1; } 15%, 45%, 75% { opacity: 0; } 90%, 100% { opacity: 0; } }

/* Home hero on tablets (768 to 1000px): headline, then the three groups in a row, then the buttons */
@media (min-width: 768px) and (max-width: 1279px) {
  body.page-id-778 .e-yphero { display: grid !important; grid-template-columns: repeat(3, auto) !important; justify-content: center; align-items: end; column-gap: 18px; min-height: 0 !important; }
  body.page-id-778 .e-yphero h1.yp-big { grid-column: 1 / -1; order: 0; width: 82% !important; max-width: 82% !important; justify-self: center; }
  body.page-id-778 .e-yphero img.e-yphp { position: static !important; order: 1; display: block; height: 190px !important; margin: 40px 0 0 !important; left: auto !important; top: auto !important; bottom: auto !important; transform: none !important; }
  body.page-id-778 .e-yphero img.e-yphA { width: 141px !important; }
  body.page-id-778 .e-yphero img.e-yphB { width: 270px !important; }
  body.page-id-778 .e-yphero img.e-yphC { width: 208px !important; }
  body.page-id-778 .e-yphero > img.yp-award { position: static !important; order: 2; grid-column: 1 / -1; justify-self: center; margin: 24px 0 0 !important; width: 64px !important; }
  body.page-id-778 .e-yphero .elementor-element-3451a12f { grid-column: 1 / -1; order: 3; position: static !important; margin: 36px auto 0 !important; width: 100%; justify-content: center; }
}

/* iPad landscape and small laptops (1001 to 1199px): same stacked layout, slightly larger people */
@media (min-width: 1001px) and (max-width: 1279px) {
  body.page-id-778 .e-yphero img.e-yphp { height: 240px !important; }
  body.page-id-778 .e-yphero img.e-yphA { width: 178px !important; }
  body.page-id-778 .e-yphero img.e-yphB { width: 341px !important; }
  body.page-id-778 .e-yphero img.e-yphC { width: 263px !important; }
  body.page-id-778 .e-yphero h1.yp-big { width: 62% !important; max-width: 62% !important; }
}

/* Home hero: new family photo, keep the family in frame */
body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap img { object-position: 50% 42% !important; }

/* Home hero: the photo runs edge to edge and fills the screen under the header */
html { overflow-x: clip; }
@media (min-width: 768px) {
  body.page-id-778 .elementor-element-9a563a4 { padding-top: 6px !important; }
  body.page-id-778 .elementor-element-759ea29d { position: relative; width: 100vw !important; max-width: none !important; left: 50%; margin-left: -50vw !important; }
  body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap { width: 100% !important; max-width: none !important; margin: 0 !important; aspect-ratio: auto !important; height: clamp(520px, 86vh, 880px) !important; }
  body.page-id-778 .elementor-element-759ea29d::before { left: 0 !important; width: 100% !important; top: 0 !important; aspect-ratio: auto !important; height: clamp(520px, 86vh, 880px) !important; }
  body.page-id-778 .elementor-element-759ea29d > h1.yp-big { left: calc(max(63px, (100vw - 1240px) / 2) + 54px) !important; right: calc(max(63px, (100vw - 1240px) / 2) + 54px) !important; }
  body.page-id-778 .elementor-element-759ea29d > img.yp-award { right: calc(max(63px, (100vw - 1240px) / 2) + 14px) !important; top: 18px !important; }
  body.page-id-778 .elementor-element-6330b8ed { padding-left: max(63px, calc((100vw - 1240px) / 2)); }
}

@media (min-width: 768px) {
  body.page-id-778 .elementor-element-759ea29d { padding: 0 !important; margin-top: 0 !important; }
  body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap { padding: 0 !important; }
  body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  body.page-id-778 .elementor-element-759ea29d::before { top: 0 !important; }
}

/* Home hero on phones: photo edge to edge */
@media (max-width: 767px) {
  body.page-id-778 .elementor-element-759ea29d { position: relative; width: 100vw !important; max-width: none !important; left: 50%; margin-left: -50vw !important; margin-top: 0 !important; padding: 0 !important; }
  body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; aspect-ratio: 4 / 5 !important; }
  body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: 50% 42% !important; }
  body.page-id-778 .elementor-element-759ea29d > h1.yp-big { padding: 0 24px !important; margin-top: 26px !important; }
  body.page-id-778 .elementor-element-6330b8ed { padding-left: 24px; }
  body.page-id-778 .elementor-element-759ea29d > img.yp-award { top: 14px !important; right: 14px !important; }
}

/* Phones: no zoom on the hero photo (a scaled layer is what makes it soft on iPhones) */
@media (max-width: 767px) {
  body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap img { transform: none !important; will-change: auto !important; transition: none !important; image-rendering: auto; }
  body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap::after { display: none !important; }
}

/* Home hero: darker photo so the white headline reads easily (laptops and tablets) */
@media (min-width: 768px) {
  body.page-id-778 .elementor-element-759ea29d::before { background: linear-gradient(to top, rgba(14,20,32,.9) 0%, rgba(14,20,32,.72) 30%, rgba(14,20,32,.5) 62%, rgba(14,20,32,.38) 100%) !important; }
  body.page-id-778 .elementor-element-759ea29d > h1.yp-big { text-shadow: 0 2px 22px rgba(0,0,0,.45) !important; }
}

/* Home hero 2: wide picture, keep the family in frame */
body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap img { object-position: 62% 50% !important; }
@media (max-width: 767px) { body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap img { object-position: 64% 50% !important; } }

/* Home hero: headline in a column on the left, darker towards the left; badge bigger with no box behind it */
@media (min-width: 768px) {
  body.page-id-778 .elementor-element-759ea29d::before { background: linear-gradient(to right, rgba(14,20,32,.88) 0%, rgba(14,20,32,.72) 28%, rgba(14,20,32,.4) 52%, rgba(14,20,32,.22) 100%), linear-gradient(to top, rgba(14,20,32,.45) 0%, rgba(14,20,32,0) 40%) !important; }
  body.page-id-778 .elementor-element-759ea29d > h1.yp-big { top: calc(clamp(520px, 86vh, 880px) / 2) !important; bottom: auto !important; right: auto !important; translate: 0 -50%; width: 38% !important; max-width: 38% !important; }
  body.page-id-778 .elementor-element-759ea29d > img.yp-award { background: none !important; padding: 0 !important; box-sizing: border-box !important; width: 134px !important; top: 24px !important; filter: invert(.95) drop-shadow(0 2px 12px rgba(0,0,0,.35)) !important; }
}
@media (min-width: 768px) and (max-width: 1100px) { body.page-id-778 .elementor-element-759ea29d > h1.yp-big { width: 52% !important; max-width: 52% !important; } body.page-id-778 .elementor-element-759ea29d > img.yp-award { width: 104px !important; } }
@media (max-width: 767px) {
  body.page-id-778 .elementor-element-759ea29d > img.yp-award { background: none !important; padding: 0 !important; box-sizing: border-box !important; width: 84px !important; filter: none !important; }
}

@media (min-width: 768px) { body.page-id-778 .elementor-element-759ea29d > img.yp-award { filter: drop-shadow(0 2px 10px rgba(255,255,255,.35)) !important; } }

/* Phones: telephone number in the header, beside the menu button */
.yp-callnum { display: none; }
@media (max-width: 767px) {
  body.elementor-template-canvas .yp-hdr .yp-callnum { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; margin-right: 4px; color: #2C3647; font-size: 15px; letter-spacing: .01em; text-decoration: none; white-space: nowrap; padding: 10px 4px; }
  body.elementor-template-canvas .yp-hdr .yp-burger { margin-left: 0; }
}

/* Home hero on phones: the headline sits on the photo, which is darkened so the white text reads easily */
@media (max-width: 767px) {
  body.page-id-778 .elementor-element-759ea29d::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: 4 / 5; background: linear-gradient(to top, rgba(14,20,32,.92) 0%, rgba(14,20,32,.78) 34%, rgba(14,20,32,.52) 62%, rgba(14,20,32,.34) 100%); pointer-events: none; z-index: 1; }
  body.page-id-778 .elementor-element-759ea29d > h1.yp-big { position: absolute !important; left: 20px !important; right: 20px !important; bottom: 74px !important; top: auto !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; z-index: 3; color: #fff !important; font-size: 20px !important; line-height: 1.28 !important; letter-spacing: -.005em !important; text-shadow: 0 1px 14px rgba(0,0,0,.4); }
  body.page-id-778 .elementor-element-759ea29d > h1.yp-big em { color: rgba(255,255,255,.84) !important; }
  body.page-id-778 .elementor-element-759ea29d > img.yp-award { z-index: 4; }
}

@media (max-width: 767px) { body.page-id-778 .elementor-element-759ea29d > img.yp-award { filter: drop-shadow(0 0 4px rgba(255,255,255,.75)) drop-shadow(0 0 10px rgba(255,255,255,.4)) !important; } }

/* iPad: keep the headline clear of the family */
@media (min-width: 1001px) and (max-width: 1279px) {
  body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap img { object-position: 24% 50% !important; }
  body.page-id-778 .elementor-element-759ea29d > h1.yp-big { width: 40% !important; max-width: 40% !important; font-size: clamp(24px, 2.6vw, 34px) !important; }
}
@media (min-width: 768px) and (max-width: 1000px) {
  body.page-id-778 .elementor-element-4e8b38c0.yp-img-wrap img { object-position: 62% 50% !important; }
  body.page-id-778 .elementor-element-759ea29d::before { background: linear-gradient(to top, rgba(14,20,32,.9) 0%, rgba(14,20,32,.72) 32%, rgba(14,20,32,.45) 62%, rgba(14,20,32,.3) 100%) !important; }
  body.page-id-778 .elementor-element-759ea29d > h1.yp-big { top: auto !important; bottom: 80px !important; translate: none !important; left: 54px !important; right: 54px !important; width: auto !important; max-width: none !important; font-size: clamp(22px, 3vw, 30px) !important; }
}
