@import url('vendor/fonts-a1ea67b68a6bb15e.css');

:root {
  color-scheme: light;
  --paper: #f5f3ec;
  --paper-deep: #ebe8dd;
  --ink: #20221e;
  --muted: #74766d;
  --line: #d8d6cc;
  --coral: #d95f49;
  --orange: #f4a340;
  --green: #536941;
  --lime: #bbc776;
  --serif: "DM Serif Display", Georgia, "Noto Serif SC", serif;
  --sans: "Manrope", "Noto Sans SC", Arial, sans-serif;
  --mono: "DM Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased; }
body:has(.video-dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: white; background: var(--coral); }

.site-header { height: 76px; width: min(1240px, calc(100% - 72px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; width: max-content; }
.wordmark-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 700 18px var(--serif); border-radius: 2px; }
.wordmark-copy { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.wordmark-copy strong { font-size: 13px; font-weight: 800; }
.wordmark-copy small { color: var(--muted); font: 9px var(--mono); }
.header-note { justify-self: end; display: flex; align-items: center; gap: 8px; color: var(--muted); font: 10px var(--mono); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #7d9b53; box-shadow: 0 0 0 3px #7d9b5322; }
.section-wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; color: var(--muted); font: 10px var(--mono); letter-spacing: .04em; }
.eyebrow-rule { display: inline-block; width: 24px; height: 1px; background: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
.hero-actions, .project-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.button { min-height: 44px; display: inline-flex; align-items: center; gap: 18px; justify-content: center; padding: 0 17px; font-size: 12px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #383b32; }
.button-light { color: var(--ink); background: var(--paper); }
.button-light:hover { background: white; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #56584f; font-size: 12px; font-weight: 700; }
.text-link:hover { color: var(--coral); }

.site-footer { min-height: 86px; display: flex; align-items: center; justify-content: space-between; }
.footer-wordmark .wordmark-mark { width: 29px; height: 29px; font-size: 15px; }
.footer-wordmark .wordmark-copy strong { font-size: 11px; }.footer-wordmark .wordmark-copy small { font-size: 7px; }
.site-footer > p, .back-top { margin: 0; color: var(--muted); font-size: 10px; }
.back-top:hover { color: var(--coral); }

.video-dialog { width: min(850px, calc(100% - 32px)); padding: 0; border: 1px solid #dedbd3; background: var(--paper); color: var(--ink); box-shadow: 0 18px 80px #15161055; }
.video-dialog::backdrop { background: #1d201bd1; }
.dialog-bar { display: flex; justify-content: space-between; align-items: center; padding: 17px 20px; }
.dialog-bar .eyebrow { margin-bottom: 5px; font-size: 8px; }.dialog-bar h2 { margin: 0; font-size: 18px; }
.dialog-close { width: 36px; height: 36px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 22px; cursor: pointer; }
.dialog-video { width: 100%; max-height: 68vh; display: block; background: #161714; }
.dialog-caption { margin: 0; padding: 12px 20px 16px; color: var(--muted); font-size: 10px; }


/* Homepage art direction; case pages retain the shared shell above. */
.home-portfolio .section-wrap { width: min(1280px, calc(100% - 112px)); }
.home-portfolio .home-header, .home-portfolio .home-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; width: min(1360px, calc(100% - 80px)); height: 72px; min-height: 72px; margin-inline: auto; }
.home-portfolio .home-footer { border-top: 1px solid var(--line); }
.home-portfolio .portfolio-wordmark { gap: 0; font: 24px/1 var(--serif); letter-spacing: -.02em; }
.portfolio-wordmark > span { color: var(--coral); }
.home-portfolio .header-note { display: flex; gap: 9px; font-size: 9px; letter-spacing: .02em; }
.home-portfolio .status-dot { width: 6px; height: 6px; box-shadow: none; }
.hero { padding: 62px 0; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; align-content: center; gap: 48px; min-width: 0; min-height: 360px; width: 100%; }
.hero-statement, .hero-note { min-width: 0; }
.hero-note { justify-self: end; width: 100%; max-width: 480px; margin-top: 130px; }
.hero-greeting { margin: 0 0 10px; color: #5f6159; font-size: 15px; line-height: 1.8; }
.hero-greeting > span { color: var(--ink); }
.hero h1 { margin: 0; font: normal 700 clamp(34px, calc(3vw + 4px), 46px)/1.45 var(--serif); letter-spacing: -.025em; }
.hero h1 > span { display: block; }
.hero h1 > span:last-child { color: var(--coral); }
.hero-title-english { margin: 0 0 18px; text-align: right; font: italic 400 clamp(22px, 2vw, 28px)/1.3 var(--serif); letter-spacing: -.02em; }
.hero-title-english em { color: var(--coral); font-weight: 400; }
.hero-description { max-width: 480px; margin: 0 0 24px auto; color: #5f6159; font-size: 14px; line-height: 1.9; }
.editorial-link { display: inline-flex; align-items: center; gap: 25px; min-height: 44px; padding: 7px 0; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 14px; font-weight: 700; }
.editorial-link-primary { color: var(--coral); }
.editorial-link span, .home-portfolio .text-link span, .home-portfolio .button span { transition: transform .22s; }
.editorial-link:hover span, .home-portfolio .text-link:hover span, .home-portfolio .button:hover span { transform: translate(3px, -3px); }
.home-portfolio a:focus-visible, .home-portfolio button:focus-visible { outline: 2px solid var(--coral); outline-offset: 5px; }
.hero .hero-actions { justify-content: flex-end; }
.hero .editorial-link { min-height: 42px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.hero .editorial-link-primary { color: var(--ink); font-weight: 600; gap: 16px; }
.hero .editorial-link span { color: var(--coral); }
.hero .hero-actions a:hover { border-bottom-color: var(--coral); }
.work-section { padding-top: 24px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 32px; }
.section-heading h2 { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: 18px; line-height: 1.6; font-weight: 500; }
.project-meta { display: flex; flex-direction: column; gap: 4px; color: #4b5849; font: 10px/1.8 var(--mono); }
.agent-feature { display: grid; grid-template-columns: minmax(0, .46fr) minmax(0, .54fr); min-height: 460px; overflow: hidden; background: var(--paper-deep); }
.agent-feature-intro { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 36px; }
.agent-feature-intro h3, .project h3 { margin: 43px 0 23px; font-family: var(--sans); font-size: clamp(30px, 2.65vw, 38px); font-weight: 700; line-height: 1.4; letter-spacing: -.035em; }
.agent-feature-intro h3 em, .project h3 em { font: italic 400 1em var(--serif); white-space: nowrap; }
.agent-feature-intro h3 em { color: var(--green); }
.agent-feature-intro > p, .project-copy > p { max-width: 450px; margin-bottom: 25px; font-family: var(--sans); font-size: 15px; line-height: 1.8; }
.agent-feature-intro > p { color: #4b5849; }
.agent-feature-intro .editorial-link { margin-top: auto; }
.agent-feature-system { display: flex; flex-direction: column; min-width: 0; padding: 32px 36px; background: #26372e; color: #e8ece3; }
.agent-system-eyebrow { margin-bottom: 16px; color: #c5d2c3; font: 9px/1.6 var(--mono); letter-spacing: .12em; }
.agent-methods { padding: 0; margin: 0; list-style: none; }
.agent-methods li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 15px 0; border-bottom: 1px solid #c5d2c340; }
.method-index { color: #b9c8b6; font: 11px var(--mono); }
.agent-methods li > div { display: flex; flex-direction: column; gap: 5px; }
.agent-methods li > div > span { color: #b9c8b6; font: 10px var(--mono); letter-spacing: .06em; }
.agent-methods b { color: #fffaf1; font-size: 21px; font-weight: 500; }
.agent-methods p { margin: 0; color: #b9c8b6; font-size: 11px; line-height: 1.8; text-align: right; }
.agent-iteration { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 22px 0 25px; color: #e8ece3; font-size: 12px; }
.agent-iteration i { color: #e29b7c; font-style: normal; }
.agent-cover-foot { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 20px; border-top: 1px solid #c5d2c33d; }
.agent-scale { display: flex; align-items: center; gap: 17px; margin: 0; }
.agent-scale strong { color: #fffaf1; font: 36px/1.15 var(--serif); }
.agent-scale > span { color: #e8ece3; font-size: 13px; line-height: 1.6; }
.agent-scale small { display: block; color: #c5d2c3; font-size: 10px; }
.agent-public-note { margin: 0; color: #c5d2c3; font-size: 10px; line-height: 1.8; text-align: right; }
.work-subheading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 56px 0 18px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font: 10px/1.8 var(--mono); }
.work-subheading-first { margin-top: 0; padding-top: 0; border: 0; }
.project { display: grid; min-width: 0; min-height: 490px; align-items: stretch; overflow: hidden; }
.project-ai { grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); background: var(--paper-deep); }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 36px; }
.project h3 em { color: var(--coral); }
.project-copy > p { color: #5f6159; }
.project-actions { gap: 18px; margin-top: auto; }
.project-actions .editorial-link { gap: 25px; }
.ai-visual { min-width: 0; padding: 24px; background: #dce5d5; }
.opera-cover-shot, .flower-cover-shot { display: flex; flex-direction: column; height: 100%; min-height: 0; margin: 0; }
.opera-cover-shot a, .flower-cover-shot a { position: relative; display: flex; flex: 1; min-height: 0; overflow: hidden; }
.opera-cover-shot img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.opera-cover-shot figcaption, .flower-cover-shot figcaption { display: flex; justify-content: space-between; gap: 15px; padding-top: 15px; color: #56604e; font: 9px/1.8 var(--mono); }
.film-strip { display: grid; grid-template-columns: .7fr 1fr 1fr; align-items: stretch; gap: 20px; margin-top: 30px; padding: 26px; background: var(--paper-deep); }
.film-heading { display: flex; flex-direction: column; justify-content: center; align-items: start; gap: 20px; }
.film-heading .film-eyebrow { margin-bottom: 7px; color: var(--coral); font: 9px/1.6 var(--mono); letter-spacing: .08em; }
.film-heading h3 { margin-bottom: 7px; font-size: 22px; font-weight: 500; }
.film-heading p:last-child { margin: 0; color: var(--muted); font-size: 11px; }
.film-hint { padding-bottom: 3px; color: var(--coral); font-size: 12px; }
.film-link { display: grid; grid-template-columns: 135px minmax(0, 1fr); min-width: 0; padding: 0; border: 1px solid var(--line); color: var(--ink); background: var(--paper); text-align: left; cursor: pointer; transition: border-color .2s; }
.film-link:hover { border-color: var(--coral); }
.film-preview { position: relative; display: block; height: 240px; overflow: hidden; background: #20221e; }
.film-preview video { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.play-mark { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #fff8; border-radius: 50%; background: var(--coral); color: white; font-size: 15px; transform: translate(-50%, -50%); }
.film-caption { display: flex; flex-direction: column; justify-content: center; align-items: start; gap: 28px; padding: 20px; }
.film-caption > span:first-child { display: flex; flex-direction: column; gap: 5px; }
.film-caption b { font-size: 14px; font-weight: 600; }
.film-caption small { color: var(--muted); font-size: 11px; }
.film-play-label { padding-bottom: 7px; border-bottom: 1px solid var(--line); color: var(--coral); font-size: 12px; white-space: nowrap; }
.project-flower { grid-template-columns: minmax(0, .58fr) minmax(0, .42fr); }
.flower-visual { min-width: 0; background: var(--paper-deep); }
.flower-cover-shot img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.flower-cover-shot figcaption { padding: 13px 20px; color: var(--muted); }
.flower-copy { background: var(--green); color: var(--paper); }
.flower-copy .project-meta, .flower-copy > p { color: #e2e6dc; }
.flower-copy h3 em { color: #e9bd71; }
.flower-copy .editorial-link { color: var(--paper); }
.flower-copy .project-actions { gap: 14px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
 .opera-cover-shot img, .flower-cover-shot img, .film-preview video { transition: transform .35s ease; }
 .opera-cover-shot a:hover img, .flower-cover-shot a:hover img { transform: scale(1.025); }
 .film-link:hover .film-preview video { transform: scale(1.02); }
}
@media (prefers-reduced-motion: no-preference) {
 .hero-copy { animation: title-entry .65s ease-out both; }
 @keyframes title-entry { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
/* Preserve the case pages' responsive shell. */
@media (max-width: 950px) {
 .section-wrap { width: min(100% - 56px, 760px); }
 .site-header { width: calc(100% - 48px); }
}
@media (max-width: 680px) {
 html { scroll-padding-top: 65px; }
 .site-header { height: 64px; width: calc(100% - 32px); grid-template-columns: 1fr auto; }
 .wordmark-mark { width: 30px; height: 30px; }
 .wordmark-copy small { font-size: 7px; }
 .header-note { display: none; }
 .section-wrap { width: calc(100% - 36px); }
 .eyebrow { margin-bottom: 20px; font-size: 8px; }
 .button { min-height: 42px; font-size: 11px; }
 .text-link { font-size: 10px; }
 .site-footer { min-height: 72px; }
 .site-footer > p { display: none; }
 .back-top { font-size: 9px; }
 .dialog-bar { padding: 13px 14px; }
 .dialog-video { max-height: 60vh; }
 .dialog-caption { padding: 10px 14px 13px; }
}
@media (max-width: 1100px) {
 .home-portfolio .section-wrap { width: calc(100% - 80px); }
 .hero { padding-block: 68px; }
 .agent-feature-intro, .agent-feature-system { padding-inline: 28px; }
 .project-copy { padding: 30px 28px; }
}
@media (max-width: 900px) {
 .home-portfolio .section-wrap { width: calc(100% - 56px); }
 .hero { padding-block: 62px; }
 .agent-feature { min-height: 0; grid-template-columns: 1fr; }
 .agent-feature-intro { min-height: 330px; padding: 30px; }
 .agent-feature-intro h3, .project h3 { font-size: 34px; }
 .agent-feature-intro > p { max-width: 550px; }
 .agent-feature-system { min-height: 0; padding: 30px; }
 .project { min-height: 0; }
 .project-ai, .project-flower { grid-template-columns: 1fr; }
 .project-copy { padding: 30px; }
 .ai-visual { padding: 20px; }
 .opera-cover-shot, .flower-cover-shot { height: auto; }
 .opera-cover-shot a, .flower-cover-shot a { display: block; }
 .opera-cover-shot img, .flower-cover-shot img { position: static; height: auto; }
 .flower-copy { order: 0; min-height: 0; }
 .flower-visual { order: 1; }
 .film-strip { grid-template-columns: 1fr 1fr; }
 .film-heading { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: end; }
}
@media (max-width: 600px) {
 .home-portfolio .section-wrap { width: calc(100% - 36px); }
 .home-portfolio .home-header, .home-portfolio .home-footer { width: calc(100% - 36px); height: 64px; min-height: 64px; }
 .home-portfolio .portfolio-wordmark { font-size: 22px; }
 .home-portfolio .header-note { gap: 6px; font-size: 8px; }
 .home-portfolio .status-dot { width: 5px; height: 5px; }
 .hero { padding: 49px 0; }
 .hero-copy { grid-template-columns: 1fr; gap: 36px; min-height: 0; }
 .hero-note { margin-top: 0; }
 .hero-greeting { margin-bottom: 12px; font-size: 14px; }
 .hero h1 { font-size: clamp(32px, calc(8vw + 4px), 40px); line-height: 1.45; }
 .hero h1 > span { text-wrap: balance; }
 .hero-title-english { font-size: 24px; margin-bottom: 18px; }
 .hero-description { font-size: 14px; line-height: 1.9; margin-bottom: 22px; }
 .hero .hero-actions .editorial-link { font-size: 12px; }
 .work-section { padding-top: 26px; padding-bottom: 50px; }
 .section-heading { align-items: start; gap: 10px; margin-bottom: 23px; }
 .section-heading h2 { flex-direction: column; gap: 4px; font-size: 16px; }
 .agent-feature-intro { min-height: 320px; padding: 26px 24px; }
 .agent-feature-intro h3, .project h3 { margin-top: 26px; font-size: clamp(25px, 7vw, 31px); line-height: 1.45; }
 .agent-feature-intro > p, .project-copy > p { font-size: 14px; }
 .agent-feature-system { padding: 28px 24px; }
 .agent-methods li { grid-template-columns: 20px minmax(0, 1fr) auto; gap: 11px; }
 .agent-methods b { font-size: 19px; }
 .agent-methods p { max-width: 88px; font-size: 10px; }
 .agent-scale strong { font-size: 34px; }
 .agent-scale { gap: 11px; }
 .agent-scale > span { font-size: 12px; }
 .agent-public-note { font-size: 9px; }
 .work-subheading { margin: 40px 0 18px; gap: 15px; font-size: 8px; }
 .work-subheading-first { margin-top: 0; }
 .project-copy { padding: 28px 24px; }
 .project-meta { font-size: 9px; }
 .ai-visual { padding: 13px; }
 .opera-cover-shot figcaption, .flower-cover-shot figcaption { flex-direction: column; gap: 1px; font-size: 9px; }
 .film-strip { grid-template-columns: 1fr; gap: 16px; padding: 20px 16px; }
 .film-heading { align-items: start; flex-direction: column; gap: 13px; }
 .film-preview { height: 240px; }
 .film-caption { padding: 15px 13px; gap: 10px; }
 .film-caption b { font-size: 13px; }
 .film-play-label { font-size: 11px; }
 .flower-copy { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
