/* Below-hero design system. Hero tokens and composition remain in styles.css. */
:root {
  --p-ink: #182033;
  --p-muted: #566174;
  --p-blue: #315cff;
  --p-violet: #6554d8;
  --p-neutral: #f5f6f8;
  --p-ice: #e8efff;
  --p-lilac: #e8e3ff;
  --p-peach: #ffcfaf;
  --p-line: #dce0e8;
  --p-radius: clamp(1.5rem, 3vw, 2.5rem);
  --p-gutter: clamp(1.1rem, 4vw, 4rem);
  --p-space: clamp(4rem, 8vw, 8rem);
  --p-shadow: 0 1.5rem 3rem -1.5rem rgb(28 42 85 / .28);
}
html { scroll-padding-top: 2rem; }
body:has(dialog[open]) { overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--p-ink); outline-offset: 5px; }
a { color: inherit; text-underline-offset: .2em; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 50; padding: 1rem 1.5rem; color: var(--p-ink); background: white; border-radius: 999px; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.section { color: var(--p-ink); padding: var(--p-space) var(--p-gutter); }
.section-inner { max-width: 80rem; margin-inline: auto; }
.section-heading { margin: 0 auto clamp(2.5rem, 5vw, 4.5rem); }
.centered { text-align: center; }
.display-title { margin: 0; font-size: clamp(2.7rem, 6.3vw, 6rem); letter-spacing: -.065em; line-height: 1.02; font-weight: 700; text-wrap: balance; }
.blue { color: var(--p-blue); }
.violet { color: var(--p-violet); }
.section-lead { font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--p-muted); margin: 1.35rem 0 0; text-wrap: balance; }
.eyebrow { font-size: .7rem; letter-spacing: .16em; line-height: 1.6; text-transform: uppercase; font-weight: 600; color: var(--p-blue); margin: 0 0 1.5rem; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; min-height: 3rem; padding: .85rem 1.5rem; border: 1px solid transparent; border-radius: 999px; color: white; background: var(--p-blue); text-decoration: none; font-size: .88rem; line-height: 1.4; font-weight: 600; transition: background .3s, box-shadow .3s, translate .3s; }
.pill:hover { background: #2346d0; box-shadow: 0 .4rem 1rem #315cff18; translate: 0 -2px; }
.pill span[aria-hidden] { font-size: 1.2rem; font-weight: 400; }
.pill--outline { background: transparent; color: var(--p-blue); border-color: currentColor; }
.pill--outline:hover { background: #315cff0b; }

/* Credentials are presented as physical objects on soft product surfaces. */
.certifications { padding-top: calc(var(--p-space) * 1.15); }
.certificate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.certificate { background: var(--p-ice); border-radius: var(--p-radius); padding: clamp(1.4rem, 3.5vw, 3rem); overflow: hidden; }
.certificate:nth-child(2) { background: #eee9ff; }
.certificate-label { margin: 0 0 .65rem; font-size: .95rem; line-height: 1.5; font-weight: 600; color: #2346d0; }
.certificate:nth-child(2) .certificate-label { color: var(--p-violet); }
.certificate h3 { font-size: clamp(1.8rem, 3.6vw, 3.3rem); line-height: 1.04; letter-spacing: -.055em; margin: 0; }
.certificate-image { display: block; border: 0; background: none; padding: 0; width: 100%; margin: 2.5rem 0; perspective: 1000px; }
.certificate-paper { display: block; width: 100%; height: auto; border-radius: .5rem; box-shadow: 0 2rem 2.5rem -1.5rem #283d7966; transform: rotate(-5deg); }
.certificate:nth-child(2) .certificate-paper { transform: rotate(5deg); }
.certificate-image:hover .certificate-paper { filter: brightness(1.02); }
.certificate .pill { position: relative; z-index: 1; }

/* Closed category selection: the only initial project content is these two cards. */
.projects { padding-top: calc(var(--p-space) * .6); }
.category-container { background: var(--p-neutral); padding: clamp(.8rem, 1.8vw, 1.5rem); border-radius: calc(var(--p-radius) + .5rem); }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 1.8vw, 1.5rem); }
.category-card { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; min-height: 31rem; padding: clamp(1.2rem, 3vw, 2.75rem); border: 0; border-radius: var(--p-radius); text-align: left; overflow: hidden; isolation: isolate; transition: box-shadow .4s; }
.category-card--data { background: var(--p-blue); color: white; }
.category-card--design { background: var(--p-peach); color: var(--p-ink); }
.category-card[aria-expanded=true] { box-shadow: inset 0 0 0 3px var(--p-ink); }
.category-card--data[aria-expanded=true] { box-shadow: inset 0 0 0 3px white; }
.category-art { display: block; width: 100%; margin-block: auto 2.5rem; transform-origin: center; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.category-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.category-card:hover .category-art, .category-card:focus-visible .category-art { transform: translateY(-8px) scale(1.025); }
.category-copy { display: block; padding-right: 3rem; }
.category-title { display: block; font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 700; line-height: 1; letter-spacing: -.055em; }
.category-count { display: block; margin-top: .7rem; font-size: .95rem; opacity: .85; }
.category-description { display: block; margin-top: 1rem; font-size: clamp(.9rem, 1.5vw, 1.2rem); line-height: 1.5; }
.category-arrow { position: absolute; bottom: 2.5rem; right: 2.5rem; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; font-size: 2rem; background: white; color: var(--p-blue); transition: rotate .6s; }
.category-card--design .category-arrow { color: white; background: var(--p-ink); }
.category-card:hover .category-arrow { rotate: 10deg; }

/* Shared project cover artwork. The expanding panels are styled in projects.css. */
.project-stage[data-category=design] .project-deck { background: #fff0e5; }
.project-anchor { height: 0; scroll-margin-top: 5rem; }
.project-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: white; border-radius: var(--p-radius); margin-bottom: 2rem; box-shadow: 0 1rem 2rem -1.5rem #23345b55; transform-origin: center top; isolation: isolate; overflow: hidden; }
.project-card:last-child { margin-bottom: 0; }
.project-copy { padding: clamp(1.5rem, 3.5vw, 3.5rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.project-index { font-size: .85rem; color: var(--p-muted); margin-bottom: 2rem; }
.project-index strong { color: var(--p-ink); }
.project-tag { display: inline-block; padding: .5rem .85rem; border-radius: 999px; background: #eeebff; color: #4232a0; font-size: .72rem; font-weight: 600; line-height: 1.5; margin-bottom: 1rem; }
.project-title { font-size: clamp(1.85rem, 3.3vw, 3.2rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.06; margin: 0; overflow-wrap: anywhere; }
.project-subtitle { font-size: 1rem; line-height: 1.5; margin: .8rem 0 0; }
.project-description { font-size: .98rem; line-height: 1.7; color: var(--p-muted); margin: 1.25rem 0 1.75rem; }
.project-copy .pill { margin-top: auto; }
.project-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 31rem; border-radius: var(--p-radius); overflow: hidden; background: var(--p-blue); color: white; isolation: isolate; }
.project-visual > * { pointer-events: none; }
.cover-mark { position: relative; z-index: 2; font-size: clamp(5rem, 10vw, 10rem); letter-spacing: -.07em; line-height: 1; margin-top: -5rem; }
.cover-mark > span { font-size: .55em; }
.cover-label { position: absolute; bottom: 2rem; left: 1.5rem; right: 1.5rem; text-align: center; text-transform: uppercase; letter-spacing: .18em; font-size: .65rem; line-height: 1.7; z-index: 2; }
.cover-orbit { position: absolute; width: 115%; height: 48%; border: 1px solid currentColor; opacity: .35; border-radius: 50%; rotate: -25deg; }
.cover-dots { position: absolute; inset: 10% 65% 65% 12%; background-image: radial-gradient(white 1.4px,transparent 1.4px); background-size: 18px 18px; opacity: .7; }
.cover-chart { position: absolute; inset: 50% 15% 13%; }
.cover-chart svg { width: 100%; height: 100%; }
.cover-chart .art-line, .cover-chart svg > g:last-child { display: none; }
.cover-pulse { position: absolute; width: 110%; bottom: 20%; color: #a5dafa; }
.project-visual--health { background: #182338; color: #d8eaff; }
.project-visual--rides { background: #194f45; color: #d4f69a; }
.ride-ring { position: absolute; border: 1px solid #d4f69a65; border-radius: 50%; width: 70%; aspect-ratio: 1; }
.ride-ring--two { width: 100%; }
.ride-ring--three { width: 130%; }
.project-visual--rides .cover-mark { font-size: clamp(4.5rem, 8vw, 7.5rem); margin-top: 0; }
.project-visual--florist { background: #ffe2d7; color: #572864; }
.cover-flower { position: absolute; width: 110%; inset: 3% -5% auto; opacity: .75; }
.cover-flower svg { width: 100%; }
.cover-word { z-index: 2; font-size: clamp(3.2rem, 6vw, 6rem); line-height: .98; letter-spacing: -.06em; position: relative; text-align: center; }
.project-visual--florist .cover-word { margin-top: 9rem; }
.project-visual--cure { background: #dedaff; color: #38257c; }
.care-cross { position: absolute; width: 11rem; height: 4rem; border-radius: 1rem; background: #b4a8f0; rotate: -15deg; right: -1rem; top: 4rem; }
.care-cross::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: inherit; rotate: 90deg; }
.project-visual--graphics { background: #f3bb6e; color: #5c2f87; }
.graphics-type { font-size: clamp(9rem, 17vw, 17rem); line-height: 1; letter-spacing: -.08em; z-index: 1; }
.graphics-disc { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: #f3d6ff; top: 8%; right: -20%; }
.graphics-swatches { position: absolute; display: flex; bottom: 18%; left: 18%; rotate: -8deg; }
.graphics-swatches i { width: 3rem; height: 3rem; border-radius: .6rem; background: #182033; border: 3px solid #f3bb6e; margin-left: -.5rem; }
.graphics-swatches i:nth-child(2) { background: #315cff; }
.graphics-swatches i:nth-child(3) { background: #ac8de4; }
.graphics-swatches i:nth-child(4) { background: #fff5e8; }


/* The toolkit floats as a group, with a quiet orbit behind it. */
.skills { padding-block: calc(var(--p-space) * .6); }
.toolkit-surface { position: relative; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.5fr); gap: clamp(2rem,4vw,4rem); align-items: center; background: #f1efff; border-radius: var(--p-radius); padding: clamp(2rem,4vw,4rem); overflow: hidden; }
.toolkit-copy { position: relative; z-index: 1; }
.toolkit-copy .display-title { font-size: clamp(2.6rem, 4.1vw, 4rem); }
.toolkit-copy .section-lead { font-size: 1rem; }
.toolkit-visual { position: relative; padding-block: 2rem; }
.toolkit-orbit { position: absolute; width: 105%; aspect-ratio: 1; border: 1px solid #315cff12; border-radius: 50%; left: -2%; top: 50%; transform: translateY(-50%); }
.skills-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(.65rem,1.3vw,1.2rem); padding: 0; margin: 0; list-style: none; position: relative; }
.skill { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: white; border-radius: 1.5rem; padding: 1.4rem .4rem; box-shadow: 0 1.2rem 2rem -1.25rem #30375433; text-align: center; }
.skill img { width: clamp(2.25rem,3.8vw,3.5rem); height: clamp(2.25rem,3.8vw,3.5rem); object-fit: contain; transition: transform .5s; }
.skill:hover img { transform: translateY(-5px) rotate(-5deg); }
.skill span { font-size: .72rem; line-height: 1.35; font-weight: 600; }

/* A bounded cinematic photo stage, then a straightforward accessible collection. */
.photos .display-title { font-size: clamp(2.5rem, 5.4vw, 5.5rem); }
.photo-journey { position: relative; margin-bottom: 2rem; }
.photo-stage { position: relative; height: clamp(27rem, 72svh, 43rem); border-radius: var(--p-radius); background: #f0f2f5; overflow: hidden; isolation: isolate; }
.scene-main { position: absolute; inset: 0; border-radius: 2rem; transform: scale(.66) rotate(-2.5deg); box-shadow: var(--p-shadow); overflow: hidden; z-index: 1; }
.scene-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scene-float { position: absolute; width: 24%; height: 44%; top: 30%; border: 1px solid #ffffffaa; border-radius: 1.4rem; overflow: hidden; z-index: 2; box-shadow: var(--p-shadow); }
.scene-float img { width: 100%; height: 100%; display: block; object-fit: cover; }
.scene-float--left { left: 4%; rotate: -10deg; }
.scene-float--right { right: 4%; rotate: 9deg; height: 50%; top: 26%; }
.scene-float--right img { object-position: 50% center; }
.scene-orb { position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; }
.scene-orb--blue { left: 9%; top: 8%; background: #dfeaff; }
.scene-orb--violet { right: 7%; top: 10%; background: #e8e3ff; }
.scene-orb--peach { right: 2%; bottom: 8%; background: #ffe2d2; width: 14%; }
.scene-caption { position: absolute; bottom: .5rem; left: 0; right: 0; text-align: center; color: var(--p-muted); font-size: .85rem; z-index: 3; }
.scene-progress { position: absolute; z-index: 4; left: 50%; bottom: 1.5rem; width: 5rem; height: 3px; background: #ffffff50; transform: translateX(-50%); opacity: 0; }
.scene-progress span { display: block; height: 100%; background: white; transform: scaleX(0); transform-origin: left; }
.photo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2rem 1.25rem; }
.photo-card { margin: 0; min-width: 0; }
.photo-mask { display: block; width: 100%; aspect-ratio: 1.45; padding: 0; border: 0; border-radius: 1.25rem; overflow: hidden; background: var(--p-neutral); }
.photo-mask img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .9s cubic-bezier(.22,1,.36,1); }
.photo-mask:hover img { transform: scale(1.06); }
.photo-card figcaption { display: flex; gap: .6rem; padding: .8rem .25rem 0; font-size: .75rem; line-height: 1.5; color: var(--p-muted); }
.photo-number { color: var(--p-blue); font-size: .65rem; padding-top: .08rem; }
.photo-grid--more { margin-top: 2rem; }
.gallery-action { text-align: center; margin-top: 2.5rem; }

/* A confident closing color block and a quiet footer. */
.contact { padding-top: 0; padding-bottom: 1.5rem; }
.contact-surface { position: relative; isolation: isolate; overflow: hidden; background: var(--p-blue); border-radius: var(--p-radius); color: white; text-align: center; padding: clamp(3rem,6vw,6rem) 2rem 2.5rem; }
.contact-surface .eyebrow { color: white; opacity: .9; font-weight: 400; }
.contact-surface .section-lead { color: white; max-width: 48rem; margin-inline: auto; }
.contact-orbit { position: absolute; width: 38rem; height: 38rem; border: 1px solid #ffffff33; border-radius: 50%; right: -7rem; top: -5rem; z-index: -1; }
.contact-orbit i { display: block; position: absolute; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: white; top: 4.3rem; right: 5rem; }
.contact-orbit::after { content: ''; position: absolute; width: 8rem; height: 8rem; border-radius: 50%; background: #ffffff22; top: 12rem; right: -2rem; }
.contact-actions, .contact-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.contact-actions { margin-top: 2.5rem; }
.contact-links { gap: inherit; }
.contact-actions .pill { min-height: 3.6rem; padding-inline: 1.8rem; }
.contact-primary { background: white; color: var(--p-ink); }
.contact-primary:hover { background: #eaf0ff; }
.contact-actions .pill--outline { color: white; border-color: white; }
.contact-actions .pill--outline:hover { background: #ffffff15; }
.contact-mail-app { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .65rem; font-size: .9rem; }
.contact a:focus-visible, .contact button:focus-visible { outline-color: white; }
.copy-status { min-height: 1.5em; font-size: .8rem; line-height: 1.5; margin: 0; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem .5rem 0; font-size: .8rem; color: var(--p-muted); }
.footer a { color: var(--p-ink); display: inline-flex; min-height: 2.75rem; align-items: center; gap: .5rem; text-decoration: none; }
.footer a:first-child { flex-direction: column; align-items: flex-start; justify-content: center; gap: .2rem; font-weight: 700; font-size: .9rem; }
.footer a:first-child > span { font-size: .6rem; color: var(--p-muted); font-weight: 400; }
.footer a:focus-visible { outline-color: var(--p-blue); }

/* Native modal behavior supplies focus trapping, Escape and focus restoration. */
dialog { border: 0; border-radius: 1.5rem; padding: 0; color: var(--p-ink); background: white; width: min(56rem,calc(100% - 2rem)); max-height: calc(100svh - 2rem); overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: #182033bc; backdrop-filter: blur(8px); }
.dialog-close { position: sticky; z-index: 5; top: .75rem; float: right; margin: .75rem .75rem 0 0; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--p-line); background: white; color: var(--p-ink); font-size: 1.1rem; }
#detail-content { padding: clamp(1.5rem,4vw,4rem); padding-top: 3.5rem; }
.detail-title { font-size: clamp(2rem,4.3vw,3.6rem); font-weight: 700; line-height: 1.06; letter-spacing: -.055em; margin: 1rem 0 1.5rem; overflow-wrap: anywhere; }
.detail-description { font-size: 1rem; line-height: 1.8; color: var(--p-muted); }
.detail-subtitle { font-size: 1.2rem; line-height: 1.5; }
.detail-metric { color: var(--p-blue); font-size: clamp(3rem,7vw,6rem); letter-spacing: -.06em; margin: 2rem 0; }
.certificate-full { width: 100%; height: auto; display: block; }
.photo-dialog { width: min(80rem,calc(100% - 2rem)); background: #182033; color: white; overflow: hidden; }
.photo-dialog .dialog-close { position: absolute; right: 0; }
.photo-dialog > img { width: 100%; height: min(76svh,55rem); object-fit: contain; display: block; }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem 1rem; }
.lightbox-toolbar p { text-align: center; font-size: .85rem; line-height: 1.5; }
.lightbox-toolbar button { width: 2.75rem; min-height: 2.75rem; border: 1px solid #ffffff55; border-radius: 50%; color: white; background: transparent; font-size: 1.25rem; }
.lightbox-toolbar button:focus-visible { outline-color: white; }
.no-script { padding: 2rem; line-height: 1.7; }

@media (max-width: 65rem) {
  .toolkit-surface { grid-template-columns: 1fr; gap: 1.5rem; }
  .toolkit-copy .display-title { font-size: clamp(2.7rem,5.8vw,4.2rem); }
  .toolkit-copy .display-title br { display: none; }
  .toolkit-copy { text-align: center; }
  .toolkit-visual { max-width: 46rem; width: 100%; margin-inline: auto; padding-block: 1rem; }
  .category-card { min-height: 27rem; }
  .category-arrow { right: 1.5rem; bottom: 1.5rem; width: 3rem; height: 3rem; }
  .category-description { max-width: 16rem; }
  .project-visual { min-height: 30rem; }
}
@media (max-width: 56.24rem) {
  .project-card { grid-template-columns: 1fr; }
  .project-visual { grid-row: 1; min-height: 0; height: clamp(16rem,48vw,27rem); border-radius: var(--p-radius) var(--p-radius) 0 0; }
  .project-copy { padding: 2rem; }
  .project-index { margin-bottom: 1.25rem; }
  .project-title { font-size: clamp(2rem,5vw,3rem); }
  .project-copy .pill { margin-top: 0; }
  .cover-mark { font-size: clamp(5rem,15vw,9rem); }
  .cover-word { font-size: clamp(3rem,10vw,5rem); }
  .cover-label { bottom: 1.2rem; }
  .project-visual--florist .cover-word { margin-top: 4rem; }
  .graphics-type { font-size: 12rem; }
  .photo-stage { height: 29rem; }
}
@media (max-width: 40rem) {
  .display-title { font-size: clamp(2.25rem,8.5vw,3.4rem); }
  .section-heading { margin-bottom: 2.5rem; }
  .section-lead { font-size: 1rem; max-width: 27rem; margin-inline: auto; }
  .certificate-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .certificate { padding: 1.75rem; }
  .certificate h3 { font-size: 2.25rem; }
  .certificate-image { margin-block: 2rem; }
  .certificate .pill { padding-inline: 1.2rem; }
  .category-card { min-height: 20rem; padding: 1.1rem .9rem; border-radius: 1.2rem; }
  .category-art { margin-top: .9rem; margin-bottom: 1.25rem; }
  .category-title { font-size: clamp(1.25rem,5.2vw,2rem); line-height: 1.05; }
  .category-copy { padding-right: 0; margin-bottom: 2.7rem; }
  .category-count { font-size: .75rem; margin-top: .5rem; }
  .category-description { font-size: .75rem; margin-top: .6rem; line-height: 1.45; }
  .category-arrow { width: 2.4rem; height: 2.4rem; font-size: 1.5rem; right: 1rem; bottom: 1rem; }
  .category-grid { gap: .7rem; }
  .category-container { padding: .7rem; border-radius: 1.8rem; }
  .project-card { border-radius: 1.2rem; }
  .project-copy { padding: 1.4rem; }
  .project-title { font-size: 1.9rem; }
  .project-description { font-size: .94rem; }
  .project-tag { font-size: .65rem; }
  .project-visual { border-radius: 1.2rem 1.2rem 0 0; height: 17rem; }
  .project-visual--rides .cover-mark { font-size: 4rem; }
  .project-subtitle { font-size: .94rem; }
  .toolkit-surface { padding: 2.5rem 1.25rem; }
  .toolkit-copy .display-title { font-size: clamp(2.25rem,8vw,3rem); }
  .toolkit-copy .display-title br { display: block; }
  .skills-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem; }
  .skill { border-radius: 1.25rem; padding: 1.5rem .5rem; }
  .skill img { width: 3.1rem; height: 3.1rem; }
  .skill span { font-size: .8rem; }
  .photos .display-title { font-size: clamp(2.1rem,8vw,3rem); }
  .photo-stage { height: 22rem; }
  .scene-main { transform: scale(.82) rotate(-2.5deg); border-radius: 1.25rem; }
  .scene-float { width: 34%; height: 35%; border-radius: .8rem; }
  .scene-float--left { left: 0; top: 46%; }
  .scene-float--right { right: 0; top: 17%; height: 40%; }
  .scene-caption { bottom: 0; font-size: .75rem; }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem .85rem; }
  .photo-mask { border-radius: 1rem; aspect-ratio: 1.1; }
  .photo-card figcaption { font-size: .7rem; gap: .4rem; }
  .contact-surface { padding: 3rem 1.25rem 1.75rem; }
  .contact-surface .eyebrow { font-size: .6rem; letter-spacing: .12em; }
  .contact-surface .section-lead { font-size: .94rem; }
  .contact-actions { gap: .65rem; }
  .contact-actions .pill { padding-inline: 1.1rem; font-size: .8rem; gap: .6rem; min-height: 3.25rem; }
  .footer { flex-wrap: wrap; font-size: .75rem; }
  .footer > span { order: 3; flex-basis: 100%; font-size: .7rem; }
  .photo-dialog > img { height: 66svh; }
}
@media (max-width: 22rem) {
  .category-card { padding-inline: .65rem; }
  .category-title { font-size: 1.2rem; }
  .category-card { min-height: 19rem; }
  .project-copy { padding: 1.2rem; }
  .project-title { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .category-card:hover .category-art, .category-card:focus-visible .category-art, .skill:hover img, .photo-mask:hover img { transform: none; }
  .pill:hover { translate: none; }
  .category-card:hover .category-arrow { rotate: none; }
  .project-card { position: relative !important; transform: none !important; opacity: 1 !important; }
}

/* Compact cover compositions keep typography clear of the decorative flower. */
@media (max-width: 899px) {
 .project-visual--florist .cover-flower { width: 65%; inset: -5% 17.5% auto; }
 .project-visual--florist .cover-word { position: absolute; bottom: 3.7rem; margin: 0; font-size: clamp(2.6rem, 8vw, 4rem); }
}
.project-cta .pill { background: var(--p-blue); color: white; border-color: transparent; }
.project-cta .pill:hover { background: #2346d0; }
@media (min-width: 900px) {
 .project-card:has(.project-visual--sat) .project-title { max-width: 10ch; font-size: clamp(3rem, 5.5vw, 5rem); line-height: .98; }
}

.project-visual--sat { background: #324abe; }
.project-visual--sat::before { content: ""; position: absolute; inset: -2rem; background: url("/sat-analysis/images/dashboard.webp") center/cover; filter: blur(24px); opacity: .58; }
.sat-cover { position: absolute; width: 100%; height: 100%; object-fit: contain; inset: 0; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .sat-cover { transition: transform .65s ease; }
 .project-card:hover .sat-cover { transform: translateY(-2px) scale(1.012); }
}
