:root {
  --paper: #f5f7fb;
  --ink: #171b21;
  --muted: #58616d;
  --line: #ccd2db;
  --accent: #7755cc;
  --accent-dark: #6343b2;
  --accent-soft: #eee8fa;
  --white: #fff;
  --display: 'Unbounded', Arial, sans-serif;
  --body: 'Manrope', Arial, sans-serif;
  color-scheme: light;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-weight: 500;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; }
body.modal-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
/* SVG masks keep link arrows consistent across fonts and iOS emoji rendering. */
.link-arrow, .experience-link::after {
  display: inline-block;
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
  vertical-align: -.12em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 18 18 6M6 6h12v12' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 18 18 6M6 6h12v12' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
button { font: inherit; color: inherit; border: 0; cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
svg { display: block; }
button:focus-visible, a:focus-visible, video:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
p, h1, h2, h3, h4 { margin: 0; }
p { line-height: 1.7; }
.page-width { width: min(1328px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 16px; background: var(--ink); color: white; padding: 12px 20px; }
.skip-link:focus { top: 16px; }
.site-header { height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: center; gap: 11px; font-size: 26px; font-weight: 800; letter-spacing: -1.5px; }
.wordmark .brand-mascot { width: 46px; height: 46px; object-fit: contain; transition: transform .2s; }
.wordmark:hover .brand-mascot { transform: rotate(-8deg) translateY(-2px); }
.wordmark-dot { color: var(--accent); }
.site-header nav { display: flex; gap: 38px; font-size: 15px; }
.site-header nav a { padding: 10px 0; position: relative; }
.site-header nav a::after { content: ''; height: 1px; width: 0; background: var(--ink); position: absolute; bottom: 4px; left: 0; transition: width .2s; }
.site-header nav a:hover::after { width: 100%; }
.language-switch { display: flex; gap: 9px; align-items: center; font-size: 14px; }
.language-switch :is(button,a) { background: none; min-height: 44px; padding: 0 4px; color: var(--muted); }
.language-switch :is(button,a)[aria-current=true] { color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 6px; }
.language-switch > span { color: #949ca8; }
.language-switch a { display: inline-flex; align-items: center; }
.hero { border-bottom: 1px solid var(--line); }
.hero-copy > .availability { margin-bottom: 22px; color: var(--muted); }
.availability { font-size: 14px; letter-spacing: 0; display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.availability::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; padding: 64px 0; }
.hero-copy { min-width: 0; }
.hero-copy h1 { font: 500 clamp(3.1rem, 6.2vw, 5.75rem)/1.12 var(--display); letter-spacing: -.065em; margin-left: -5px; }
.hero-copy h1 > span { display: block; }
.name-dot { color: var(--accent); }
.hero-profession { margin-top: 26px; max-width: 520px; font-size: clamp(18px, 1.6vw, 21px); font-weight: 800; line-height: 1.5; color: var(--ink); }
.hero-profession + .hero-description { margin-top: 12px; }
.hero-description { font-size: 18px; max-width: 465px; margin-top: 26px; color: var(--muted); line-height: 1.6; }
.hero-description a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: var(--accent); }
.hero-description a:hover, .hero-description a:focus-visible { color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 35px; font-weight: 700; margin-top: 28px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 15px; }
.text-link > span:last-child { font-size: 24px; line-height: 1; }
.reel-composition { position: relative; min-width: 0; width: 100%; max-width: 540px; justify-self: end; padding: 26% 15px 20px 18px; }
.hero-orbit { position: absolute; inset: 0; width: 100%; height: 100%; color: #959eaa; pointer-events: none; }
.reel-stage { position: relative; isolation: isolate; transform: rotate(-3deg); transition: transform .3s; }
.reel-stage:has(.reel-trigger:hover), .reel-stage:has(.reel-trigger:focus-visible) { transform: rotate(-1deg); }
/* One holding pose: the body sits behind the live video, with only paws in front. */
.reel-dino { position: absolute; width: 112%; max-width: none; height: auto; left: -6%; top: -62%; pointer-events: none; user-select: none; }
.reel-dino-back { z-index: -1; width: 76%; left: 12%; top: -60%; }
.reel-dino-paw-left { z-index: 2; clip-path: polygon(0 0, 16% 0, 16% 72%, 14% 74%, 12.8% 78%, 13.3% 100%, 0 100%); }
.reel-dino-paw-right { z-index: 2; clip-path: polygon(84% 0, 100% 0, 100% 100%, 87% 100%, 87.2% 78%, 86% 74%, 84% 72%); }
.reel-trigger { display: block; position: relative; z-index: 1; width: 100%; aspect-ratio: 1.55; background: #191b21; padding: 0; overflow: hidden; box-shadow: 14px 16px 0 #e1e5ee; }
.reel-trigger img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.reel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.7)); }
.play-control { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-content: center; background: var(--paper); width: 68px; height: 68px; border-radius: 50%; color: var(--ink); padding-left: 4px; font-size: 19px; transition: background .2s, color .2s; }
.reel-trigger:hover .play-control { background: var(--accent); color: white; }
.play-control svg { width: 18px; height: 18px; fill: currentColor; }
.reel-bottom { position: absolute; bottom: 22px; left: 23px; right: 23px; display: flex; justify-content: space-between; color: white; font-size: 14px; font-weight: 700; }
.reel-bottom > span:last-child { font-weight: 500; font-size: 14px; }
.reel-caption { position: relative; display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .12em; margin: 27px 0 0 8px; }
.reel-caption::after { content: ''; width: 24px; height: 3px; background: var(--accent); }
.intro-location { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; line-height: 1.5; letter-spacing: 0; color: var(--muted); }
.location-flag { display: block; width: 24px; height: 12px; flex: 0 0 24px; border-radius: 2px; box-shadow: 0 0 0 1px rgb(25 30 40 / 10%); }
.intro-section { display: grid; grid-template-columns: 1fr 1.6fr; gap: 75px; padding-block: 45px; border-bottom: 1px solid var(--line); }
.intro-section h2 { font: 500 clamp(21px, 2vw, 27px)/1.4 var(--display); letter-spacing: -.055em; max-width: 385px; }
.intro-section .eyebrow { color: var(--accent-dark); margin-bottom: 13px; }
.intro-copy p { font-size: 16px; color: var(--muted); max-width: 760px; }
.intro-copy p + p { margin-top: 12px; }
.intro-more { display: inline-flex; align-items: center; gap: 17px; margin-top: 19px; font-size: 14px; font-weight: 700; color: var(--accent-dark); }
.intro-more:hover { text-decoration: underline; text-underline-offset: 5px; }
.skills-section { padding-block: 48px 51px; border-bottom: 1px solid var(--line); }
.skills-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.skills-heading h2 { font: 500 clamp(25px, 2.8vw, 38px)/1.3 var(--display); letter-spacing: -.055em; }
.skills-hint { max-width: 365px; font-size: 14px; color: var(--muted); }
.skill-groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px 48px; }
.skill-group { min-width: 0; }
.skill-group--development { grid-column: 1 / -1; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.skill-group h3 { font-size: 15px; font-weight: 700; margin-bottom: 15px; }
.skill-list { display: flex; flex-wrap: wrap; align-items: start; gap: 8px; }
.skill-item { position: relative; min-width: 0; max-width: 100%; }
.skill-item.is-open { z-index: 8; }
.skill-trigger { display: flex; align-items: center; justify-content: space-between; gap: 13px; min-height: 42px; padding: 10px 13px; font-size: 13px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.skill-trigger:hover, .skill-trigger[aria-expanded=true] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }
.skill-toggle { color: var(--accent); font-size: 18px; line-height: 1; font-weight: 500; transition: transform .15s; }
.skill-trigger[aria-expanded=true] .skill-toggle { transform: rotate(45deg); }
.skill-panel { position: absolute; left: var(--panel-shift, 0px); top: calc(100% + 8px); width: 356px; max-width: calc(100vw - 40px); padding: 18px 21px 22px; border: 1px solid #d2c4ef; border-radius: 8px; background: #fff; box-shadow: 0 12px 35px #3021481c; }
.skill-panel[hidden] { display: none; }
.skill-static { min-width: 0; }
.skill-static summary { cursor: pointer; list-style: none; }
.skill-static summary::-webkit-details-marker { display: none; }
.skill-static-copy { max-width: 36rem; padding: 15px 0; }
.skill-static-copy p { color: var(--muted); font-size: 15px; }
.skill-static-copy .skill-projects { margin-top: 10px; }
.skill-panel::before { content: ''; position: absolute; top: -10px; height: 10px; left: 0; right: 0; }
.skill-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.skill-panel-top strong { font-size: 15px; line-height: 1.45; }
.skill-close { flex-shrink: 0; width: 32px; height: 32px; background: var(--accent-soft); border-radius: 50%; color: var(--accent-dark); font-size: 24px; line-height: 1; }
.skill-close:hover { background: var(--accent); color: white; }
.skill-panel > p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.skill-panel .skill-examples-label { font-size: 11px; letter-spacing: .03em; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.skill-projects { display: flex; flex-wrap: wrap; gap: 8px 17px; margin-top: 7px; }
.skill-projects a { font-size: 13px; font-weight: 700; line-height: 1.65; color: var(--accent-dark); text-underline-offset: 4px; }
.skill-projects a:hover { text-decoration: underline; }
.work-section { padding: 54px 0 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.eyebrow { font-size: 12px; letter-spacing: .12em; font-weight: 700; margin-bottom: 16px; }
.section-heading h2 { font: 500 clamp(25px, 2.8vw, 38px)/1.3 var(--display); letter-spacing: -.055em; }
.punctuation { color: var(--accent); }
.section-note { font-size: 14px; color: var(--muted); line-height: 1.65; }
.featured-grid { display: grid; grid-template-columns: 1.17fr 1fr; gap: 35px; align-items: start; }
.project-card { position: relative; min-width: 0; }
.project-open { width: 100%; display: block; padding: 0; text-align: left; background: transparent; }
.project-image { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #17191c; border-radius: 12px; isolation: isolate; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-image::before, .project-image::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  opacity: 0; transition: opacity .35s ease;
}
.project-image::before {
  background: url('/_assets/card-grain.6878cea01a709de5.svg') repeat; background-size: 160px 160px;
  mix-blend-mode: soft-light;
}
.project-image::after {
  z-index: 2;
  background: linear-gradient(var(--gloss-angle, 112deg),
    transparent 30%, #afcaff24 40%, #e6d9ff40 45%, #ffffffb8 49%,
    #fff5e852 53%, #bdeddf28 58%, transparent 69%);
  background-size: 230% 180%;
  background-position: var(--gloss-x, 50%) var(--gloss-y, 50%);
  mix-blend-mode: screen;
  box-shadow: inset 0 1px 0 #ffffff50, inset 0 -1px 0 #ffffff12;
}
.project-cover {
  position: relative; isolation: isolate; transform-origin: center; user-select: none; border-radius: 12px;
  transform: perspective(1000px) translateY(0) rotateX(0deg) rotateY(0deg) scale(1);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.project-card:has(.project-open:focus-visible) { z-index: 2; }
.project-open:focus-visible .project-image::before { opacity: .16; }
.project-open:focus-visible .project-image::after { opacity: .27; }
.project-open:focus-visible .project-cover {
  transform: perspective(1000px) translateY(-7px) rotateX(0deg) rotateY(0deg) scale(1.03);
  box-shadow: 0 28px 38px -12px #30204b66, 0 10px 18px -8px #30204b40;
}
@media (hover: hover) and (pointer: fine) {
  .project-open:hover .project-image::before { opacity: .16; }
  .project-open:hover .project-image::after { opacity: .27; }
  .project-card:has(.project-open:hover) { z-index: 2; }
  .project-open:hover .project-cover {
    transform: perspective(1000px) translateY(-7px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(1.03);
    box-shadow: var(--tilt-shadow-x, 0px) var(--tilt-shadow-y, 28px) 38px -12px #30204b66, 0 10px 18px -8px #30204b40;
    transition-duration: .2s, .3s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-cover { transition: none; }
  .project-image::before, .project-image::after { transition: none; }
  .project-open:is(:hover, :focus-visible) .project-cover { transform: none; }
}
.project-image { container-type: inline-size; }
[data-project="hikoki"] .project-image { background: #ffbf00; }
[data-project="hikoki"] .project-image img { object-fit: contain; }
[data-project="miraj-stories"] .project-image { background: #fffaf0; }
[data-project="miraj-stories"] .project-image > img:first-child { position: absolute; width: 47%; height: 92%; right: 3%; bottom: 2%; object-fit: contain; }
[data-project="miraj-stories"] .project-image .project-cover-logo { position: absolute; width: 43%; height: 25%; left: 6%; top: 36%; object-fit: contain; }
.project-arrow { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 43px; height: 43px; background: var(--paper); font-size: 26px; border-radius: 50%; transition: background .2s, transform .2s, color .2s; }
.project-open:hover .project-arrow { background: var(--accent); color: white; transform: rotate(45deg); }
.project-info { padding-top: 19px; }
.project-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; letter-spacing: .035em; line-height: 1.5; margin-bottom: 9px; }
.project-title-row { display: flex; gap: 18px; align-items: baseline; justify-content: space-between; }
.project-title-row h3 { font-size: clamp(1.5rem, 2vw, 2rem); letter-spacing: -.05em; font-weight: 700; line-height: 1.3; }
.project-summary { font-size: 16px; line-height: 1.65; color: var(--muted); margin-top: 7px; max-width: 460px; }
.featured-grid .project-card:nth-child(2) { margin-top: 80px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 44px 28px; margin-top: 68px; }
.project-grid:empty { display: none; }
.project-grid h3 { font-size: 23px; }
.miraj-cover { height: 100%; background: #fcba3b; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; color: #42368b; }
.miraj-cover strong { font: 600 33px var(--display); letter-spacing: -.04em; }
.miraj-cover span { font-size: 14px; font-weight: 700; }
.about-section { background: #e9edf5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 84px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.about-intro h2 { font: 500 clamp(1.55rem, 2.3vw, 2.2rem)/1.4 var(--display); letter-spacing: -.055em; margin-bottom: 25px; }
.about-intro > p:not(.eyebrow) { font-size: 16px; color: #485361; max-width: 520px; margin-bottom: 17px; }
.experience h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.experience-row { display: grid; grid-template-columns: 132px 1fr; gap: 15px; border-bottom: 1px solid #c4cbd7; padding: 24px 0; }
.experience-date { font-size: 12px; letter-spacing: .04em; padding-top: 5px; color: var(--muted); }
.experience h4 { font-size: 19px; letter-spacing: -.035em; margin-bottom: 6px; }
.experience-link { color: inherit; text-decoration: none; display: inline-flex; align-items: baseline; gap: .3em; }
.experience-link::after { content: ''; font-size: .75em; color: var(--accent); transition: transform .2s ease; }
.experience-link:hover, .experience-link:focus-visible { color: var(--accent-dark); }
.experience-link:hover::after, .experience-link:focus-visible::after { transform: translate(2px,-2px); }
.experience-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.experience p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.experience .former { font-size: 12px; margin: -2px 0 8px; }
.education { display: flex; gap: 23px; align-items: center; padding: 28px 0 0; }
.education .eyebrow { margin-bottom: 7px; font-size: 12px; }
.education a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-section { position: relative; margin-top: 90px; margin-bottom: 32px; padding: 58px 54px; background: var(--accent-dark); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; overflow: hidden; }
.contact-section h2 { font: 500 clamp(1.8rem, 2.8vw, 2.6rem)/1.4 var(--display); letter-spacing: -.055em; position: relative; z-index: 1; max-width: 500px; }
.contact-section .eyebrow { position: relative; z-index: 1; }
.contact-details { position: relative; z-index: 1; align-self: end; padding-bottom: 5px; }
.email-link { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #ffffff80; padding-bottom: 16px; font-size: clamp(16px, 1.5vw, 22px); letter-spacing: -.035em; }
.email-link span { font-size: 25px; }
.social-links { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 24px; font-size: 14px; }
.social-links a:hover, .email-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-section :focus-visible { outline-color: white; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 25px; padding-block: 17px 35px; font-size: 12px; color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
/* Project details and video playback. */
.standalone-case { width: min(1040px, calc(100% - 64px)); margin: 32px auto 56px; border: 1px solid var(--line); background: var(--paper); }
.standalone-case .dialog-top { position: sticky; }
.case-related ul { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0; list-style: none; }
.case-related a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.standalone-case .case-body h2 { font-size: 24px; line-height: 1.3; margin-bottom: 18px; }
.standalone-case .case-story-copy h3 { margin: 12px 0; font: 500 clamp(22px,2.5vw,30px)/1.2 var(--display); letter-spacing: -.045em; }
dialog { width: min(1040px, calc(100% - 64px)); max-height: calc(100dvh - 64px); margin: auto; padding: 0; background: var(--paper); color: var(--ink); border: 1px solid var(--line); overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: #121a26d9; backdrop-filter: blur(5px); }
#project-dialog { overflow: hidden; }
#project-dialog[open] { display: flex; flex-direction: column; }
#project-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.dialog-top { position: sticky; top: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; background: var(--paper); min-height: 64px; padding: 10px 28px; border-bottom: 1px solid var(--line); }
#project-dialog .dialog-top { position: relative; flex: none; padding-right: 36px; }
.dialog-top > span { font-size: 12px; letter-spacing: .1em; }
.close-dialog { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 32px; line-height: 1; background: #e1e5ed; }
.close-dialog:hover { background: var(--accent); color: white; }
.dialog-top button:focus-visible { outline-offset: 3px; }
.case-header { padding: 48px 60px 32px; }
.case-header :is(h1,h2) { font: 500 clamp(30px, 4.5vw, 54px)/1.2 var(--display); letter-spacing: -.055em; margin-bottom: 25px; }
.case-hero { margin-bottom: 25px; }
.case-hero.has-project-icon { display: grid; grid-template-columns: 168px minmax(0,1fr); align-items: center; gap: 30px; }
.case-project-icon { position: relative; width: 168px; height: 168px; overflow: hidden; border: 1px solid #d7cbed; border-radius: 16px; background: radial-gradient(circle at 38% 38%, #f9f7fe, #eae2f7); }
.case-hero-copy { min-width: 0; }
.case-header .case-hero :is(h1,h2) { margin: 0; }
.case-platforms { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.case-platforms a { color: var(--accent-dark); font-size: 14px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.case-platforms a:hover { color: var(--ink); }
.case-platforms a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.case-intro { font-size: 18px; max-width: 790px; line-height: 1.75; color: var(--muted); }
.case-proof { margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-proof-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.case-proof-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 18px 22px 17px 0; }
.case-proof-item + .case-proof-item { border-left: 1px solid var(--line); padding-left: 22px; }
.case-proof-item strong { font: 600 clamp(21px,2.6vw,30px)/1.25 var(--display); letter-spacing: -.055em; color: var(--accent-dark); }
.case-proof-item span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.case-proof-source { display: flex; flex-wrap: wrap; align-items: center; gap: 0 7px; margin: 0; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.6; }
.case-proof-source a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.case-details { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; border-top: 1px solid var(--line); padding-top: 25px; margin: 30px 0 0; }
.case-proof + .case-details { border-top: 0; padding-top: 0; margin-top: 28px; }
.case-details dt { color: var(--muted); font-size: 12px; letter-spacing: .05em; margin-bottom: 8px; }
.case-details dd { font-size: 14px; margin: 0; line-height: 1.6; }
.case-media { margin: 0 60px; }
.case-media video { display: block; width: 100%; max-height: 60vh; background: #191b21; }
.case-media figcaption { font-size: 12px; color: var(--muted); line-height: 1.65; margin-top: 12px; }
.case-body { padding: 36px 60px 55px; }
.case-body h3 { font-size: 24px; line-height: 1.3; margin-bottom: 18px; letter-spacing: -.035em; }
.contributions { margin: 0; padding: 0; list-style: none; }
.contributions li { padding: 12px 0 12px 26px; position: relative; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.75; }
.contributions li::before { content: '›'; position: absolute; left: 0; color: var(--accent); font-size: 23px; line-height: 1.2; }
.case-feature { margin-top: 35px; padding: 25px 28px; border-left: 2px solid var(--accent); background: var(--accent-soft); }
.case-feature h3 { font-size: 22px; }
.case-body p { font-size: 16px; line-height: 1.75; color: var(--muted); }
.case-trailer { padding: 0 60px 10px; }
.case-trailer-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.case-trailer-heading h3 { margin-bottom: 16px; }
.case-trailer-heading a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.case-trailer-frame { width: 100%; aspect-ratio: 16 / 9; background: #191b21; }
.case-trailer-frame iframe, .case-trailer-frame video { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; }
.case-story-lead { max-width: 720px; padding-bottom: 34px; }
.case-story-lead .eyebrow { margin-bottom: 12px; color: var(--accent-dark); }
.case-story-lead h3 { margin-bottom: 12px; }
.case-story-part { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); align-items: center; gap: clamp(28px,4vw,58px); padding: 34px 0; border-top: 1px solid var(--line); }
.case-story-part:nth-of-type(even) { grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); }
.case-story-part:nth-of-type(even) .case-story-media { order: 2; }
.case-story-media { margin: 0; min-width: 0; }
.case-story-loop { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #191b21; }
.case-story-media--three-two .case-story-loop { aspect-ratio: 3/2; }
.case-story-still { display: block; width: 100%; height: auto; background: #191b21; }
.case-story-index { color: var(--accent-dark); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.case-story-copy h4 { margin: 12px 0; font: 500 clamp(22px,2.5vw,30px)/1.2 var(--display); letter-spacing: -.045em; }
.case-story-copy p { margin: 0; }
.case-story--wide .case-story-part,
.case-story--wide .case-story-part:nth-of-type(even) { grid-template-columns: minmax(0,1fr); gap: 24px; }
.case-story--wide .case-story-part:nth-of-type(even) .case-story-media { order: 0; }
.case-story--wide .case-story-copy { max-width: 780px; }
.case-gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 26px; }
.case-gallery img { width: 100%; }
.case-tags { display: flex; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 35px; font-size: 12px; }
.reel-dialog { width: min(1200px, calc(100% - 48px)); background: #191b21; }
.reel-dialog .dialog-top h2 { font-size: 16px; font-weight: 600; }
.reel-dialog video { display: block; width: 100%; max-height: calc(100dvh - 150px); }
.noscript-note { padding: 30px; text-align: center; }
@media (max-width: 1100px) {
  .page-width { width: calc(100% - 72px); }
  .hero-main { gap: 24px; }
  .hero-copy h1 { font-size: 6.2vw; }
  .hero-description { font-size: 16px; }
  .reel-composition { padding-left: 12px; }
  .about-grid { gap: 50px; }
  .experience-row { grid-template-columns: 105px 1fr; }
  .project-meta { flex-wrap: wrap; }
  .contact-section { padding: 45px 36px; gap: 35px; }
  .social-links { gap: 18px; }
  .intro-section { gap: 40px; }
}
@media (max-width: 760px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; height: auto; min-height: 78px; padding: 16px 0; gap: 8px 15px; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
  .hero-main { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 40px; }
  .hero-copy > .availability { margin-bottom: 18px; font-size: 13px; }
  .hero-copy h1 { font-size: clamp(40px, 11.7vw, 80px); margin-left: -3px; }
  .hero-profession { margin-top: 22px; }
  .hero-description { font-size: 16px; margin-top: 22px; }
  .text-link { margin-top: 23px; }
  .reel-composition { padding: 31% 18px 17px; justify-self: center; }
  .play-control { width: 58px; height: 58px; font-size: 16px; }
  .reel-bottom { left: 18px; right: 18px; bottom: 18px; }
  .reel-caption { font-size: 12px; letter-spacing: .05em; }
  .intro-section { grid-template-columns: 1fr; gap: 22px; padding-block: 34px; }
  .intro-section h2 { max-width: 440px; font-size: 22px; }
  .skills-section { padding-block: 35px; }
  .skills-heading { flex-direction: column; align-items: start; gap: 16px; margin-bottom: 25px; }
  .skills-heading h2 { font-size: 25px; }
  .skills-hint { max-width: 430px; }
  .skill-groups { grid-template-columns: 1fr; gap: 27px; }
  .skill-group h3 { margin-bottom: 12px; }
  .skill-trigger { min-height: 44px; }
  .skill-item.is-open { flex-basis: 100%; }
  .skill-panel { position: static; width: 100%; max-width: 100%; margin-top: 10px; box-shadow: none; padding: 17px; }
  .skill-panel::before { display: none; }
  .skill-close { width: 44px; height: 44px; }
  .skill-projects a { display: inline-flex; align-items: center; min-height: 36px; }
  .work-section { padding: 36px 0 48px; }
  .section-heading { align-items: start; gap: 20px; }
  .section-heading h2 { font-size: 25px; }
  .section-note { font-size: 14px; }
  .featured-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .featured-grid .project-card:nth-child(2) { margin-top: 0; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 44px; }
  .project-info { display: flex; flex-direction: column; padding-top: 14px; }
  .project-title-row { order: 0; gap: 12px; }
  .featured-grid .project-title-row h3 { font-size: 25px; }
  .project-grid h3 { font-size: 23px; }
  .project-summary { order: 1; font-size: 15px; line-height: 1.55; margin-top: 8px; max-width: none; }
  .project-meta { order: 2; display: block; font-size: 12px; line-height: 1.6; letter-spacing: 0; margin: 12px 0 0; }
  .project-meta > span { display: inline; }
  .project-meta > span + span::before { content: ' · '; white-space: pre; }
  .miraj-cover strong { font-size: clamp(18px,3.7vw,27px); }
  .miraj-cover span { font-size: 12px; }
  .about-section { padding: 48px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-intro h2 { font-size: 1.6rem; }
  .experience-row { grid-template-columns: 115px 1fr; }
  .contact-section { grid-template-columns: 1fr; margin-top: 50px; padding: 34px 26px; gap: 30px; }
  .contact-section h2 { font-size: 1.8rem; }
  .email-link { font-size: 18px; }
  .site-footer { font-size: 12px; }
  dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .dialog-top { padding-inline: 18px; }
  #project-dialog .dialog-top { padding-right: 26px; }
  .case-header { padding: 29px 22px 25px; }
  .case-header h2 { font-size: 28px; overflow-wrap: anywhere; }
  .case-hero.has-project-icon { grid-template-columns: 106px minmax(0,1fr); gap: 16px; }
  .case-project-icon { width: 106px; height: 106px; border-radius: 12px; }
  .case-hero .eyebrow { font-size: 10px; margin-bottom: 8px; }
  .case-platforms { margin-top: 11px; }
  .case-proof-item { padding: 14px 9px 13px 0; }
  .case-proof-item + .case-proof-item { padding-left: 9px; }
  .case-proof-item strong { font-size: 20px; }
  .case-proof-item span { font-size: 10px; }
  .case-intro { font-size: 16px; }
  .case-details { gap: 20px; grid-template-columns: 1fr; }
  .case-media { margin-inline: 22px; }
  .case-body { padding: 28px 22px 35px; }
  .case-trailer { padding: 0 22px 6px; }
  .case-body h3 { font-size: 23px; }
  .case-feature { padding: 20px; }
  .case-story-part, .case-story-part:nth-of-type(even) { grid-template-columns: 1fr; gap: 18px; padding: 25px 0; }
  .case-story-part:nth-of-type(even) .case-story-media { order: 0; }
  .case-story-copy h4 { margin: 8px 0; }
  .case-gallery { grid-template-columns: 1fr; }
  .reel-dialog { width: calc(100% - 16px); }
}
@media (max-width: 420px) {
  .site-header nav { gap: 12px; }
  .wordmark { font-size: 21px; }
  .wordmark .brand-mascot { width: 35px; height: 35px; }
  .site-header { gap: 8px; }
  .language-switch { gap: 2px; }
  .section-note { display: none; }
  .experience-row { grid-template-columns: 95px 1fr; }
  .email-link { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reel-stage, .brand-mascot { transform: none !important; }
}


/* Keep the generated poster title inside narrow catalogue crops. */
[data-project="gundam-mobile-fighting"] .project-image img { object-position: left center; }
