/* The picture is a navigable scene; the headline lives below it. */
.fragment-hero { height: 100svh; min-height: max(800px, calc(27vw + 325px)); max-height: 1400px; }
.fragment-hero .hero-scene { inset: 88px 0 220px; z-index: 0; }
.fragment-hero .hero-image { inset: 0; background-position: 58% 0%; background-size: cover; }
.fragment-hero .hero-shade { pointer-events: none; background: linear-gradient(0deg, #090909 0%, #09090936 16%, transparent 42%, #09090905 76%, #090909a6 100%); }
.fragment-hero .hero-top { top: 119px; z-index: 2; pointer-events: none; }
.fragment-hero .hero-identity { top: 166px; z-index: 2; pointer-events: none; }
.fragment-hero .hero-main { bottom: 76px; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 32px; }
.fragment-hero .hero-kicker { grid-column: 1 / -1; margin: 0; font-size: 9px; }
.fragment-hero h1 { font-size: clamp(42px, 4.5vw, 86px); white-space: nowrap; line-height: .95; }
.fragment-hero .title-line { display: inline-block; padding-bottom: 6px; }
.fragment-hero .title-line.second { margin: 0 0 0 .13em; }
.fragment-hero .hero-bottom { margin: 0 0 6px; max-width: none; gap: 30px; }
.fragment-hero .hero-bottom p { font-size: 12px; line-height: 1.8; letter-spacing: 0; }
.fragment-hero .round-link { gap: 14px; font-size: 9px; }
.fragment-hero .hero-footer { z-index: 2; bottom: 24px; }
.fragment-map { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.project-fragment { --target: 70px; position: absolute; left: 50%; top: 50%; width: var(--target); height: var(--target); transform: translate(-50%, -50%); display: grid; place-items: center; pointer-events: auto; outline-offset: 8px; border-radius: 50%; }
.project-fragment.fragment-large { --target: 94px; }
.fragment-target { position: absolute; inset: 0; border: 1px solid #e2d8c03b; border-radius: 50%; transition: border-color .3s, box-shadow .3s, transform .5s; }
.fragment-target::before, .fragment-target::after { content: ""; position: absolute; inset: -5px; border: 1px solid transparent; border-top-color: #ef7d43b3; border-bottom-color: #ef7d43b3; border-radius: 50%; transform: rotate(-30deg); transition: transform .6s; }
.fragment-target::after { inset: 6px; border-top-color: #ef7d4338; border-bottom-color: transparent; transform: rotate(35deg); }
.fragment-target > i { position: absolute; right: -2px; top: -5px; min-width: 20px; padding: 4px; background: #151411e8; color: #e7d6bd; border: 1px solid #d9c8b044; font: 9px var(--mono); font-style: normal; text-align: center; }
.fragment-label { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 220px; text-align: center; pointer-events: none; text-shadow: 0 2px 10px #000, 0 1px 3px #000; }
.fragment-label strong { display: block; font: 700 11px var(--mono); letter-spacing: 1px; color: #d4cabe; transition: color .3s; }
.fragment-label b { display: inline-block; color: var(--accent); font-size: 12px; transition: transform .3s; }
.fragment-label small { display: block; margin-top: 8px; padding: 6px 9px; background: #11110fe6; border: 1px solid #d7c5ac38; color: #d5cfc5; font: 10px/1.4 var(--mono); opacity: 0; transform: translateY(-5px); transition: opacity .25s, transform .25s; }
.project-fragment:is(:hover, :focus-visible) { z-index: 5; }
.project-fragment:is(:hover, :focus-visible) .fragment-target { border-color: #ef7d43; box-shadow: 0 0 38px #ef7d432b, inset 0 0 20px #ef7d431a; transform: scale(1.08); }
.project-fragment:is(:hover, :focus-visible) .fragment-target::before { transform: rotate(60deg); }
.project-fragment:is(:hover, :focus-visible) .fragment-label strong { color: #ffbd88; }
.project-fragment:is(:hover, :focus-visible) .fragment-label b { transform: translate(2px, -2px); }
.project-fragment:is(:hover, :focus-visible) .fragment-label small { opacity: 1; transform: translateY(0); }
.project-fragment.label-left .fragment-label { left: auto; right: 0; transform: none; text-align: right; }
.project-fragment.label-right .fragment-label { left: 0; transform: none; text-align: left; }
.fragment-instruction { position: absolute; bottom: 15px; left: var(--gutter); right: var(--gutter); pointer-events: none; display: flex; align-items: center; gap: 12px; color: #c3b9aa; font: 9px/1.6 var(--mono); letter-spacing: 1px; }
.fragment-instruction > span:last-child { color: #91867b; margin-left: 10px; letter-spacing: .5px; }
.fragment-hint-mark { color: var(--accent); font-size: 25px; }
.work-stage { scroll-margin-top: 100px; }
.work-selector:target { border-left-color: var(--accent); }

@media (max-width: 1100px) and (min-width: 701px) {
  .fragment-hero { height: auto; min-height: 0; max-height: none; padding-top: 88px; }
  .fragment-hero .hero-scene { position: relative; inset: auto; height: clamp(430px, 54vw, 560px); }
  .fragment-hero .hero-main { position: relative; inset: auto; margin: 0 var(--gutter); padding: 32px 0 25px; grid-template-columns: 1fr; gap: 14px; }
  .fragment-hero h1 { font-size: 5.8vw; }
  .fragment-hero .hero-bottom { justify-content: space-between; }
  .fragment-hero .hero-identity { top: 150px; }
  .fragment-hero .hero-identity p { font-size: 12px; }
  .fragment-hero .hero-footer { position: relative; inset: auto; margin: 0 var(--gutter) 24px; }
}
@media (max-width: 700px) {
  .fragment-hero { height: auto; min-height: 0; max-height: none; padding-top: 80px; }
  .fragment-hero .hero-scene { position: relative; inset: auto; height: clamp(410px, 90vw, 500px); }
  .fragment-hero .hero-image { inset: 0; background-size: auto 100%; background-position: 61% 40%; }
  .fragment-hero .hero-main { position: relative; inset: auto; margin: 0 var(--gutter); padding: 26px 0 20px; display: block; }
  .fragment-hero .hero-top { top: 104px; }
  .fragment-hero .hero-top > span:last-child { display: none; }
  .fragment-hero .hero-identity { top: 104px; right: var(--gutter); }
  .fragment-hero .hero-identity > span { font-size: 8px; letter-spacing: 0; }
  .fragment-hero .hero-identity p { display: none; }
  .fragment-hero .hero-kicker { font-size: 7px; gap: 8px; margin-bottom: 19px; letter-spacing: .4px; }
  .fragment-hero h1 { font-size: 12vw; line-height: .94; }
  .fragment-hero .title-line { display: block; }
  .fragment-hero .title-line.second { margin: 0; }
  .fragment-hero .hero-bottom { margin-top: 22px; gap: 18px; }
  .fragment-hero .hero-bottom p { font-size: 12px; }
  .fragment-hero .round-link { font-size: 8px; gap: 10px; }
  .fragment-hero .hero-footer { position: relative; inset: auto; margin: 8px var(--gutter) 28px; font-size: 6px; }
  .project-fragment, .project-fragment.fragment-large { --target: 46px; }
  .fragment-target > i { font-size: 8px; padding: 3px; top: -7px; right: -5px; min-width: 18px; }
  .fragment-label { top: calc(100% + 9px); max-width: 165px; }
  .fragment-label strong { font-size: 9px; letter-spacing: .3px; }
  .fragment-label small { font-size: 8px; white-space: normal; }
  .fragment-instruction { bottom: 5px; gap: 8px; font-size: 7px; letter-spacing: .4px; flex-wrap: wrap; }
  .fragment-instruction > span:last-child { margin-left: 0; }
  .fragment-hint-mark { font-size: 20px; }
}
@media (max-width: 360px) {
  .fragment-hero .hero-identity > span { font-size: 7px; }
  .fragment-hero .hero-top { font-size: 7px; }
  .fragment-hero .hero-top > span:first-child { gap: 4px; }
  .fragment-hero .hero-kicker { font-size: 6px; }
  .fragment-hero .kicker-line { width: 16px; }
  .fragment-hero .hero-bottom p { font-size: 11px; }
}
