.ypp { background: #E6E7E9; padding: 40px; width: 100%; max-width: none; color: #2C3647; box-sizing: border-box; }
.ypp-head { display: flex; justify-content: space-between; gap: 12px; }
.ypp-bar { display: flex; gap: 6px; margin-top: 14px; }
.ypp-bar i { flex: 1; height: 3px; background: #C9CCD2; transition: background .4s ease; }
.ypp-bar i.on { background: #FAA32C; }
.ypp-q { font-weight: 300; font-size: clamp(28px, 4vw, 52px); letter-spacing: -.04em; line-height: 1.05; margin: 36px 0 28px; max-width: 18ch; }
.ypp-opts { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.ypp-opt { font: inherit; font-size: 18px; text-align: left; background: #EFEFF0; border: 1px solid #C9CCD2; padding: 18px 20px; color: #2C3647; cursor: pointer; border-radius: 0; transition: background .2s, border-color .2s, transform .2s; }
.ypp-opt:hover { border-color: #2C3647; transform: translateY(-2px); }
.ypp-opt:focus-visible, .ypp-back:focus-visible, .ypp-cta:focus-visible { outline: 3px solid #FAA32C; outline-offset: 3px; }
.ypp-opt[aria-pressed="true"] { background: #FAA32C; border-color: #FAA32C; }
.ypp-back { font: inherit; font-size: 15px; background: none; border: 0; padding: 0; margin-top: 24px; color: #2C3647; text-decoration: underline; cursor: pointer; }
.ypp-result { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; margin-top: 28px; }
.ypp-result h3 { font-weight: 300; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.04em; line-height: 1.05; margin: 0 0 18px; }
.ypp-stages { list-style: none; margin: 0; padding: 0; }
.ypp-stages li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid #C9CCD2; font-size: 17px; line-height: 1.4; opacity: 0; transform: translateY(10px); animation: yppIn .6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 90ms); }
.ypp-stages li:last-child { border-bottom: 1px solid #C9CCD2; }
.ypp-stages li span { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; color: #586172; padding-top: 4px; }
.ypp-notes { display: flex; flex-direction: column; gap: 14px; }
.ypp-notes p { margin: 0; font-size: 16px; line-height: 1.5; color: #2C3647; }
.ypp-fine { font-size: 13px !important; color: #586172 !important; }
.ypp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.ypp-cta { display: inline-block; background: #FAA32C; color: #2C3647 !important; padding: 16px 26px; text-decoration: none; font-weight: 500; font-size: 17px; }
.ypp-cta:hover { background: #E8931F; }
@keyframes yppIn { to { opacity: 1; transform: none; } }
@media (max-width: 767px) { .ypp { padding: 22px 18px; } .ypp-result { grid-template-columns: minmax(0, 1fr); gap: 28px; } .ypp-opt { font-size: 17px; padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .ypp-stages li { opacity: 1; transform: none; animation: none; } .ypp-opt { transition: none; } }
/* Project ring */
.ypr-card { display: flex; flex-direction: column; gap: 10px; background: #E6E7E9; padding: 20px; text-decoration: none; color: #2C3647; box-sizing: border-box; }
.ypr-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; pointer-events: none; }
.ypr-card strong { font-weight: 300; font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.ypr:not(.ypr-on) .ypr-ring { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.ypr:not(.ypr-on) .ypr-hint { display: none; }
.ypr-on .ypr-stage { perspective: 1500px; height: 600px; overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.ypr-on .ypr-stage:active { cursor: grabbing; }
.ypr-on .ypr-stage:focus-visible { outline: 3px solid #FAA32C; outline-offset: 4px; }
.ypr-on .ypr-ring { position: relative; width: 260px; height: 340px; margin: 120px auto 0; transform-style: preserve-3d; will-change: transform; }
.ypr-on .ypr-card { position: absolute; left: 0; top: 0; width: 260px; height: 340px; transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(var(--r)); backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: background .3s ease; }
.ypr-on .ypr-card:hover { background: #D9DBDF; }
.ypr-on .ypr-hint { display: block; margin-top: 12px; text-align: center; }
@media (max-width: 767px) { .ypr-on .ypr-stage { height: 500px; } .ypr-on .ypr-ring, .ypr-on .ypr-card { width: 200px; height: 280px; } .ypr-on .ypr-ring { margin-top: 100px; } .ypr-card { padding: 14px; } .ypr-card strong { font-size: 21px; } }
/* Ring card hover colour and dotted map */
.ypr-card, .ypr-card:hover, .ypr-card:focus, .ypr-card:visited { color: #2C3647 !important; }
.ypr-card strong { color: #2C3647 !important; }
.ypm { width: 100%; max-width: 1100px; }
.ypm-canvas { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 658; touch-action: pan-y; }
.ypm-caption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
/* Planner tidy-up: even option grid, steadier spacing */
.ypp-opt { min-height: 88px; display: flex; align-items: center; line-height: 1.25; }
.ypp-q { margin: 44px 0 32px; max-width: 22ch; }
.ypp-back { margin-top: 28px; }
@media (max-width: 1000px) { .ypp-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ypp-opts .ypp-opt:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 600px) { .ypp { padding: 24px 18px; } .ypp-opts { grid-template-columns: minmax(0, 1fr); } .ypp-opt { min-height: 64px; } .ypp-q { margin: 32px 0 24px; } }

/* Planner as a dark card so it reads as a tool, not more text on grey. */
.ypp { background: #2C3647; color: #EFEFF0; padding: 56px; }
.ypp .yp-label, .ypp .ypp-head span, .ypp .ypp-head { color: #A9B0BD !important; }
.ypp-bar i { background: rgba(239,239,240,.22); }
.ypp-bar i.on { background: #FAA32C; }
.ypp-q { color: #EFEFF0; font-size: clamp(30px, 4.4vw, 58px); }
.ypp-opt { background: transparent; border-color: rgba(239,239,240,.3); color: #EFEFF0; }
.ypp-opt:hover { border-color: #FAA32C; background: rgba(250,163,44,.08); }
.ypp-opt[aria-pressed="true"] { background: #FAA32C; border-color: #FAA32C; color: #2C3647; }
.ypp-back { color: #C9CED6; }
.ypp-result h3 { color: #EFEFF0; }
.ypp-stages li { border-color: rgba(239,239,240,.22); color: #EFEFF0; }
.ypp-stages li:last-child { border-color: rgba(239,239,240,.22); }
.ypp-stages li span { color: #FAA32C; }
.ypp-notes p { color: #C9CED6; }
.ypp-fine { color: #A9B0BD !important; }
.ypp-opt:focus-visible, .ypp-back:focus-visible, .ypp-cta:focus-visible { outline-color: #FAA32C; }
@media (max-width: 767px) { .ypp { padding: 28px 20px; } }

.ypp-q, .ypp-result h3 { letter-spacing: -.022em !important; word-spacing: .05em; }

/* Real photograph on a ring card: fill the frame instead of letterboxing a line drawing. */
.ypr-card.ypr-photo img { object-fit: cover; }

.ypp-stages li span { color: #FAA22A; }

/* Blog */
.yp-bl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; width: 100%; }
.yp-bl-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: #2C3647; }
.yp-bl-img { display: block; aspect-ratio: 3 / 2; background: #E6E7E9; overflow: hidden; }
.yp-bl-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.yp-bl-card:hover .yp-bl-img img { transform: scale(1.04); }
.yp-bl-card strong { display: block; font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.025em; line-height: 1.1; color: #2C3647 !important; }
.yp-bl-ex { display: block; font-size: 15px; line-height: 1.5; color: #586172; max-width: 46ch; }
.yp-bl-empty { display: block; font-size: 19px; line-height: 1.5; color: #586172; padding: 8px 0 24px; }
@media (max-width: 1000px) { .yp-bl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .yp-bl { grid-template-columns: minmax(0, 1fr); gap: 44px; } }
.ypbp-s, .ypbp-e { display: none; }
.yp-bp-hero { display: block; }
.yp-bp-label { display: block; }
.yp-bp-hero h1 { margin: 22px 0 0; }
.yp-bp-lede { display: block; max-width: 52ch; margin-top: 32px; font-size: 19px; line-height: 1.5; color: #586172; }
.yp-bp-body { display: block; max-width: 680px; }
.yp-bp-body p { margin: 0 0 1.35em; font-size: 19px; line-height: 1.65; color: #3F495A; }
.yp-bp-body h2 { margin: 2.2em 0 .6em; font-weight: 300; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.1; color: #2C3647; }
.yp-bp-body h3 { margin: 1.8em 0 .5em; font-weight: 400; font-size: 22px; letter-spacing: -.01em; color: #2C3647; }
.yp-bp-body ul, .yp-bp-body ol { margin: 0 0 1.35em; padding-left: 1.2em; font-size: 19px; line-height: 1.65; color: #3F495A; }
.yp-bp-body li { margin-bottom: .4em; }
.yp-bp-body a { color: #2C3647; text-decoration: underline; text-underline-offset: 3px; }
.yp-bp-body blockquote { margin: 2em 0; padding-left: 20px; border-left: 2px solid #FAA22A; font-size: 22px; line-height: 1.45; font-weight: 300; color: #2C3647; }
.yp-bp-body img, .yp-bp-body video { display: block; max-width: 100%; height: auto; margin: 2em 0; }
.yp-bp-body figure { margin: 2em 0; }
.yp-bp-body figcaption { margin-top: 10px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #586172; }
body.elementor-template-canvas .yp-bp-body a { color: #2C3647 !important; text-decoration: underline !important; text-underline-offset: 3px; }
