@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #121212;
  --surface: #1b1b1b;
  --text: #f2f0eb;
  --muted: #adadad;
  --accent: #f58220;
  --line: #373737;
  --font: Arial, Helvetica, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

/* Shared foundations and keyboard access. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
::selection { background: var(--accent); color: var(--bg); }
[hidden] { display: none !important; }
svg { display: block; }
p { line-height: 1.75; margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.12; letter-spacing: -.045em; }
h3 { letter-spacing: -.03em; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 62px; }
.accent { color: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 11px; font-family: var(--mono); font-size: 11px; letter-spacing: .075em; text-transform: uppercase; line-height: 1.6; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; background: var(--accent); color: var(--bg); padding: 16px; z-index: 20; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 13px 20px; border: 1px solid transparent; font-size: 13px; font-weight: 600; text-align: center; transition: background .18s, color .18s; }
.button-primary { background: var(--accent); color: var(--bg); }
.button-primary:hover { background: #ff9b48; }
.button-secondary { border-color: var(--line); background: transparent; color: var(--text); }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; min-height: 44px; }
.text-link:hover, nav a:hover, .back-top:hover { color: var(--accent); }

/* Header and concise introduction. */
.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; }
.brand-logo { display: block; width: 178px; height: auto; }
.brand-footer .brand-logo { width: 124px; }
nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-contact { color: var(--text); }
.hero { padding-block: 58px; }
.hero-layout { display: grid; grid-template-columns: 1.3fr .8fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(2.65rem, 5vw, 4.5rem); font-weight: 500; line-height: 1.08; letter-spacing: -.055em; }
.hero-intro { color: var(--muted); max-width: 530px; font-size: 15px; margin-top: 24px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.hero-visual { margin: 0; width: 100%; max-width: 310px; justify-self: center; }
.path-diagram { width: 100%; height: auto; }
.hero-visual figcaption { color: var(--muted); font-size: 10px; text-align: center; margin-top: 8px; }

/* One project section: the demonstration and both development stages. */
.work { border-top: 1px solid var(--line); }
.work-layout { display: grid; grid-template-columns: 1.3fr 1fr; align-items: start; gap: 44px; margin-top: 30px; }
.project-video { min-width: 0; }
.video-shell { position: relative; overflow: hidden; width: 100%; min-width: 0; aspect-ratio: 16/9; background: var(--surface); border: 1px solid var(--line); isolation: isolate; }
.video-placeholder { position: absolute; inset: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.video-placeholder h3 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.15; }
.video-placeholder p { color: var(--muted); font-size: 12px; }
.video-placeholder .button { margin-top: 3px; }
.video-note { color: var(--muted); font-size: 11px; margin-top: 12px; }
.video-note:empty { display: none; }
.video-external { font-size: 11px; }
.video-shell iframe, .video-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-poster { z-index: -1; opacity: .35; }
.video-shell.has-player { background: #000; }
.project + .project { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 26px; }
.project-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; column-gap: 20px; row-gap: 8px; }
.project h3 { font-size: 25px; line-height: 1.2; }
.badge { font-size: 10px; color: var(--accent); }
.badge-outline { color: var(--muted); }
.project p { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* Direct contact actions. */
.contact { border-top: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; }
.section-intro { max-width: 350px; color: var(--muted); font-size: 14px; margin-top: 20px; }
.contact-link { display: grid; grid-template-columns: 26px minmax(0,1fr) 18px; gap: 15px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; transition: color .18s, background .18s; }
.contact-link:first-child { padding-top: 0; }
.contact-link[aria-disabled="true"] { color: var(--muted); }
.contact-link[href]:hover { color: var(--accent); background: #f5822006; }
.contact-icon { font-family: var(--mono); font-size: 21px; color: var(--accent); }
.social-in { font-family: var(--font); font-weight: 700; font-size: 18px; }
.contact-link[aria-disabled="true"] .contact-icon, .contact-link[aria-disabled="true"] .link-arrow { color: var(--muted); }
.link-detail { display: block; font-size: 11px; line-height: 1.5; color: var(--muted); margin-top: 5px; overflow-wrap: anywhere; }
.link-arrow { color: var(--accent); font-size: 18px; }
.contact-note, .noscript-note { margin-top: 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.site-footer { display: flex; justify-content: space-between; gap: 25px; align-items: center; border-top: 1px solid var(--line); padding-block: 24px; }
.back-top { font-size: 11px; display: flex; gap: 18px; min-height: 44px; align-items: center; }

/* The standalone QR utility shares the same palette and controls. */
.qr-page { max-width: 900px; padding-block: 65px; }
.qr-page h1 { font-size: clamp(2.6rem,7vw,4.5rem); letter-spacing: -.06em; margin-top: 20px; }
.qr-intro { max-width: 570px; color: var(--muted); margin: 20px 0 35px; font-size: 14px; }
.qr-form label { display: block; font-size: 13px; margin-bottom: 12px; }
.qr-input-row { display: flex; gap: 12px; }
.qr-form input[type="url"] { min-width: 0; flex: 1; border: 1px solid #777; border-radius: 0; background: var(--surface); padding: 15px; color: var(--text); font-size: 14px; }
.qr-form .confirm-label { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; margin-top: 20px; color: var(--muted); }
.confirm-label input { accent-color: var(--accent); margin-top: 3px; width: 20px; height: 20px; flex-shrink: 0; }
.qr-status { font-size: 13px; margin-top: 20px; min-height: 22px; color: var(--accent); }
.qr-result { margin-top: 35px; border-top: 1px solid var(--line); padding-top: 30px; }
.qr-preview { display: block; width: min(100%,360px); height: auto; background: white; }
.qr-result p { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; margin-top: 20px; }
.qr-downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.qr-tips { border-top: 1px solid var(--line); margin-top: 45px; padding-top: 25px; }
.qr-tips h2 { font-size: 22px; letter-spacing: -.03em; }
.qr-tips ul { padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.qr-footer { font-size: 11px; color: var(--muted); margin-top: 40px; }
.qr-footer a { text-decoration: underline; text-underline-offset: 3px; }

/* A dedicated phone display keeps exhibition sharing one tap away. */
.share-page { width: min(440px, calc(100% - 40px)); margin-inline: auto; padding-block: 30px; text-align: center; }
.share-brand { margin-inline: auto; }
.share-brand .brand-logo { width: 178px; }
.share-subtitle { color: var(--muted); font-size: 12px; margin-top: 14px; }
.share-page h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); letter-spacing: -.045em; margin-top: 28px; }
.share-code { margin: 24px auto 0; max-width: 360px; background: #fff; }
.share-code canvas { display: block; width: 100%; height: auto; }
.share-status { font-size: 13px; color: var(--muted); margin-top: 18px; }
.share-name { margin-top: 20px; font-size: 19px; }
.share-destination { display: block; color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }
.share-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 24px; }
.share-tip { color: var(--muted); font-size: 11px; margin-top: 22px; }

@media (max-height: 760px) {
  .share-page { padding-block: 20px; }
  .share-page h1 { margin-top: 20px; }
  .share-code { width: min(100%, 42svh); margin-top: 18px; }
  .share-name { margin-top: 12px; }
  .share-actions { margin-top: 16px; }
}

@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero-layout { grid-template-columns: 1.3fr .8fr; gap: 28px; }
  .hero h1 { font-size: 42px; }
  .hero-visual { max-width: 250px; }
  .work-layout { gap: 28px; }
  .project p { font-size: 13px; }
  .contact-layout { gap: 45px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 78px; gap: 18px; }
  .brand-logo { width: 128px; }
  nav { gap: 23px; font-size: 12px; }
  .hero { padding-block: 38px; }
  .hero-layout { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(2.15rem,8.8vw,2.65rem); line-height: 1.1; }
  .hero-intro { font-size: 14px; margin-top: 20px; }
  .hero-actions { gap: 24px; margin-top: 24px; }
  .hero-actions .button { font-size: 12px; padding-inline: 18px; gap: 20px; }
  .hero-visual { max-width: none; }
  .path-diagram { width: 100%; height: 172px; }
  .hero-visual figcaption { font-size: 10px; margin-top: 4px; }
  .section { padding-block: 40px; }
  h2 { font-size: 31px; }
  .work-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 24px; }
  .video-placeholder { inset: 16px; gap: 8px; }
  .video-placeholder h3 { font-size: 23px; }
  .video-placeholder p { font-size: 11px; }
  .video-placeholder .button { min-height: 44px; padding-block: 10px; font-size: 12px; }
  .project + .project { padding-top: 22px; margin-top: 22px; }
  .project h3 { font-size: 23px; }
  .project p { font-size: 13px; margin-top: 10px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .section-intro { font-size: 13px; margin-top: 15px; }
  .contact-link { padding-block: 17px; }
  .brand-footer .brand-logo { width: 110px; }
  .site-footer { padding-block: 20px; }
  .back-top { font-size: 10px; }
  .qr-page { padding-block: 40px; }
  .qr-input-row { flex-direction: column; }
  .qr-input-row button { align-self: flex-start; }
  .qr-form input[type="url"] { width: 100%; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .brand-logo { width: 120px; }
  nav { gap: 18px; }
  .hero h1 { font-size: 31px; }
  .hero-actions { gap: 20px; }
  .hero-actions .button { padding-inline: 14px; }
  .text-link { font-size: 12px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
