/* Photo-led competition work, plus responsive refinements for the existing site.
   Load after styles.css. Portfolio typography and the original glass navigation stay intact. */

body { cursor: auto; }
body.viewer-open { overflow: hidden; }
.pixel-cursor, .pixel-cursor-ring { display: none !important; }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--tab-accent, #d6ff3f); outline-offset: 5px; }
img { max-width: 100%; }
html { scroll-padding-top: calc(88px + env(safe-area-inset-top)); }
.tab-panel,.work-card,.award-work { scroll-margin-top: 0; }
.tab-btn, .lang-toggle { min-height: 44px; }
.tab-btn { padding-top: 11px; padding-bottom: 11px; }
.lang-toggle { top: 24px; min-width: 48px; }
.brand-chip { top: 29px; }
.brand-chip { text-decoration: none; }
.journey-work-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: #c8cdbe; font-size: 13px; text-decoration: none; }
.journey-work-link:hover { color: #f4f4ef; border-color: rgb(244 244 239 / 24%); background: rgb(244 244 239 / 4%); }
.journey-work-link:focus-visible { outline-color: #e8ece1; }
.award-work { scroll-margin-top: 0; }
.award-work .role-list { grid-template-columns: max-content minmax(0,1fr); }

.hero-line1, .hero-line2 { overflow-wrap: anywhere; }
.work-cta, .top-btn, .footer-privacy { min-height: 44px; }
.footer-privacy { display: inline-flex; align-items: center; }
/* Keep WORK cards and photos above the global texture layers (38–40), below navigation (50). */
#panel-work { position: relative; z-index: 41; padding-top: 40px; }
#panel-journey, #panel-about { padding-top: 100px; }
.work-card { min-width: 0; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
.work-card:hover { transform: none; }
.work-card .idx-wm { right: 0; }
.work-card > *, .about-grid > *, .footer-grid > * { min-width: 0; }
.work-name, .work-meta, .work-stack span, .journey-title, .journey-desc, .about-hello, .about-p1, .about-p2 { overflow-wrap: anywhere; }
.work-desc, .work-role, .journey-desc { color: rgba(237,237,232,.76); }
.journey-main { min-width: 0; }
.about-photo-wrap { animation: none; }
.about-name-en { display: block; margin-top: 5px; font: 15px/1.7 var(--mono); color: #adb3a5; }
.nowrap-name { display: inline-block; }
.polaroid { background-image: none; }
.polaroid:hover { transform: rotate(-2.5deg); }
.contact-list a { min-height: 44px; align-items: center; max-width: 100%; flex-wrap: wrap; overflow-wrap: anywhere; letter-spacing: .02em; }
.contact-list a:hover { letter-spacing: .02em; }
.contact-list a span { min-width: 0; overflow-wrap: anywhere; }
.footer-credit { overflow-wrap: anywhere; }
.footer-wordmark:hover { letter-spacing: -.01em; }

/* All new card styles are confined to .award-work. */
.award-work {
  --event-accent: #d6ff3f;
  --update-line: rgba(255,255,255,.14);
  position: relative;
  min-width: 0;
  padding: 27px;
  color: #f4f4ef;
  background: linear-gradient(150deg, #171717, #0e0e0e);
  border: 1px solid var(--update-line);
  border-radius: 18px;
}
.award-work::before { content: ''; position: absolute; left: 27px; top: -1px; height: 3px; width: 54px; background: var(--event-accent); }
.award-work .event-head { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--update-line); }
.award-work .event-brand { display: flex; align-items: center; gap: 17px; min-width: 0; }
.award-work .logo-box { display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; width: 132px; height: 62px; }
.award-work .logo-box.devjam { width: 124px; height: 124px; padding: 0; border-radius: 3px; background: #f4f4ef; }
.award-work.devjam-work .event-head { flex-wrap: wrap; gap: 16px 22px; }
.award-work.devjam-work .event-brand { flex: 1 1 280px; }
.award-work .organizer-brand { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
.award-work .organizer-brand span { color: #a8aca0; font-size: 10px; line-height: 1.8; }
.award-work .organizer-brand img { display: block; width: 270px; max-width: 100%; height: auto; }
.award-work .logo-box.sea { width: 181px; height: 43px; gap: 4%; background: transparent; }
.award-work .logo-box img, .award-work .logo-box svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.award-work .logo-box.sea img { object-fit: contain; }
.award-work .sea-mark { position: relative; flex: 0 0 47%; height: 100%; }
.award-work .sea-mark img { position: absolute; inset: 0; }
.award-work .sea-symbol { clip-path: inset(0 60.5% 0 0); }
.award-work .sea-word { clip-path: inset(0 0 0 39.5%); filter: brightness(0) invert(1); }
.award-work .brand-divider { flex: 0 0 1%; height: 64%; background: #f4f4ef; }
.award-work .logo-box.sea .openai-mark { flex: 0 0 44%; width: 44%; height: 100%; filter: brightness(0) invert(1); }
.award-work .brand-copy { min-width: 0; }
.award-work .brand-copy span { display: block; font-size: 14px; font-weight: 500; line-height: 1.65; overflow-wrap: anywhere; }
.award-work .award { display: flex; flex-shrink: 0; align-items: center; gap: 13px; padding-left: 17px; border-left: 1px solid var(--update-line); }
.award-work .award strong { color: var(--event-accent); font-family: var(--mono); font-size: 34px; font-weight: 700; line-height: 1.2; letter-spacing: -.06em; }
.award-work .award span { max-width: 120px; color: #c6cabe; font-size: 11px; line-height: 1.7; }
.award-work .project-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; margin-top: 25px; align-items: start; }
.award-work .project-grid > * { min-width: 0; }
.award-work .project-copy { padding-top: 1px; }
.award-work .team-label { display: block; margin-bottom: 7px; color: var(--event-accent); font-family: var(--mono); font-size: 10px; line-height: 1.7; letter-spacing: .055em; }
.award-work .project-copy h3 { margin: 0 0 13px; font-size: 24px; font-weight: 700; line-height: 1.45; letter-spacing: -.025em; overflow-wrap: anywhere; }
.award-work .summary { margin: 0 0 20px; color: #c2c6bb; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.award-work .recognition-note { margin: -8px 0 20px; color: #d5dbce; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.award-work .role-list { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 9px 13px; margin: 0; font-size: 12px; line-height: 1.85; }
.award-work .role-list dt { color: #a0a797; }
.award-work .role-list dd { min-width: 0; margin: 0; color: #dadfd0; overflow-wrap: anywhere; }
.award-work .project-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; }
.award-work .project-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-size: 12px; font-weight: 700; text-decoration: none; }
.award-work .project-actions a.primary, .award-work .project-actions a:first-child { padding: 0 15px; background: var(--event-accent); color: #0a0a0a; border: 1px solid var(--event-accent); border-radius: 6px; }
.award-work .project-actions a.primary:hover, .award-work .project-actions a:first-child:hover { filter: brightness(1.09); }
.award-work .project-actions a.secondary { padding: 0; background: transparent; color: #f4f4ef; border: 0; border-bottom: 1px solid #454b3c; border-radius: 0; }
.award-work .project-actions a.secondary:hover { color: var(--event-accent); border-color: var(--event-accent); }
.award-work .event-context { margin: 0 0 20px; color: #b4bdaa; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.award-work .event-context a { color: #d1d9c5; text-decoration: underline; text-underline-offset: 4px; }
.award-work .event-context a:hover { color: var(--event-accent); }

/* One landscape photograph and two supporting views. Shared with ABOUT's manual album. */
:is(.award-work, .life-gallery) .gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 2fr 1fr; gap: 7px; aspect-ratio: 1; width: 100%; min-width: 0; background: #080808; }
:is(.award-work, .life-gallery) .photo-cell { position: relative; overflow: hidden; display: block; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 3px; background: #1c201b; }
:is(.award-work, .life-gallery) .photo-cell.main { grid-column: 1 / 3; grid-row: 1; }
:is(.award-work, .life-gallery) .photo-cell.secondary { grid-row: 2; }
:is(.award-work, .life-gallery) .photo-cell img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease; }
:is(.award-work, .life-gallery) .photo-cell.main img { object-position: center; }
:is(.award-work, .life-gallery) .photo-cell:hover img { transform: scale(1.025); }
:is(.award-work, .life-gallery) .photo-cell:focus-visible { z-index: 1; outline-offset: 2px; }
:is(.award-work, .life-gallery) .photo-cell::after { content: ''; position: absolute; inset: 50% 0 0; pointer-events: none; background: linear-gradient(transparent, rgb(0 0 0 / 62%)); }
:is(.award-work, .life-gallery) .photo-label { position: absolute; z-index: 1; right: 10px; bottom: 8px; left: 10px; display: flex; justify-content: space-between; gap: 8px; color: #fff; font-size: 10px; line-height: 1.6; text-align: left; text-shadow: 0 1px 3px #000; }
:is(.award-work, .life-gallery) .photo-cell.main .photo-label { right: 12px; left: 12px; bottom: 11px; font-size: 11px; }
:is(.award-work, .life-gallery) .gallery-note { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 10px; color: #a8aca0; font-size: 11px; line-height: 1.6; }
:is(.award-work, .life-gallery) .gallery-note button, :is(.award-work, .life-gallery) button.gallery-note { min-height: 44px; padding: 0; border: 0; background: none; color: #c8cdbe; text-align: left; }
:is(.award-work, .life-gallery) .gallery-note button:hover, :is(.award-work, .life-gallery) button.gallery-note:hover { color: var(--event-accent, var(--tab-accent)); }
/* Venue and admission photos stay together, with their full portrait composition. */
/* DevJam: one photo group, with venue and pass integrated into the supporting views. */
.award-work .gallery-expanded { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto; aspect-ratio: auto; }
.award-work .gallery-expanded .photo-cell.main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
.award-work .gallery-expanded .photo-cell.secondary { grid-row: auto; aspect-ratio: 3 / 2; }
.award-work .gallery-expanded .photo-cell.portrait img { object-fit: contain; }
@media (max-width: 640px) {
  .award-work .gallery-expanded { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ABOUT uses the original automatic fan stack; competition photos keep their mosaic. */
.strip.fanstack { max-width: 100%; }
.fan-stage { overflow: visible; }
.fan-card-running .img-slot img { object-position: center 68%; }
.fan-dots { position: relative; z-index: 110; gap: 0; margin-top: 64px; }
.fan-dot { position: relative; width: 44px; height: 44px; flex: 0 0 44px; background: none; }
.fan-dot::before { content: ''; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; background: rgb(255 255 255 / 22%); transform: translate(-50%, -50%); }
.fan-dot.on { background: none; transform: none; }
.fan-dot.on::before { background: var(--tab-accent); transform: translate(-50%, -50%) scale(1.25); }
.fan-pause { position: relative; z-index: 110; display: block; min-height: 44px; margin: 0 auto; padding: 0 12px; border: 0; background: transparent; color: var(--muted); font: 10px var(--mono); }
.fan-pause:hover { color: var(--tab-accent); }
@media (prefers-reduced-motion: reduce) { .fan-card { transition: none; } }

/* The same native dialog serves event and everyday photos. */
#photoDialog { position: fixed; inset: 0; width: min(980px, calc(100vw - 48px)); max-width: 980px; max-height: calc(100dvh - 44px); margin: auto; padding: 0; overflow: auto; background: #11120f; border: 1px solid #454b3e; border-radius: 10px; color: #f4f4ef; box-shadow: 0 20px 120px rgb(0 0 0 / 70%); }
#photoDialog::backdrop { background: rgb(0 0 0 / 88%); backdrop-filter: blur(5px); }
#photoDialog .dialog-inner { position: relative; padding: 22px; }
#photoDialog .dialog-close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgb(244 244 239 / 12%); border-radius: 50%; background: rgb(244 244 239 / 4%); color: #f4f4ef; font-size: 22px; line-height: 1; }
#photoDialog .viewer-brand { min-height: 32px; margin-bottom: 15px; padding-right: 48px; color: #d6ff3f; font-family: var(--mono); font-size: 12px; line-height: 1.8; }
#photoDialog .viewer-stage { display: grid; place-items: center; width: 100%; min-height: 160px; background: #050505; }
#viewerImage { display: block; width: 100%; height: min(54dvh, 530px); object-fit: contain; touch-action: pan-y; }
#viewerCaption { margin: 13px 0 0; color: #c3cab9; font-size: 12px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
#photoDialog .viewer-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 6px 0 10px; }
#photoDialog .viewer-footer button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 90px; min-height: 44px; padding: 0 13px; border: 1px solid rgb(244 244 239 / 12%); border-radius: 999px; background: rgb(244 244 239 / 4%); color: #f4f4ef; font-size: 12px; }
#photoDialog :is(.dialog-close, .viewer-footer button) { box-shadow: inset 0 1px 0 rgb(255 255 255 / 3%); transition: background .18s ease, border-color .18s ease; }
#photoDialog :is(.dialog-close, .viewer-footer button):hover { background: rgb(244 244 239 / 8%); border-color: rgb(244 244 239 / 24%); }
#photoDialog :is(.dialog-close, .viewer-footer button):focus-visible { outline: 2px solid #d6ff3f; outline-offset: 3px; }
#viewerCount { color: #a5af97; font-family: var(--mono); font-size: 11px; line-height: 1.5; }
#photoDialog .viewer-thumbs { display: flex; gap: 8px; padding: 3px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #5a6349 transparent; }
#photoDialog .viewer-thumbs button { flex: 0 0 90px; width: 90px; height: 61px; min-height: 44px; padding: 0; overflow: hidden; border: 2px solid transparent; background: #080808; opacity: .65; }
#photoDialog .viewer-thumbs button img { display: block; width: 100%; height: 100%; object-fit: cover; }
#photoDialog .viewer-thumbs button.active, #photoDialog .viewer-thumbs button[aria-current='true'] { border-color: #d6ff3f; opacity: 1; }
#photoDialog .viewer-thumbs button:hover { opacity: 1; }

@media (max-width: 1000px) {
  .work-card { grid-template-columns: minmax(0, 270px) minmax(0, 1fr); }
  .award-work { padding: 24px; }
  .award-work .project-grid { gap: 24px; }
  .award-work .event-brand { gap: 13px; }
  .award-work .logo-box { width: 116px; }
  .award-work .logo-box.devjam { width: 116px; height: 116px; }
  .award-work .logo-box.sea { width: 143px; height: 37px; }
  .award-work .brand-copy span { font-size: 12px; }
  .award-work .award { gap: 10px; padding-left: 14px; }
  .award-work .award strong { font-size: 30px; }
  .award-work .award span { max-width: 98px; }
  .about-grid { grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 35px; }
}
@media (max-width: 820px) {
  .work-card { grid-template-columns: minmax(0, 1fr); }
  .work-shot { max-width: 600px; width: 100%; }
  .work-cover-name { font-size: 30px; }
  .award-work .project-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .award-work .project-grid > :first-child { width: 100%; max-width: 620px; }
  .award-work .project-copy h3 { font-size: 24px; }
  .award-work .event-head { flex-wrap: wrap; gap: 16px; }
  .award-work .event-brand { flex: 1 1 100%; }
  .award-work .brand-copy span { font-size: 14px; }
  .award-work .award { padding-left: 0; border-left: 0; }
  .award-work .award span { max-width: none; }
  .about-grid { grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 30px; }
  .about-p1 { font-size: 16px; }
  .about-p2 { font-size: 15px; }
}
@media (max-width: 680px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-photo-wrap { max-width: 300px; width: 100%; }
}
@media (max-width: 640px) {
  .polaroid,.polaroid:hover { transform: none; }
  .tab-nav { top: 14px; left: 14px; right: 76px; max-width: 360px; gap: 3px; transform: none; padding: 4px; }
  .tab-btn { flex: 1; min-width: 0; min-height: 44px; padding: 10px 7px; font-size: 11px; letter-spacing: .01em; }
  .lang-toggle { top: 18px; right: 14px; width: 48px; min-height: 44px; padding: 8px 0; font-size: 11px; }
  #panel-work { padding-top: 40px; }
  #panel-journey, #panel-about { padding-top: 100px; }
  .section-title { line-height: 1.8; }
  .section-tag { color: rgba(255,255,255,.6); }
  .work-card { padding: 20px; gap: 20px; }
  .work-name { font-size: 24px; line-height: 1.5; }
  .work-desc { font-size: 15px; line-height: 1.9; }
  .work-role { font-size: 13px; line-height: 1.85; }
  .work-meta { font-size: 11px; line-height: 1.7; color: rgba(255,255,255,.64); }
  .work-status { margin-left: 0; }
  .work-stack span { font-size: 11px; line-height: 1.7; }
  .work-cover { padding: 23px; }
  .work-cover-name { font-size: 28px; }
  .journey-card { padding: 18px; }
  .journey-title { font-size: 18px; line-height: 1.65; }
  .journey-desc { font-size: 14px; line-height: 1.9; }
  .journey-main { width: 100%; }
  .journey-photo { max-width: 100%; }
  .about-hello { font-size: 25px; line-height: 1.6; }
  .about-p1, .about-p2 { font-size: 15px; line-height: 1.95; }
  .chips span { font-size: 12px; line-height: 1.7; }
  .beyond { margin-top: 50px; }
  .award-work { padding: 19px; border-radius: 14px; }
  .award-work::before { left: 19px; }
  .award-work .event-head { gap: 16px; padding-bottom: 18px; }
  .award-work .event-brand { gap: 14px; }
  .award-work .logo-box { width: 117px; height: 53px; }
  .award-work .logo-box.devjam { width: 104px; height: 104px; }
  .award-work .logo-box.sea { width: 143px; height: 37px; }
  .award-work .brand-copy small { font-size: 9px; margin-bottom: 4px; }
  .award-work .brand-copy span { font-size: 11px; line-height: 1.75; }
  .award-work .award { gap: 12px; }
  .award-work .award strong { font-size: 29px; }
  .award-work .award span { font-size: 11px; }
  .award-work .project-grid { margin-top: 19px; }
  .award-work .project-copy h3 { margin-bottom: 10px; font-size: 23px; }
  .award-work .summary { margin-bottom: 17px; font-size: 14px; }
  .award-work .role-list { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 10px; font-size: 12px; }
  .award-work .project-actions { margin-top: 19px; }
  .award-work .event-context { margin: 0 0 17px; padding: 0; font-size: 12px; }
  :is(.award-work, .life-gallery) .gallery { gap: 5px; }
  :is(.award-work, .life-gallery) .photo-label { left: 7px; right: 7px; bottom: 6px; font-size: 10px; }
  :is(.award-work, .life-gallery) .photo-cell.main .photo-label { left: 9px; right: 9px; bottom: 8px; font-size: 11px; }
  :is(.award-work, .life-gallery) .gallery-note { margin-top: 7px; font-size: 11px; }
  #photoDialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 7px; }
  #photoDialog .dialog-inner { padding: 14px; }
  #photoDialog .dialog-close { top: 8px; right: 8px; }
  #photoDialog .viewer-brand { min-height: 35px; margin-bottom: 13px; font-size: 10px; }
  #viewerImage { height: auto; max-height: min(50dvh, 410px); }
  #viewerCaption { margin-top: 11px; font-size: 12px; }
  #photoDialog .viewer-footer { gap: 12px; }
  #photoDialog .viewer-footer button { min-width: 84px; padding: 0 10px; font-size: 11px; }
  #photoDialog .viewer-thumbs { gap: 6px; }
  #photoDialog .viewer-thumbs button { flex-basis: 77px; width: 77px; height: 53px; }
  .footer-inner { padding: 40px 20px 24px; }
  .footer-grid { gap: 30px; }
  .currently-list { min-width: 0; max-width: 100%; }
  .currently-list div { min-width: 0; }
  .currently-list span:last-child { min-width: 0; overflow-wrap: anywhere; }
  .footer-contacts { min-width: 0; width: 100%; }
  .contact-list { align-items: flex-start; }
  .contact-list a { min-height: 44px; }
}
@media (max-width: 374px) {
  .tab-nav { left: 10px; right: 70px; gap: 2px; padding: 4px; }
  .tab-btn { padding: 10px 5px; font-size: 10px; letter-spacing: 0; }
  .lang-toggle { right: 10px; }
  #panel-work, #panel-journey, #panel-about { padding-right: 16px; padding-left: 16px; }
  .work-card, .award-work { padding: 16px; }
  .award-work::before { left: 16px; }
  .work-cover { padding: 20px; }
  .work-cover-name { font-size: 25px; }
  .work-name { font-size: 22px; }
  .award-work .logo-box { width: 99px; height: 48px; }
  .award-work .logo-box.devjam { width: 96px; height: 96px; }
  .award-work .logo-box.sea { width: 122px; height: 32px; }
  .award-work .event-brand { gap: 10px; }
  .award-work .brand-copy span { font-size: 10px; }
  .award-work .award span { max-width: 160px; }
  .award-work .project-copy h3 { font-size: 21px; }
  :is(.award-work, .life-gallery) .photo-label { font-size: 9px; }
  #photoDialog .viewer-footer button { min-width: 76px; }
  .journey-list { padding-left: 20px; }
  .journey-node { left: -27px; }
  .journey-card { padding: 16px; }
  .section-tag { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :is(.award-work, .life-gallery) .photo-cell img { transition: none; }
}

/* Stable mobile text sizing and a compact event identity; hero uses the original design. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.marquee { padding-top: 12px; padding-bottom: 12px; }
.marquee-track { animation-duration: 44s; }
.marquee-item { font-size: 12px; letter-spacing: .13em; }
.award-work .event-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; padding-bottom: 18px; }
.award-work .event-brand { display: grid; grid-template-columns: auto minmax(0,1fr); column-gap: 14px; row-gap: 8px; align-items: center; }
.award-work .logo-box.devjam { width: 72px; height: 72px; grid-row: 1 / 3; }
.award-work .logo-box.sea { width: 155px; height: 37px; }
.award-work .brand-copy span { font-size: 15px; line-height: 1.5; }
.award-work .organizer-brand { display: block; grid-column: 2; }
.award-work .organizer-brand img { width: 240px; height: auto; }
.award-work .award { flex-direction: column; align-items: flex-end; gap: 5px; padding-left: 18px; border-left: 1px solid var(--update-line); text-align: right; }
.award-work .award strong { font-size: 30px; letter-spacing: -.04em; white-space: nowrap; }
.award-work .award span { max-width: 140px; font-size: 12px; line-height: 1.5; }
.award-work .team-label { font: 500 12px/1.6 var(--sans); letter-spacing: .02em; }
.img-slot[data-image-state="loading"] .img-placeholder { display: flex; background: #252922; }
.img-slot[data-image-state="loading"] img { opacity: 0; }
.img-slot[data-image-state="error"] img { visibility: hidden; }
.img-slot[data-image-state="error"] .img-placeholder { display: flex; padding: 16px; font: 12px/1.7 var(--sans); text-align: center; color: #bfc4b5; background: #252922; }
.polaroid .img-slot[data-image-state="error"] .img-placeholder, .fan-card .img-slot[data-image-state="error"] .img-placeholder { color: #45493f; background: #ddddd6; }
@media (max-width: 740px) {
  .award-work .event-head { gap: 14px; }
  .award-work .event-brand { column-gap: 10px; }
  .award-work .logo-box.devjam { width: 64px; height: 64px; }
  .award-work .logo-box.sea { grid-column: 1 / 3; width: 145px; height: 34px; }
  .award-work:not(.devjam-work) .brand-copy { grid-column: 1 / 3; }
  .award-work .brand-copy span { font-size: 14px; }
  .award-work .organizer-brand img { width: 220px; }
  .award-work .award { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .marquee { padding-top: 9px; padding-bottom: 9px; }
  .marquee-item { font-size: 11px; letter-spacing: .1em; }
  #panel-work { padding-top: 26px; }
  .section-head { margin-bottom: 20px; flex-wrap: nowrap; }
  .section-tag { display: none; }
  .award-work .event-head { gap: 12px; padding-bottom: 14px; }
  .award-work .event-brand { column-gap: 10px; row-gap: 6px; }
  .award-work .logo-box.devjam { width: 56px; height: 56px; grid-row: 1; }
  .award-work .logo-box.sea { width: 136px; height: 32px; }
  .award-work .brand-copy span { font-size: 14px; line-height: 1.45; }
  .award-work .organizer-brand { grid-column: 1 / 3; }
  .award-work .organizer-brand img { width: 190px; }
  .award-work .award strong { font-size: 27px; }
  .award-work .award span { max-width: 100px; font-size: 12px; }
  .award-work .project-grid { margin-top: 16px; }
}
@media (max-width: 374px) {
  .award-work .event-brand { column-gap: 8px; }
  .award-work .logo-box.devjam { width: 52px; height: 52px; }
  .award-work .logo-box.sea { width: 122px; height: 29px; }
  .award-work .brand-copy span { font-size: 13px; }
  .award-work .award strong { font-size: 25px; }
  .award-work .award span { max-width: 92px; font-size: 11px; }
  .award-work .organizer-brand img { width: 170px; }
}

/* Original glass and technology textures restored; responsive hit areas stay intact. */
@media (hover: hover) and (pointer: fine) and (min-width: 641px) {
  .contact-list a:hover { letter-spacing: .16em; }
  .footer-wordmark:hover { letter-spacing: .04em; }
}

/* Keep rounded photo shells and quiet borders without angular corner ornaments. */
.award-work .photo-frame,
#photoDialog .viewer-stage {
  position: relative;
  min-width: 0;
  padding: 8px;
  background: #0b0d0b;
  border: 1px solid rgb(220 230 219 / 16%);
  border-radius: 10px;
}
.award-work .photo-frame .gallery { border-radius: 5px; overflow: hidden; }
#viewerImage { border-radius: 4px; }
#photoDialog .viewer-thumbs button { position: relative; border-radius: 4px; }
#photoDialog .thumb-fallback { display: none; padding: 5px; color: #c3cab9; font: 10px/1.5 var(--sans); }
#photoDialog .viewer-thumbs button[data-image-state="error"] img { display: none; }
#photoDialog .viewer-thumbs button[data-image-state="error"] .thumb-fallback { display: block; }

/* Use the supplied event graphic in place of the duplicated plain event title. */
.award-work:not(.devjam-work) .brand-copy { width: 210px; max-width: 100%; }
.award-work .event-lockup { display: block; width: 100%; height: auto; mix-blend-mode: lighten; }
@media (max-width: 740px) {
  .award-work:not(.devjam-work) .brand-copy { width: 186px; }
}
@media (max-width: 640px) {
  .award-work .photo-frame, #photoDialog .viewer-stage { padding: 6px; border-radius: 8px; }
}

/* A shared project index/date row, with actions at the end of each event card. */
#workList :is(.work-body, .project-copy) { position: relative; isolation: isolate; }
#workList .work-idx { display: inline-flex; align-items: baseline; gap: 6px; color: #bbc2b2; white-space: nowrap; }
#workList .index-prefix { font: 10px/1.6 var(--mono); letter-spacing: .04em; }
#workList .work-meta { color: #a8aca0; line-height: 1.6; }
#workList .work-card { --work-index-size: 110px; }
#workList .work-tail {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
#workList .work-tail > .idx-wm {
  position: static;
  z-index: auto;
  flex: 0 0 auto;
  margin-inline-start: auto;
  font: var(--work-index-size)/1 var(--pixel);
  color: rgb(255 255 255 / 3.5%);
  pointer-events: none;
  user-select: none;
}
#workList .work-tail > .work-cta { margin-top: 0; min-width: 0; max-width: 100%; }
#workList .work-tail > .work-stack { flex: 1 1 180px; min-width: 0; }
.award-work .project-meta { gap: 7px 12px; margin-bottom: 10px; }
.award-work .project-actions { justify-content: flex-end; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--update-line); }
.award-work:not(.devjam-work) .event-brand { column-gap: 22px; }
.award-work .logo-box.sea { width: 170px; height: 40px; }
@media (max-width: 740px) {
  .award-work:not(.devjam-work) .event-brand { row-gap: 9px; column-gap: 10px; }
  .award-work .logo-box.sea { width: 145px; height: 34px; }
}
@media (max-width: 640px) {
  #workList .work-card { --work-index-size: 76px; }
  .award-work .logo-box.sea { width: 136px; height: 32px; }
  .award-work .project-actions { justify-content: flex-start; margin-top: 18px; padding-top: 15px; }
}
@media (max-width: 374px) {
  .award-work .logo-box.sea { width: 122px; height: 29px; }
  .award-work .project-meta { gap: 6px 10px; }
  #workList .work-card { --work-index-size: 68px; }
}

/* Keep event actions with the photographs; mobile metadata shares the album row. */
.award-work { isolation: isolate; --award-index-size: 64px; }
.award-work .idx-wm {
  position: absolute;
  z-index: -1;
  right: 27px;
  bottom: 14px;
  font: var(--award-index-size)/1 var(--pixel);
  color: rgb(255 255 255 / 3.5%);
  pointer-events: none;
  user-select: none;
}
.award-work .project-grid {
  grid-template-areas: "photos details" "toolbar toolbar";
  grid-template-rows: auto auto;
  gap: 12px 28px;
}
.award-work .project-media { grid-area: photos; }
.award-work .project-details { grid-area: details; min-width: 0; }
.award-work .project-toolbar {
  grid-area: toolbar;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: flex-start;
  gap: 8px 28px;
}
.award-work .project-toolbar > .album-link,
.award-work .project-toolbar > .project-actions { justify-self: end; }
.award-work .album-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #c8cdbe;
  font-size: 11px;
  white-space: nowrap;
}
.award-work .album-link:hover { color: var(--event-accent); }
.award-work .project-actions {
  justify-content: flex-end;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  border: 0;
}
/* Keep a clear space for the two-digit corner index instead of covering it. */
.award-work .project-toolbar > .project-actions {
  justify-self: stretch;
  min-inline-size: 0;
  padding-inline-end: calc(var(--award-index-size) * 2 + 12px);
}
.award-work .project-actions > a {
  min-inline-size: 0;
  max-inline-size: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}
@media (min-width: 821px) {
  /* Put actions above a full-size index; the photograph spans the available rows. */
  .award-work { --award-index-size: 110px; }
  .award-work .project-grid {
    grid-template-areas: "photos details" "photos actions" "photos actions" "photos index" "album index";
    grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  }
  .award-work .project-toolbar { display: contents; }
  .award-work .project-toolbar > .project-actions {
    grid-area: actions;
    justify-self: end;
    align-self: end;
    padding-inline-end: 0;
  }
  .award-work .album-link { grid-area: album; }
  .award-work .idx-wm {
    grid-area: index;
    position: static;
    z-index: auto;
    align-self: end;
    justify-self: end;
  }
}
.footer-credit { display: flex; flex-wrap: wrap; gap: 6px 12px; overflow-wrap: normal; }
.footer-credit > span { white-space: nowrap; }
.journey-photo .img-slot:is([data-slot="journey-care"], [data-slot="journey-citytask"]) { aspect-ratio: 1600 / 1067; }
@media (max-width: 1000px) {
  .award-work .idx-wm { right: 24px; bottom: 14px; }
}
@media (max-width: 820px) {
  .award-work .project-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "photos photos" "meta album" "copy copy" "actions actions";
    grid-template-rows: auto;
    gap: 0 10px;
  }
  .award-work .project-media { max-width: none; margin-bottom: 8px; }
  .award-work .project-details, .award-work .project-toolbar { display: contents; }
  .award-work .project-meta { grid-area: meta; align-self: center; gap: 6px 10px; margin: 0; }
  .award-work .album-link { grid-area: album; justify-self: end; }
  .award-work .project-copy { grid-area: copy; margin-top: 10px; }
  .award-work .project-toolbar > .project-actions { grid-area: actions; justify-self: stretch; justify-content: flex-start; margin-top: 18px; }
}
@media (max-width: 740px) {
  .award-work:not(.devjam-work) .event-brand > :is(.logo-box.sea, .brand-copy) { justify-self: center; }
}
@media (max-width: 640px) {
  .award-work { --award-index-size: 48px; }
  .award-work .idx-wm { right: 19px; bottom: 14px; }
  .hero-id > .hero-cta { margin-top: 18px; min-height: 44px; }
}
@media (max-width: 374px) {
  .award-work .idx-wm { right: 16px; }
}
