/* Shared finishing layer. Artwork keeps its original colours. */
:root{--portfolio-bg:#1c252b;--portfolio-text:#edf4f2;--portfolio-muted:#c5d5d4;--portfolio-accent:#79d5d2;--portfolio-rule:#46575b}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select,textarea{font-family:inherit}
.case-outline{padding:28px 0 34px;border-top:1px solid var(--portfolio-rule);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.case-outline p{color:#b9cacb;font-size:.875rem;margin:0;line-height:1.5}
.case-outline ul{list-style:none;display:flex;gap:12px 24px;flex-wrap:wrap;padding:0;margin:0}
.case-outline a{color:var(--portfolio-accent);font-size:.95rem;font-weight:700;text-decoration:none;text-underline-offset:5px}
.case-outline a:hover{text-decoration:underline}
.case-section p,.travel-section p{font-size:1.12rem;line-height:1.7}
.case-section p+p,.travel-section p+p{margin-top:22px}
.case-section .eyebrow,.travel-section .eyebrow{font-size:.875rem}
.flow-tabs,.document-nav{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 0;padding:24px 0;border-top:1px solid var(--portfolio-rule);border-bottom:0}
.flow-tabs button,.document-nav button{font:inherit;font-weight:700;min-height:48px;line-height:1.35;border:1px solid #526a6d;background:#233238;color:var(--portfolio-text);padding:12px 18px;cursor:pointer;border-radius:3px;white-space:normal}
.flow-tabs button[aria-selected="true"],.document-nav button[aria-pressed="true"]{background:var(--portfolio-accent);color:#14252a;border-color:var(--portfolio-accent)}
.flow-tabs button:hover,.document-nav button:hover{border-color:var(--portfolio-accent)}
.flow-tabs button:focus-visible,.document-nav button:focus-visible{outline:3px solid var(--portfolio-accent);outline-offset:5px}
.flow-tabs~figure{margin-top:12px;border-top:0;padding-top:0}
.portal-table tbody tr:last-child :is(td,th),.scale-table tbody tr:last-child :is(td,th){border-bottom:0}
.rtp-scenarios{gap:22px}
.rtp-scenarios article.scenario{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:20px;row-gap:6px;padding:0;background:transparent;border:0}
.scenario-icon{width:44px;height:44px;grid-row:1/3;color:var(--portfolio-accent);margin-top:0;align-self:center}
.rtp-scenarios h3{margin:0;font-size:1.12rem;color:var(--portfolio-text)}
.rtp-scenarios .scenario p{grid-column:2;font-size:1rem;line-height:1.6}
.rtp-research .rtp-findings{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 44px;margin:12px 0 0}
.rtp-findings>div{padding:22px 0 0;border-top:1px solid var(--portfolio-rule)}
.rtp-findings dt{font-size:1.2rem;line-height:1.4;margin-bottom:12px}
.rtp-findings dd{font-size:1.05rem;line-height:1.7}
@media(max-width:760px){.case-outline{padding:24px 0;gap:16px}.case-outline ul{gap:12px 20px}.rtp-research .rtp-findings{grid-template-columns:1fr;gap:24px;margin:0}.flow-tabs button{flex:1 1 150px}.rtp-scenarios article.scenario{column-gap:14px}}

/* The long stories share a tighter reading rhythm. */
@media(min-width:761px){.case-section,.travel-section{padding-top:82px;padding-bottom:82px}.artifact-section,.wireframes-section,.travel-artifacts,.paragon-visuals{padding-top:82px;padding-bottom:82px}}
.collection-card,.library-item{border-color:var(--portfolio-rule)}
.collection-wrap h1,.documentation-wrap h1{letter-spacing:-.012em}
.collection-wrap .eyebrow,.documentation-wrap .eyebrow{letter-spacing:.17em;font-weight:700;font-size:.875rem}
@media(prefers-reduced-motion:reduce){.snapshot:hover img{transform:none}}

.section-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 24px;align-items:center;margin:8px 0 26px}
.section-controls label{grid-column:1/-1;color:#b9cacb;font-size:.875rem;font-weight:700}
.section-controls select{width:100%;min-width:0;min-height:48px;padding:12px 38px 12px 16px;color:#edf4f2;background:#233238;border:1px solid #526a6d;border-radius:3px;font:inherit}
.section-stepper{display:flex;align-items:center;gap:14px}.section-stepper span{color:#b9cacb;font-size:.875rem;white-space:nowrap}
.section-stepper button{font:inherit;font-weight:700;min-height:48px;padding:12px 18px;border:1px solid #526a6d;border-radius:3px;background:#233238;color:#79d5d2;cursor:pointer}
.section-stepper button:disabled{opacity:.4;cursor:default}.section-stepper button:not(:disabled):hover{border-color:#79d5d2}
#flow-panel figure{border-top:0;padding-top:0;margin-top:20px}
@media(max-width:600px){.section-controls{grid-template-columns:1fr}.section-stepper{justify-content:space-between}}

/* Keep text-only considerations separate from the illustrated everyday examples. */
.rtp-scenarios article:not(.scenario){display:block;padding:22px 0 0;border-top:1px solid var(--portfolio-rule);background:transparent}
.rtp-scenarios article:not(.scenario) h3{margin-bottom:10px;color:var(--portfolio-accent)}
.rtp-scenarios article:not(.scenario) p{margin:0;line-height:1.7}
@media(min-width:761px){.rtp-research{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:44px}}
.section-controls .section-count{color:var(--portfolio-muted);font-size:.875rem;font-weight:400;margin-left:12px;white-space:nowrap}
.section-controls select{appearance:none;-webkit-appearance:none;padding:14px 52px 14px 20px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23c5d5d4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 20px center}
.section-controls select:focus-visible,.section-stepper button:focus-visible{outline:3px solid var(--portfolio-accent);outline-offset:4px}
.section-stepper{gap:10px}
@media(max-width:600px){.section-stepper{justify-content:flex-end}}

/* One spacing rhythm for every primary section, including image and prototype sections. */
:root{--section-space:82px}
.site-section:not(.case-end):not(.travel-end){padding-block:var(--section-space)}
.site-section{scroll-margin-top:16px}
.back-to-top{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:100;width:48px;height:48px;display:grid;place-items:center;border:1px solid #526a6d;border-radius:50%;background:#233238;color:var(--portfolio-accent);box-shadow:0 4px 18px #0004;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.back-to-top[hidden]{display:none!important}.back-to-top svg{width:23px;height:23px}.back-to-top:hover{background:#2b4147;border-color:var(--portfolio-accent);transform:translateY(-2px)}.back-to-top:focus-visible{outline:3px solid var(--portfolio-accent);outline-offset:4px}
/* Lists have internal separators, without a frame around their first or last item. */
.rtp-scenarios article:not(.scenario){border:0;padding:0;background:transparent}
.rtp-scenarios article+article{border:0;border-top:1px solid var(--portfolio-rule);padding-top:22px}
.rtp-scenarios article.scenario+article.scenario{padding-top:22px}
.rtp-details{margin:0}.rtp-details>div{border:0;padding:20px 0}.rtp-details>div:first-child{padding-top:0}.rtp-details>div:last-child{padding-bottom:0}.rtp-details>div+div{border-top:1px solid var(--portfolio-rule)}
.rtp-research .rtp-findings{margin:32px 0 0;gap:32px 44px}
.rtp-research .rtp-findings>div{border:0;padding:0}.rtp-research .rtp-findings>div:nth-child(n+3){border-top:1px solid var(--portfolio-rule);padding-top:24px}
.focus-grid{border-top:0}.focus-grid article{border-bottom:0}.focus-grid article:nth-child(n+3){border-top:1px solid var(--portfolio-rule)}
.steps{border-top:0}.steps .step:last-child{border-bottom:0}
.scale-table tbody tr:first-child :is(td,th),.portal-table tbody tr:first-child :is(td,th){border-top:0}
.collection-wrap figure:first-of-type,.wrap>figure:first-of-type{border-top:0;padding-top:0}
.paragon-intro{padding-bottom:var(--section-space)}.paragon-intro::before{content:none}
.paragon-hero-surface{position:relative;isolation:isolate;padding-bottom:32px;margin-bottom:40px}
.paragon-hero-surface::before{content:"";position:absolute;z-index:-1;inset:0 calc(50% - 50vw);background:linear-gradient(90deg,#1c252b 0%,rgba(28,37,43,.97) 25%,rgba(28,37,43,.80) 57%,rgba(28,37,43,.60) 100%),url("paragon-components/hero-composition.webp") center right/cover no-repeat;pointer-events:none}
.paragon-hero-surface .project-overview{background:#233238}
@media(max-width:760px){:root{--section-space:64px}.back-to-top{right:18px;bottom:18px}.rtp-research .rtp-findings>div:nth-child(n+2){border-top:1px solid var(--portfolio-rule);padding-top:24px}.focus-grid article:nth-child(n+2){border-top:1px solid var(--portfolio-rule)}.paragon-hero-surface::before{background-position:70% center}}
@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}.back-to-top:hover{transform:none}}

/* Internal separators follow the same pattern in every case study. */
.claims-details>div{border-top:0}.claims-details>div+div{border-top:1px solid var(--portfolio-rule)}
.reflection-stages article:first-child{border-top:0}
.steps li:last-child{border-bottom:0}
.scale-table thead th{border-top:0}
.portal-needs article,.persona-details article,.portal-production-stats article{border-top:0}
.portal-needs article:nth-child(n+3),.persona-details article:nth-child(n+3){border-top:1px solid var(--portfolio-rule)}
.portal-production-stats article:nth-child(n+3){border-top:1px solid var(--portfolio-rule)}
@media(max-width:760px){.portal-needs article:nth-child(n+2),.persona-details article:nth-child(n+2),.portal-production-stats article:nth-child(n+2){border-top:1px solid var(--portfolio-rule)}}

/* Explicit specificity keeps the icon-row rules from clearing the separators. */
.rtp-scenarios article.scenario+article.scenario{border:0;border-top:1px solid var(--portfolio-rule);padding-top:22px}
/* Give the original components their own space, with clear copy on the page background. */
.paragon-hero-surface::before{content:none}
.paragon-hero-side{min-width:0;display:flex;flex-direction:column;gap:32px;align-self:end}
.paragon-hero-art{position:relative;aspect-ratio:1;width:100%;margin:0;isolation:isolate}
.paragon-hero-art img{position:absolute;display:block;height:auto;filter:drop-shadow(0 12px 20px #0003)}
.paragon-hero-art .hero-voucher{width:78%;right:0;top:0;z-index:1}
.paragon-hero-art .hero-account{width:92%;left:0;top:34%;z-index:2}
.paragon-hero-art .hero-spotlight{width:66%;right:0;top:56%;z-index:3}
.rtp-scenarios article:not(.scenario)+article:not(.scenario){border-top:1px solid var(--portfolio-rule);padding-top:22px}
@media(max-width:760px){.paragon-hero-art{max-width:460px;margin:8px auto 0}.paragon-hero-side{gap:28px}}

/* Anchor the title to the shared hero start, independently of the artwork height. */
.paragon-intro .case-hero>div:first-child{align-self:start}
.paragon-hero-art{max-width:320px;margin-inline:auto}
@media(max-width:760px){.paragon-hero-art{max-width:320px}}

.choc-considerations article+article{border-top:1px solid var(--portfolio-rule);padding-top:24px;margin-top:24px}.choc-considerations h3{color:var(--portfolio-accent);margin:0 0 12px;font-size:1.2rem}.choc-material .choc-preview{display:block;background:white;height:200px;overflow:hidden}.choc-preview img{width:100%;height:100%;object-fit:contain}.choc-material .artifact-meta a{display:inline-block;margin-top:20px;color:var(--portfolio-accent);font-weight:700;text-underline-offset:5px}.choc-material .artifact-meta{min-height:220px}.choc-material article{transition:transform .2s}.choc-material article:hover{transform:translateY(-3px)}@media(prefers-reduced-motion:reduce){.choc-material article{transition:none}.choc-material article:hover{transform:none}}

.choc-material{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:520px){.choc-material{grid-template-columns:1fr}}

.choc-material article:last-child:nth-child(odd){grid-column:1/-1}.choc-material article:last-child:nth-child(odd){display:grid;grid-template-columns:1fr 1fr}.choc-material article:last-child:nth-child(odd) .choc-preview{height:100%;min-height:240px}@media(max-width:520px){.choc-material article:last-child:nth-child(odd){display:block}}

.choc-subheading{color:var(--portfolio-accent);font-size:1.2rem;margin:0 0 14px}.choc-hills{display:block;margin:28px 0 36px}.choc-hills img{display:block;width:100%;height:auto}.choc-art-link{color:var(--portfolio-accent);font-weight:700;text-underline-offset:5px}

.choc-moo-poses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0}.choc-moo-poses img{width:100%;height:180px;object-fit:contain}@media(max-width:600px){.choc-moo-poses{gap:12px}.choc-moo-poses img{height:120px}}

.choc-persona-preview{display:block;margin:28px 0 20px;overflow:hidden;background:white}.choc-persona-preview img{display:block;width:100%;height:auto}.choc-persona-preview:focus-visible{outline:2px solid var(--accent,#79d5d2);outline-offset:5px}

.choc-goals{margin-top:28px}.choc-goals h3{color:var(--accent,#79d5d2);font-size:1.2rem;margin:0 0 12px}.choc-goals article+article{border-top:1px solid var(--rule,#46575b);margin-top:24px;padding-top:24px}

.choc-prototype .prototype-player{display:flex;flex-direction:column;align-items:center;gap:20px;padding:24px;background:radial-gradient(ellipse at center,#36585e,#213238);border:1px solid #526a6d;min-width:0}.choc-prototype video{display:block;width:auto;max-width:100%;height:560px;max-height:75vh;background:#14252a;border-radius:10px}.choc-prototype .prototype-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;width:100%}.choc-prototype button{min-height:48px;padding:12px 18px;border:1px solid #9eb5b7;border-radius:3px;background:#1c252b;color:#edf4f2;font:inherit;font-weight:700;cursor:pointer}.choc-prototype .prototype-play{background:#79d5d2;color:#14252a;border-color:#79d5d2}.choc-prototype button:hover{filter:brightness(1.12)}.choc-prototype button:focus-visible{outline:3px solid #edf4f2;outline-offset:4px}.choc-prototype .prototype-duration{font-size:.95rem;color:#79d5d2}.choc-prototype .prototype-playback-error{margin:0}@media(max-width:560px){.choc-prototype video{height:auto;width:100%;max-width:290px;max-height:none}.choc-prototype .prototype-play{flex-basis:100%}}

.choc-laura-preview{display:flex;justify-content:center;margin:28px 0 20px;padding:24px;background:#233238;border:1px solid #46575b}.choc-laura-preview img{display:block;width:auto;max-width:100%;height:300px;object-fit:contain}.choc-laura-preview:focus-visible{outline:2px solid #79d5d2;outline-offset:5px}

.choc-page .case-intro::before{background:linear-gradient(90deg,#1c252b 0%,rgba(28,37,43,.96) 28%,rgba(28,37,43,.83) 60%,rgba(28,37,43,.40) 100%),url("choc-assets/rolling-hills.svg") center right/cover no-repeat}.choc-page .case-end::before{background:linear-gradient(90deg,#1c252b 0%,rgba(28,37,43,.95) 30%,rgba(28,37,43,.58) 65%,rgba(28,37,43,.12) 100%),url("choc-assets/footer-companion.svg") center right/cover no-repeat}@media(max-width:760px){.choc-page .case-intro::before{background:linear-gradient(90deg,rgba(28,37,43,.96),rgba(28,37,43,.82)),url("choc-assets/rolling-hills.svg") 70% center/cover no-repeat}.choc-page .case-end::before{background:linear-gradient(90deg,#1c252b 0%,rgba(28,37,43,.70) 65%,rgba(28,37,43,.25) 100%),url("choc-assets/footer-companion.svg") 83% center/cover no-repeat}}

.choc-card-visual{padding:0!important;overflow:hidden;background:#223238!important}.choc-card-visual img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}

.choc-page .case-section{align-items:center}.choc-page .choc-editorial{display:block}.choc-editorial>div:first-of-type{margin-bottom:32px}.choc-editorial h2{max-width:24ch}.choc-panel-grid,.choc-feature-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:32px 0}.choc-panel{padding:28px;background:#233238;border:1px solid #46575b}.choc-editorial h3{color:#79d5d2;font-size:1.3rem;line-height:1.35;margin:0 0 16px}.choc-panel .eyebrow{margin-bottom:14px}.choc-goal-list{margin:20px 0 0}.choc-goal-list>div{padding:16px 0}.choc-goal-list>div+div{border-top:1px solid #46575b}.choc-goal-list>div:first-child{padding-top:0}.choc-goal-list>div:last-child{padding-bottom:0}.choc-goal-list dt{font-weight:700;color:#edf4f2;margin-bottom:6px}.choc-goal-list dd{margin:0;color:#c5d5d4;line-height:1.6}.choc-page .choc-stat{font-size:2.8rem;line-height:1.15;color:#79d5d2;margin:20px 0}.choc-needs>article:last-child{grid-column:1/-1}.choc-feature-row{padding-top:32px;border-top:1px solid #46575b;align-items:start}.choc-feature-row .choc-persona-preview,.choc-feature-row .choc-laura-preview{margin-top:0}.choc-editorial .choc-hills{margin:24px 0 0}.choc-logo-preview{display:flex;align-items:center;justify-content:center;background:#233238;margin-top:24px;min-height:180px;padding:28px}.choc-logo-preview img{width:280px;max-width:100%;height:auto}.choc-moo-feature .choc-moo-poses{margin:0}.choc-evolution{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:32px 0}.choc-evolution article+article{border-left:1px solid #46575b;padding-left:28px}.choc-evolution .eyebrow{display:block;margin-bottom:18px}.choc-editorial-content>p{margin-bottom:22px}@media(max-width:760px){.choc-panel-grid,.choc-feature-row,.choc-evolution{grid-template-columns:1fr;gap:24px}.choc-panel{padding:24px}.choc-evolution article+article{border-left:0;padding-left:0;border-top:1px solid #46575b;padding-top:24px}.choc-editorial h2{max-width:none}.choc-needs>article:last-child{grid-column:auto}}

/* Collection pages share the same heading and control rhythm. */
.collection-page .wrap,.collection-page .collection-wrap,.collection-page .documentation-wrap{width:min(1160px,calc(100% - 48px));padding-block:40px 64px}
.collection-page h1{font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.08;letter-spacing:-.012em;margin:18px 0 24px}
.collection-page .eyebrow{font-size:.875rem;letter-spacing:.17em;font-weight:700}
.collection-page p{font-size:1.12rem;line-height:1.7}
.collection-page .back{display:inline-block;margin-bottom:40px}
@media(max-width:760px){.collection-page .wrap,.collection-page .collection-wrap,.collection-page .documentation-wrap{padding-bottom:64px}}

/* Section titles stay vertically centred beside their content. */
.case-section:not(.choc-editorial)>div:first-of-type,.travel-section>div:first-of-type{align-self:center}
/* Pair the landscape and logo without stretching either artwork. */
section[aria-labelledby="choc-visual-title"] .choc-story{display:flex;flex-direction:column;min-width:0}
section[aria-labelledby="choc-visual-title"] .choc-hills,section[aria-labelledby="choc-visual-title"] .choc-logo-preview{width:100%;aspect-ratio:12/5;min-height:0;margin:24px 0 0;display:flex;align-items:center;justify-content:center;overflow:hidden}
section[aria-labelledby="choc-visual-title"] .choc-story>p:last-of-type{margin-bottom:auto}
section[aria-labelledby="choc-visual-title"] .choc-hills img{width:100%;height:100%;object-fit:cover}
section[aria-labelledby="choc-visual-title"] .choc-logo-preview img{width:280px;max-width:100%;max-height:100%;object-fit:contain}

/* Shared audit refinements: spacing, boundaries and keyboard access. */
.skip-link{position:fixed;top:12px;left:24px;z-index:1000;padding:14px 20px;background:#79d5d2;color:#14252a;font-weight:700;border-radius:3px;transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0);outline:3px solid #edf4f2;outline-offset:3px}
:focus-visible{outline:3px solid #79d5d2;outline-offset:5px}
main:focus:not(:focus-visible){outline:none}
.section .eyebrow+h2,.case-section .eyebrow+h2,.travel-section .eyebrow+h2{margin-top:16px}
.section h2+p,.case-section h2+p,.travel-section h2+p{margin-top:24px}
.section h3+p,.case-section h3+p,.travel-section h3+p,.artifact-meta h3+p,.visual-copy h3+p{margin-top:14px}
.case-outline{position:relative;border-top:0}
.case-outline::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:100vw;border-top:1px solid var(--portfolio-rule)}
.case-facts.case-facts-detail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.case-facts-detail>div{min-width:0}
.artifact-grid>article,.travel-artifacts-grid>article{display:flex;flex-direction:column}
.visual-story .visual-copy,.artifact-grid .artifact-meta,.travel-artifacts-grid .artifact-meta{display:flex;flex-direction:column;flex:1}
.visual-story .visual-copy>a:last-child,.artifact-grid .artifact-meta>a:last-child,.travel-artifacts-grid .artifact-meta>a:last-child{margin-top:auto;padding-top:24px;align-self:flex-start}
.card-body{display:flex;flex-direction:column;flex:1}
.card-body .project-date{color:#c5d5d4;font-size:.875rem;line-height:1.5;margin:12px 0 0}
.card-body h3{margin-top:14px}
.card-body .card-cta{margin-top:auto;padding-top:24px}
.gallery-footer{position:relative;border-top:0!important;margin-top:40px;padding-top:28px}
.gallery-footer::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:100vw;border-top:1px solid var(--portfolio-rule)}
.audit-key{margin:32px 0 40px;padding:28px;background:#233238;border:1px solid var(--portfolio-rule)}
.audit-key h2{margin-top:0}
.audit-key dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;margin:24px 0}
.audit-key dl>div{display:block;border:0!important;padding:0}
.audit-key dt{display:flex;align-items:center;gap:10px;color:#edf4f2;font-weight:700;margin-bottom:10px}
.audit-key dd{margin:0;line-height:1.55}
.legend-dot{display:inline-block;flex:none;width:13px;height:13px;border-radius:50%;border:1px solid #ffffff70}
.legend-dot.yellow{background:#eacb45}.legend-dot.green{background:#71bb75}.legend-dot.purple{background:#b894d8}.legend-dot.red{background:#e77d7d}.legend-dot.pink{background:#e79cc5}
.audit-key .legend-note{font-size:.875rem;margin-bottom:0}
@media(max-width:760px){.case-facts.case-facts-detail{grid-template-columns:1fr}.case-facts-detail>div{border-right:0;border-bottom:0}.case-facts-detail>div+div{border-top:1px solid var(--portfolio-rule)}.audit-key dl{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-key{padding:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.skip-link{transition:none}}
@media(min-width:761px){.case-facts.case-facts-detail>div{border-bottom:0;border-right:1px solid var(--portfolio-rule)}.case-facts.case-facts-detail>div:last-child{border-right:0}}
.card-body .tags{margin-bottom:0}
.approach>div:first-child>p{margin-top:24px}
.collection-page .card-copy{display:flex;flex-direction:column;flex:1}
.collection-page .card-copy>a:last-child{margin-top:auto;padding-top:20px;align-self:flex-start}

/* Vertically centre return links, keeping the shared left alignment. */
.case-end,.travel-end{display:flex;align-items:center;justify-content:flex-start;text-align:left;padding-block:75px;min-height:250px}
.gallery-footer{display:flex;align-items:center;justify-content:flex-start;text-align:left;padding-block:28px}
.gallery-footer>a,.case-end>a,.travel-end>a{margin-inline:0}

/* Keep Paragon's approved image rows fixed while card copy stretches equally. */
.visual-story>article{display:grid;grid-template-rows:245px minmax(0,1fr)}
.visual-story .visual-slot{height:245px;min-height:0;min-width:0;overflow:hidden}
.visual-story .family-preview img{width:100%;height:100%;object-fit:cover}
.visual-story .visual-copy{min-width:0}
@media(max-width:760px){.visual-story>article{grid-template-rows:190px minmax(0,1fr)}.visual-story .visual-slot{height:190px}}

/* One section-boundary system on main pages and standalone galleries. */
html{overflow-x:clip}
.site-section{border-top:0;border-bottom:0}
.section-divider{height:1px;background:var(--portfolio-rule);pointer-events:none}
.footer::before,footer.footer::before,.gallery-footer::before,.case-outline::before{border-top:1px solid var(--portfolio-rule);pointer-events:none}
.gallery-footer{margin-top:40px;padding-block:28px}
.scale-table th,.scale-table td,.portal-table th,.portal-table td{border-bottom-color:var(--portfolio-rule)}

/* Shared details panel, matching navigation and balanced gallery footers. */
.projects .card>.visual{border-bottom:1px solid var(--portfolio-rule)}
.project-overview,.travel-overview{gap:0;border-color:var(--portfolio-rule)}
.project-overview>div,.travel-overview>div{min-width:0}
.project-overview>div+div,.travel-overview>div+div{border-left:1px solid var(--portfolio-rule)}
.case-outline a{position:relative;display:inline-block;padding:10px 0;color:#b9cacb;font-size:.95rem;font-weight:400;text-decoration:none}
.case-outline a::after{content:"";position:absolute;left:0;right:100%;bottom:3px;height:2px;background:linear-gradient(90deg,#79d5d2,#a2dfa7);transition:right .28s ease}
.case-outline a:hover,.case-outline a:focus-visible{color:var(--portfolio-accent);text-decoration:none}
.case-outline a:hover::after,.case-outline a:focus-visible::after{right:0}
.collection-page .collection-card{display:flex;flex-direction:column;min-width:0}
.foundation-gallery .snapshot{aspect-ratio:16/9;flex:none;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--portfolio-rule)}
.foundation-gallery .snapshot img{width:100%;height:100%;object-fit:contain}
.collection-wrap.has-gallery-footer,.documentation-wrap.has-gallery-footer,main.wrap.has-gallery-footer{padding-bottom:0}
.gallery-footer{padding-block:32px}
.theme-select{position:relative;min-width:0}
.theme-select select[hidden],.theme-select-options[hidden]{display:none!important}
.theme-select-button{display:block;width:100%;min-height:48px;padding:14px 52px 14px 20px;text-align:left;background:#233238;color:#edf4f2;border:1px solid #526a6d;border-radius:3px;font:inherit;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23c5d5d4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 20px center}
.theme-select-options{position:absolute;top:calc(100% + 6px);left:0;right:0;max-height:min(360px,50vh);overflow-y:auto;padding:6px;background:#233238;color:#edf4f2;border:1px solid #79d5d2;border-radius:3px;box-shadow:0 10px 28px #0006;z-index:30}
.theme-select-option{min-height:44px;display:flex;align-items:center;padding:12px 16px;border-radius:2px;cursor:pointer;line-height:1.4}
.theme-select-option[aria-selected="true"]{font-weight:700;box-shadow:inset 3px 0 #79d5d2}
.theme-select-option:hover,.theme-select-option.is-active{background:#79d5d2;color:#14252a}
@media(max-width:760px){.project-overview>div+div,.travel-overview>div+div{border-left:0;border-top:1px solid var(--portfolio-rule)}}
@media(prefers-reduced-motion:reduce){.case-outline a::after{transition:none}}

.theme-select.opens-up .theme-select-options{top:auto;bottom:calc(100% + 6px)}

/* Distinguish selected options from a lighter hover or keyboard highlight. */
.theme-select-option[aria-selected="true"]{background:#79d5d2;color:#14252a;font-weight:700}
.theme-select-option:hover,.theme-select-option.is-active{background:#b2e7e5;color:#14252a}
.theme-select-option[aria-selected="true"]:hover,.theme-select-option[aria-selected="true"].is-active{background:#79d5d2;color:#14252a}
.contact h2 span{color:var(--portfolio-accent)}
.contact .btn{background:var(--portfolio-accent);color:#14252a;border-color:var(--portfolio-accent)}
.audit-key.audit-key-inline{padding:24px 0;background:transparent;border:0;border-bottom:1px solid var(--portfolio-rule);margin:24px 0 36px}
.audit-legend-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.audit-legend-top h2{font-size:1.25rem;margin:0}
.audit-legend-top p{font-size:.95rem;margin:0;display:flex;align-items:center;gap:10px}
.audit-count{display:inline-grid;place-items:center;flex:none;width:26px;height:26px;border:1px solid #526a6d;border-radius:50%;color:#79d5d2;font-weight:700}
.audit-legend{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin:0 0 20px}
.audit-legend li{display:flex;align-items:flex-start;gap:10px}
.audit-legend .legend-dot{margin-top:5px}
.audit-legend strong{display:block;font-size:1rem;line-height:1.4;color:#edf4f2}
.audit-legend li div>span{display:block;font-size:.875rem;color:#c5d5d4;margin-top:5px}
@media(max-width:760px){.audit-legend-top{align-items:flex-start;flex-direction:column;gap:12px}.audit-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}}

/* Soft hover feedback, with the selected option retaining its solid teal. */
.theme-select-option:hover,.theme-select-option.is-active{background:rgba(121,213,210,.14);color:#edf4f2}
.theme-select-option[aria-selected="true"]:hover,.theme-select-option[aria-selected="true"].is-active{background:#79d5d2;color:#14252a}
.audit-key.audit-key-inline{padding:28px;background:#233238;border:1px solid var(--portfolio-rule);margin:32px 0 40px}
@media(max-width:760px){.audit-key.audit-key-inline{padding:24px}}
