/* Portraits are transparent. The archive background never participates in a morph. */
.portrait-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; z-index: 2; pointer-events: none; }
.hero:has(canvas.ready) .portrait-base { visibility: hidden; }
.hero canvas { transition: none; z-index: 2; pointer-events: none; }
.card-glows { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.card-glow { position: absolute; top: 11.3%; height: 20.2%; width: 19.7%; border-radius: clamp(10px,2vw,38px); box-shadow: 0 0 16px 5px #ffc26765,inset 0 0 14px #ffd47d60; opacity: var(--card-progress,0); }
.card-hit::after { content: none; }
.card-hit:focus-visible { outline: none !important; box-shadow: none; }
img,video,canvas,.gallery-image,.artwork-stage,.zoom-artwork { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.gallery-image img,.artwork-stage>img,.zoom-artwork>img { pointer-events: none; }
.mobile-introduction,.mobile-profile,.mobile-content { display: none; }
.archive-watermark { position: absolute; bottom: 16%; right: 4%; z-index: 4; pointer-events: none; font: italic 30px Georgia,serif; color: #63321d45; }
.watermarked { position: relative; }
.watermarked::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300'%3E%3Ctext x='250' y='170' transform='rotate(-18 250 170)' fill='white' fill-opacity='.21' stroke='%23222222' stroke-opacity='.15' stroke-width='.45' font-family='Georgia' font-style='italic' font-size='27'%3Ecarry%3C/text%3E%3C/svg%3E"); background-repeat: repeat; }
.embedded-clips { z-index: 3; }
.zoom-artwork { min-width: 100%; }
.mobile-films { display: none !important; }
.poster-watermark { position:absolute; right:4%; bottom:5%; font:italic 22px Georgia,serif; color:#ffffff78; text-shadow:1px 1px 2px #0005; pointer-events:none; }
.film-card .poster-watermark { bottom:60px; }
.mobile-page-heading { position:relative; }
.mobile-page-heading::after { content:'carry'; position:absolute; right:0; top:43px; font:italic 22px Georgia,serif; color:#e9beaa45; pointer-events:none; }
.home-page.is-exiting { opacity: 1; transform: none; }
.home-page.is-exiting canvas,.home-page.is-exiting .card-hotspots { opacity: 0; transition: opacity .34s; }
@media(max-width:760px) {
  :root { --header: 114px; }
  .site-header { height: auto; min-height: var(--header); display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 16px 22px 0; background: #0c0c0cf7; }
  .identity { gap: 12px; }
  .identity>span:last-child { font-size: 12px; }
  .monogram { font-size: 29px; }
  .contact-button { order: 0; margin: 0; padding: 10px 18px; font-size: 13px; }
  .site-header nav { position: static; transform: none; width: 100%; grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; padding: 0; }
  .site-header nav a { position: relative; text-align: center; font-size: 16px; padding: 12px 0 14px; }
  .site-header nav a[aria-current]::after { content:''; position: absolute; bottom: 0; left: 35%; width: 30%; height: 2px; background: var(--orange); }
  .home-page { background: #f7f0e8; min-height: 0; }
  .hero { height: 500px; aspect-ratio: auto; background: #f7f0e8; margin: 0; isolation: isolate; }
  .home-base,.card-hotspots,.card-glows { display: none; }
  .mobile-introduction { display: block; position: absolute; z-index: 2; top: 29px; left: 26px; right: 26px; color: #492715; }
  .mobile-introduction p { font-size: 11px; letter-spacing: .18em; color: #986449; margin: 0 0 15px; }
  .mobile-introduction h1 { font-size: clamp(35px,9vw,48px); letter-spacing: -.045em; line-height: 1.18; margin: 0; font-weight: 800; }
  .mobile-introduction h1 span { color: #d95322; }
  .hero canvas,.hero .portrait-base { inset: auto; top: 54px; left: 50%; width: 800px; height: 450px; transform: translateX(-50%); max-width: none; z-index: 1; }
  .archive-watermark { bottom: 30px; right: 25px; font-size: 24px; z-index: 3; }
  .intro { z-index: 5; background: #f7f0e8; }
  .intro video { object-fit: cover; }
  .intro-controls { right: 20px; bottom: 20px; }
  .intro-controls button { min-height: 40px; font-size: 13px; padding: 10px 16px; }
  .intro-loader { font-size: 14px; }
  .mobile-profile { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 24px; padding: 25px 0; border-bottom: 1px solid #ac6c3f36; color: #512918; }
  .mobile-profile strong { font-size: 24px; font-weight: 700; display: block; }
  .mobile-profile em { font: italic 22px Georgia,serif; margin-left: 9px; color: #bd542a; }
  .mobile-profile div>span { display: block; font-size: 13px; margin-top: 7px; color: #916d56; }
  .profile-index { font: 12px Georgia,serif; color: #9c725a; letter-spacing: .09em; white-space: nowrap; }
  .mobile-card-links { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 34px; }
  .mobile-card-links a { display: flex; align-items: center; gap: 20px; padding: 20px; text-align: left; min-height: 94px; border: 1px solid #cf865736; border-radius: 16px; background: #fffbf5; color: #603018; box-shadow: 0 5px 14px #713d1605; transition: transform .3s,box-shadow .3s,border-color .3s; }
  .mobile-card-links a:active,.mobile-card-links a.selected { background: #fffbf5; border-color: #dc873a; box-shadow: 0 0 0 3px #efb86a28; transform: translateY(-3px); }
  .card-number { font: italic 30px Georgia,serif; color: #c56a3b; }
  .mobile-card-links strong { display: block; font-size: 20px; font-weight: 650; letter-spacing: .02em; }
  .mobile-card-links small { display: block; font-size: 10px; color: #9f806b; letter-spacing: .12em; margin-top: 7px; }
  .card-arrow { margin-left: auto; color: #c57951; font-size: 24px; }
  .artwork-stage { display: none; }
  .mobile-content { display: block; padding: 0 24px 24px; }
  .mobile-page-heading { padding: 40px 0 34px; border-bottom: 1px solid #ffffff29; }
  .mobile-eyebrow { font-size: 11px; letter-spacing: .16em; color: #a78068; margin: 0 0 17px; }
  .mobile-page-heading h2 { font-size: clamp(36px,9.7vw,52px); font-weight: 700; line-height: 1.2; letter-spacing: -.04em; color: #eb6033; margin: 0; white-space: pre-line; }
  .mobile-section { position: relative; padding: 34px 0 36px; border-bottom: 1px solid #ffffff25; }
  .section-number { display: block; font: italic 18px Georgia,serif; color: #a66c4f; margin-bottom: 14px; }
  .mobile-section h3 { font-size: 24px; font-weight: 600; line-height: 1.45; color: #f3e9e2; margin: 0 0 16px; white-space: pre-line; overflow-wrap: anywhere; }
  .section-meta { font-size: 13px; line-height: 1.7; color: #d39171; margin: 0 0 20px; }
  .section-copy { white-space: pre-line; color: #b8b1ac; font-size: 16px; line-height: 1.9; margin: 0 0 24px; overflow-wrap: anywhere; }
  .skill-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0 6px; }
  .skill-tags span { padding: 8px 12px; font-size: 13px; color: #d9ae99; border: 1px solid #a365463d; border-radius: 6px; background: #21130e; }
  .skill-entry { padding: 22px 0 0; border-top: 1px solid #ffffff15; }
  .skill-entry h4 { margin: 0 0 8px; color: #ec9870; font-size: 17px; }
  .mobile-gallery { display: flex; flex-direction: column; gap: 27px; margin-top: 24px; }
  .mobile-gallery:empty { display: none; }
  .gallery-card { margin: 0; min-width: 0; }
  .gallery-image { display: block; width: 100%; padding: 0; overflow: hidden; border-radius: 10px; background: #151515; }
  .gallery-image img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: cover; object-position: top; }
  .image-expand { position: absolute; bottom: 12px; right: 12px; z-index: 3; padding: 7px 10px; border-radius: 5px; background: #0009; color: #fff; font-size: 12px; }
  .gallery-card figcaption,.film-card figcaption { font-size: 14px; line-height: 1.6; color: #a89e96; padding: 12px 1px 0; }
  .film-card video { border-radius: 10px; width: 100%; max-height: 65dvh; }
  .film-card[data-clip="portrait"] video,.film-card[data-clip="young-vision"] video { aspect-ratio: 9/16; }
  .detail-toolbar { min-height: 62px; height: auto; padding: 10px 22px; gap: 12px; }
  .detail-toolbar h1 { display: none; }
  .detail-toolbar a,.detail-toolbar button { font-size: 13px; line-height: 1.4; min-height: 40px; display: flex; align-items: center; }
  .detail-bottom { margin: 0 24px; padding: 25px 0; font-size: 14px; gap: 18px; line-height: 1.6; }
  .site-footer { min-height: 110px; padding: 25px 20px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
  .site-footer>span { font-size: 20px; background: none; }
  .site-footer button { position: static; font-size: 12px; min-height: 32px; }
  .zoom-toolbar { gap: 6px; padding: 0 12px; }
  #zoom-title { font-size: 12px; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .zoom-toolbar button { margin-left: 3px; font-size: 12px; padding: 8px; }
  .contact-dialog { padding: 48px 25px 28px; }
  .contact-dialog>a { font-size: 14px; gap: 10px; }
}
@media(max-width:350px) {
  .site-header { padding-left: 16px; padding-right: 16px; }
  .identity { gap: 7px; }.identity>span:last-child { font-size: 11px; }
  .contact-button { padding: 9px 13px; }
  .mobile-content { padding-left: 20px; padding-right: 20px; }
  .hero { height: 470px; }.hero canvas,.hero .portrait-base { top: 26px; }
  .mobile-card-links a { gap: 16px; padding: 18px; }
}
@media(prefers-reduced-motion:reduce) { .mobile-card-links a { transition: none; } }

/* Display copies already contain the watermark. Avoid stacking marks. */
[data-baked-watermarks] .watermarked::after{content:none}
[data-baked-watermarks] .poster-watermark{display:none}
@media(min-width:761px){[data-baked-watermarks] .archive-watermark{display:none}}
