:root {
  color-scheme: light;
  --paper: #e9edf0;
  --surface: #f7f9fa;
  --ink: #11161b;
  --muted: #59636d;
  --line: #aeb7bd;
  --accent: #009fc4;
  --accent-soft: #d4eef3;
  --signal: #e6d43a;
  --radius: 0;
  font-family: Bahnschrift, "Arial Narrow", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(17, 22, 27, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 22, 27, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, white);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: .6rem 1rem;
  border-radius: 0;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 8;
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
  border-bottom: 2px solid var(--accent);
  background: rgba(17, 22, 27, .96);
  color: white;
  backdrop-filter: blur(12px);
}

.brand { display: flex; align-items: center; gap: .75rem; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 38px; aspect-ratio: 1; place-items: center; border: 1px solid #5a6670; border-radius: 0; background: transparent; color: white; clip-path: polygon(0 0, 74% 0, 100% 26%, 100% 100%, 26% 100%, 0 74%); }
.brand-mark-studio { width: 40px; font: 700 .7rem/1 ui-monospace, Consolas, monospace; letter-spacing: -.04em; }
.header-actions { display: flex; align-items: center; gap: 1.6rem; font-size: .92rem; }
.header-actions > a:not(.submit-link) { position: relative; color: #cbd2d7; }
.header-actions > a:not(.submit-link)::after { content: ""; position: absolute; right: 0; bottom: -.6rem; left: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.header-actions > a:not(.submit-link):hover { color: white; }
.header-actions > a:not(.submit-link):hover::after { transform: scaleX(1); }
.submit-link { padding: .62rem 1.2rem; border: 1px solid var(--signal); border-radius: 0; background: var(--signal); color: var(--ink); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.submit-link:hover { border-color: white; background: white; }
.submit-link:active, button:active { transform: translateY(1px); }

.intro {
  min-height: min(700px, calc(100dvh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .45fr);
  align-items: end;
  gap: 5rem;
  padding: 5rem 0 6rem;
  border-bottom: 2px solid var(--ink);
}

.intro-copy { min-width: 0; }

.kicker { margin: 0 0 1rem; color: var(--accent); font: 700 .78rem/1.3 ui-monospace, Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; }
.intro h1 { max-width: 900px; margin: 0; font-size: clamp(3.6rem, 7.4vw, 6.6rem); line-height: .9; letter-spacing: -.07em; font-weight: 850; text-wrap: balance; }
.intro-note { max-width: 39rem; margin: 2rem 0 0; color: var(--muted); font-size: 1.04rem; }

.intro-index { align-self: stretch; display: grid; align-content: end; padding: 2rem; border: 1px solid #59636d; background: var(--ink); color: white; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px)); }
.intro-index div { display: flex; align-items: baseline; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.intro-index strong { font-size: 2.1rem; line-height: 1; letter-spacing: -.06em; }
.intro-index span, .intro-index p { color: #b9c3c9; font-size: .86rem; }
.intro-index p { margin: 1.6rem 0 0; }

.catalog { position: relative; padding: 7rem 0; }
.catalog::before { content: "RESOURCE / INDEX"; position: absolute; top: 2rem; right: 0; color: var(--muted); font: 700 .68rem/1 ui-monospace, Consolas, monospace; letter-spacing: .14em; }
.catalog-head { display: grid; grid-template-columns: 1fr minmax(280px, 400px); align-items: end; gap: 2rem; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.055em; }

.search-box { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--muted); clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%); }
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-box input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-box kbd { padding: .05rem .42rem; border: 1px solid var(--line); border-radius: 0; background: var(--paper); font-size: .75rem; }

.filter-groups { display: grid; gap: .8rem; padding: 2.5rem 0 1.5rem; }
.filter-group { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.filter-label { padding-top: .5rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.filter-row { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .15rem; scrollbar-width: thin; }
.filter-row button, .empty-state button { border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; white-space: nowrap; }
.filter-row button { padding: .5rem .85rem; }
.filter-row button:hover, .filter-row button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: white; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); }

.status { padding: 2.5rem 0; color: var(--muted); }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.resource-card { position: relative; isolation: isolate; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; min-height: 188px; overflow: hidden; padding: 1.7rem 1.5rem; border-bottom: 1px solid var(--line); transition: background-color 160ms ease; }
.resource-card:nth-child(odd) { border-right: 1px solid var(--line); }
.resource-card:hover { background: var(--ink); color: white; }
.resource-card:active { transform: translateY(1px); }
.resource-cover { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .16; filter: saturate(.72) contrast(.9); transition: opacity 220ms ease, transform 420ms ease; }
.resource-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--paper) 92%, transparent) 0%, color-mix(in srgb, var(--paper) 76%, transparent) 58%, color-mix(in srgb, var(--paper) 58%, transparent) 100%); }
.resource-card:nth-child(4n + 1) .resource-cover { object-position: 12% center; }
.resource-card:nth-child(4n + 2) .resource-cover { object-position: 38% center; }
.resource-card:nth-child(4n + 3) .resource-cover { object-position: 66% center; }
.resource-card:nth-child(4n) .resource-cover { object-position: 90% center; }
.resource-card:hover .resource-cover { opacity: .14; transform: scale(1.025); filter: grayscale(1) contrast(1.25); }
.resource-card:hover::after { background: linear-gradient(90deg, rgba(17, 22, 27, .97), rgba(17, 22, 27, .76)); }
.resource-card:hover p, .resource-card:hover .resource-number { color: #c1c9ce; }
.resource-number { color: var(--muted); font: 600 .72rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.resource-content { min-width: 0; }
.resource-meta { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin-bottom: .65rem; color: var(--accent); font-size: .74rem; font-weight: 700; }
.resource-card h3 { margin: 0; font-size: 1.28rem; line-height: 1.25; letter-spacing: -.025em; }
.resource-card p { margin: .7rem 0 0; color: var(--muted); font-size: .9rem; }
.resource-arrow { align-self: start; font-size: 1.25rem; transition: transform 160ms ease; }
.resource-card:hover .resource-arrow { transform: translate(3px, -3px); }

.empty-state { margin-top: 2rem; padding: 3rem; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.empty-state p { margin: .5rem 0 1.5rem; color: var(--muted); }
.empty-state button { padding: .65rem 1rem; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6rem; padding: 7rem 0; border-top: 2px solid var(--ink); }
.principles p { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; margin: 0; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.principles span { color: var(--muted); }

footer { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; width: 100%; max-width: none; padding: 2rem max(20px, calc((100% - 1180px) / 2)); border-top: 2px solid var(--accent); background: var(--ink); color: white; font-size: .86rem; }
footer > span { font-weight: 750; }
footer p { margin: 0; color: var(--muted); }
.footer-links { display: flex; gap: 1.25rem; }

/* Official studio homepage — industrial field-interface direction */
.official-home { --studio-highlight: var(--signal); }
.official-home main { position: relative; }
.official-home main::before { content: "IMAKER / STUDIO / PUBLIC ARCHIVE"; position: absolute; top: 2rem; right: -5.5rem; color: rgba(17, 22, 27, .12); font: 700 .68rem/1 ui-monospace, Consolas, monospace; letter-spacing: .24em; transform: rotate(90deg); transform-origin: center; pointer-events: none; }
.studio-hero { position: relative; min-height: min(780px, calc(100dvh - 72px)); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 3rem; align-items: stretch; padding: 5.5rem 0 4rem; border-bottom: 2px solid var(--ink); }
.studio-hero::after { content: "01"; position: absolute; right: 0; bottom: -2.2rem; color: rgba(17, 22, 27, .08); font: 800 8rem/.8 ui-monospace, Consolas, monospace; pointer-events: none; }
.studio-hero-copy { align-self: center; }
.studio-hero h1 { max-width: 980px; margin: 0; font-size: clamp(3.5rem, 6vw, 5.2rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 850; text-wrap: balance; }
.studio-lead { max-width: 47rem; margin: 2rem 0 0; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.primary-action, .secondary-action { display: inline-flex; min-width: 190px; align-items: center; justify-content: space-between; gap: 2rem; padding: .9rem 1.1rem; border: 1px solid var(--ink); border-radius: 0; font-weight: 720; clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px)); transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.primary-action { background: var(--ink); color: white; }
.primary-action:hover { background: var(--accent); border-color: var(--accent); }
.secondary-action:hover { background: var(--surface); }
.primary-action:hover, .secondary-action:hover { transform: translateY(-2px); }
.studio-manifesto { position: relative; display: flex; min-height: 500px; overflow: hidden; flex-direction: column; justify-content: center; padding: 2rem; border: 1px solid #59636d; border-radius: 0; background: var(--ink); color: white; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px)); }
.studio-manifesto::before { content: ""; position: absolute; top: 0; right: 0; width: 42%; height: 11px; background: repeating-linear-gradient(135deg, var(--signal) 0 7px, transparent 7px 13px); }
.studio-manifesto::after { content: ""; position: absolute; right: -22%; bottom: 14%; width: 85%; height: 1px; background: #526069; transform: rotate(-34deg); }
.studio-manifesto .manifesto-code { margin-bottom: auto; color: var(--studio-highlight); font: 600 .75rem/1 ui-monospace, Consolas, monospace; }
.studio-manifesto p { margin: 0; font-size: clamp(3.1rem, 5.6vw, 5.3rem); font-weight: 790; line-height: .82; letter-spacing: -.075em; }
.studio-manifesto p:nth-of-type(2) { color: var(--accent); }
.studio-manifesto small { margin-top: auto; color: #b9c1bb; letter-spacing: .12em; }
.studio-about, .works-section, .resource-bridge, .contribution-section { position: relative; padding: 7rem 0; border-bottom: 2px solid var(--ink); }
.studio-about::before, .works-section::before, .resource-bridge::before, .contribution-section::before { position: absolute; top: 1.2rem; right: 0; color: var(--muted); font: 700 .68rem/1 ui-monospace, Consolas, monospace; letter-spacing: .14em; }
.studio-about::before { content: "SECTION / 02"; }
.works-section::before { content: "SECTION / 03"; }
.resource-bridge::before { content: "SECTION / 04"; }
.contribution-section::before { content: "SECTION / 05"; }
.studio-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7rem; }
.section-heading h2 { max-width: 12ch; }
.compact-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; }
.compact-heading .kicker { min-width: 10rem; }
.compact-heading h2 { max-width: 15ch; margin-right: auto; }
.about-copy > p { max-width: 40rem; margin: 0 0 1.4rem; color: var(--muted); font-size: 1.04rem; }
.studio-facts { margin: 3rem 0 0; }
.studio-facts div { display: grid; grid-template-columns: 1.5rem 5.5rem 1fr; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.studio-facts div::before { content: "+"; grid-column: 1; color: var(--accent); font-family: ui-monospace, Consolas, monospace; }
.studio-facts dt { grid-column: 2; grid-row: 1; color: var(--muted); font-size: .82rem; }
.studio-facts dd { grid-column: 3; grid-row: 1; }
.studio-facts dd { margin: 0; font-weight: 700; }
.works-carousel { outline: 0; }
.works-viewport { overflow: hidden; }
.works-track { display: flex; transform: translate3d(calc(var(--work-index, 0) * -100%), 0, 0); transition: transform 620ms cubic-bezier(.22, 1, .36, 1); will-change: transform; }
.work-slide { flex: 0 0 100%; min-width: 0; padding-right: clamp(0px, 4vw, 4.5rem); }
.work-card { position: relative; display: flex; min-height: 430px; overflow: hidden; flex-direction: column; justify-content: space-between; padding: 1.8rem; border: 1px solid var(--ink); border-radius: 0; color: inherit; text-decoration: none; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); transition: transform .2s ease, border-color .2s ease; }
.work-card::after { content: ""; position: absolute; top: 0; right: 0; width: 45%; height: 7px; background: repeating-linear-gradient(135deg, var(--accent) 0 6px, transparent 6px 11px); opacity: .75; }
.work-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.work-card-featured { background: var(--ink); color: white; }
.work-card-archive { background: var(--signal); }
.work-card-top { display: flex; justify-content: space-between; gap: 1rem; font: 600 .72rem/1.2 ui-monospace, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.work-card-featured .work-card-top { color: #bec7c0; }
.work-card-body { margin-block: auto; padding: 4rem 0 2rem; }
.work-type { margin: 0 0 .8rem; font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.work-card h3 { max-width: 9ch; margin: 0 0 1.25rem; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: .9; letter-spacing: -.075em; }
.work-card-archive h3 { font-size: clamp(2.4rem, 4.5vw, 4.2rem); }
.work-card-body > p:last-child { max-width: 33rem; margin: 0; color: inherit; opacity: .72; }
.work-card-link { font-size: .9rem; font-weight: 800; }
.work-card-featured .work-card-link { padding-top: 1.2rem; border-top: 1px solid #3b443e; color: var(--accent); }
.works-controls { display: grid; grid-template-columns: auto auto minmax(6rem, 1fr) auto; align-items: center; gap: 1.1rem; margin-top: 1.4rem; }
.works-arrow { display: grid; width: 3.2rem; aspect-ratio: 1; place-items: center; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.25rem; transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.works-arrow:hover { background: var(--ink); color: white; transform: translateY(-2px); }
.works-arrow:active { transform: translateY(0); }
.works-counter { display: flex; align-items: baseline; gap: .4rem; margin: 0; font: 600 .78rem/1 ui-monospace, Consolas, monospace; color: var(--muted); }
.works-counter strong { color: var(--ink); font-size: 1.35rem; }
.works-progress { height: 2px; overflow: hidden; background: var(--line); }
.works-progress span { display: block; width: var(--work-progress, 50%); height: 100%; background: var(--accent); transition: width 620ms cubic-bezier(.22, 1, .36, 1); }
.resource-bridge { border-bottom-color: var(--ink); }
.resource-bridge-head { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; }
.resource-bridge-head > p { max-width: 35rem; margin: 0; color: var(--muted); }
.resource-overview { display: grid; grid-template-columns: repeat(3, 1fr); margin: 4rem 0 5rem; border-block: 2px solid var(--ink); background: rgba(247, 249, 250, .58); }
.resource-overview div { display: flex; align-items: baseline; justify-content: space-between; padding: 1.4rem; }
.resource-overview div + div { border-left: 1px solid var(--line); }
.resource-overview strong { font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.07em; }
.resource-overview span { color: var(--muted); font-size: .8rem; }
.latest-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); font-weight: 700; }
.latest-heading a { color: var(--accent); font-size: .9rem; }
.latest-resource { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: start; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.latest-resource:hover strong { color: var(--accent); }
.latest-number { color: var(--muted); font: 600 .72rem/1.5 ui-monospace, Consolas, monospace; }
.latest-resource small { display: block; margin-bottom: .25rem; color: var(--accent); font-size: .72rem; }
.latest-resource strong { display: block; font-size: 1.15rem; transition: color 160ms ease; }
.latest-resource p { max-width: 52rem; margin: .35rem 0 0; color: var(--muted); font-size: .88rem; }
.latest-arrow { font-size: 1.25rem; }
.contribution-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: 6rem; }
.contribution-section .compact-heading { display: block; margin: 0; }
.contribution-section .compact-heading h2 { margin-top: .35rem; }
.contribution-steps { margin: 0; padding: 0; list-style: none; }
.contribution-steps li { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contribution-steps > li > span { color: var(--accent); font: 600 .74rem/1.6 ui-monospace, Consolas, monospace; }
.contribution-steps strong { font-size: 1.05rem; }
.contribution-steps p { margin: .25rem 0 0; color: var(--muted); }
.contribution-action { grid-column: 2; display: flex; align-items: center; gap: 1.5rem; margin-top: -2rem; }
.contribution-action p { max-width: 26rem; margin: 0; color: var(--muted); font-size: .85rem; }
.studio-closing { position: relative; overflow: hidden; margin: 6rem 0; padding: 5rem; border: 1px solid #59636d; border-radius: 0; background: var(--ink); color: white; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.studio-closing::after { content: "IM / END"; position: absolute; right: 2rem; bottom: 1rem; color: rgba(255, 255, 255, .12); font: 800 clamp(2.8rem, 8vw, 7rem)/1 ui-monospace, Consolas, monospace; }
.studio-closing h2 { max-width: 11ch; font-size: clamp(3rem, 7vw, 6.5rem); }
.studio-closing > p:not(.kicker) { max-width: 36rem; margin: 1.5rem 0 3rem; color: #bbc3bd; }
.studio-closing > a { position: relative; z-index: 1; display: inline-flex; gap: 3rem; padding-bottom: .6rem; border-bottom: 1px solid var(--accent); color: var(--accent); font-weight: 700; }

.submission-main { padding-bottom: 7rem; }
.submission-hero { max-width: 820px; padding: 7rem 0 5rem; }
.submission-hero h1 { margin: .35rem 0 1rem; font-size: clamp(3.8rem, 10vw, 8rem); line-height: .92; letter-spacing: -.07em; }
.submission-hero > p:last-child { max-width: 42rem; color: var(--muted); font-size: 1.08rem; }
.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.channel-grid-single { grid-template-columns: 1fr; }
.channel-grid-single .channel-card:first-child { border-right: 0; }
.channel-card { position: relative; display: flex; min-height: 420px; flex-direction: column; padding: 2rem; }
.channel-card::before { content: ""; position: absolute; top: 0; right: 0; width: 32%; height: 7px; background: repeating-linear-gradient(135deg, var(--accent) 0 6px, transparent 6px 11px); }
.channel-card:first-child { border-right: 1px solid var(--line); }
.channel-card-admin { background: color-mix(in srgb, var(--accent-soft) 72%, transparent); }
.channel-number { align-self: flex-end; color: var(--muted); font: 600 .75rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.channel-card h2 { margin: .25rem 0 1rem; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.05em; }
.channel-card > p:not(.kicker) { max-width: 30rem; color: var(--muted); }
.channel-card ul { margin: 1.5rem 0 2rem; padding-left: 1.2rem; color: var(--muted); }
.channel-card li { margin: .45rem 0; }
.channel-action { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 1rem 0; border-top: 1px solid var(--ink); font-weight: 700; transition: color 180ms ease; }
.channel-action span { font-size: 1.25rem; transition: transform 180ms ease; }
.channel-action:hover { color: var(--accent); }
.channel-action:hover span { transform: translate(3px, -3px); }
.review-flow { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; padding: 6rem 0 0; }
.review-flow h2 { max-width: 12ch; margin: .35rem 0 0; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.055em; }
.review-flow ol { margin: 0; padding: 0; list-style: none; }
.review-flow li { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.review-flow span { color: var(--muted); }
footer a { color: var(--accent); }

.manual-main { padding-bottom: 7rem; }
.manual-hero { padding: 6rem 0 4.5rem; border-bottom: 1px solid var(--line); }
.manual-hero h1 { max-width: 900px; margin: 0; font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.07em; }
.manual-hero > p:last-child { max-width: 42rem; margin: 1.75rem 0 0; color: var(--muted); }
.manual-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 5rem; padding-top: 4rem; }
.manual-nav { position: sticky; top: 1.5rem; align-self: start; }
.manual-nav strong { display: block; margin-bottom: .8rem; font-size: .78rem; color: var(--muted); }
.manual-nav a { display: block; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.manual-nav a:hover { color: var(--accent); }
.manual-content, .manual-section { min-width: 0; }
.manual-section { padding: 0 0 4.5rem; scroll-margin-top: 2rem; }
.manual-section + .manual-section { padding-top: 4.5rem; border-top: 1px solid var(--line); }
.manual-section h2 { margin-bottom: 1.5rem; }
.manual-section h3 { margin: 2.2rem 0 .7rem; font-size: 1.12rem; letter-spacing: -.02em; }
.manual-section p, .manual-section li { max-width: 72ch; }
.manual-section p { color: var(--muted); }
.manual-section ul, .manual-section ol { margin: 1rem 0; padding-left: 1.25rem; }
.manual-section li { margin: .5rem 0; }
.manual-section code { overflow-wrap: anywhere; padding: .12rem .35rem; border-radius: 0; background: var(--accent-soft); color: var(--ink); font: .88em/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.manual-section pre { max-width: 100%; overflow-x: auto; margin: 1rem 0; padding: 1.15rem; border-radius: 0; background: var(--ink); color: #edf3ee; }
.manual-section pre code { white-space: pre-wrap; overflow-wrap: anywhere; padding: 0; background: transparent; color: inherit; }
.decision-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.decision-list article { padding: 1.3rem; background: var(--paper); }
.decision-list strong { display: block; margin-bottom: .35rem; }
.decision-list p { margin: 0; font-size: .9rem; }
.callout { margin: 1.4rem 0; padding: 1.1rem 1.25rem; border-left: 4px solid var(--accent); background: var(--accent-soft); }
.callout p { margin: 0; color: var(--ink); }

@media (max-width: 760px) {
  main { width: min(100% - 28px, 1180px); }
  .site-header, footer { width: 100%; padding-inline: 14px; }
  .brand { gap: .55rem; font-size: .9rem; }
  .header-actions { gap: .7rem; font-size: .78rem; }
  .header-actions > a:nth-child(1), .header-actions > a:nth-child(3) { display: none; }
  .submit-link { padding: .5rem .72rem; }
  .intro { min-height: auto; grid-template-columns: 1fr; gap: 3.5rem; padding: 4.5rem 0; }
  .intro h1 { font-size: clamp(3.1rem, 15vw, 5.2rem); }
  .intro-index { padding: 1.5rem; border: 1px solid #59636d; }
  .catalog { padding: 5rem 0; }
  .catalog-head { grid-template-columns: 1fr; align-items: start; }
  .filter-group { grid-template-columns: 1fr; gap: .35rem; }
  .filter-label { padding-top: 0; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card:nth-child(odd) { border-right: 0; }
  .about { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 0; }
  .principles p { grid-template-columns: 5rem 1fr; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
  .manual-hero { padding: 4rem 0 3rem; }
  .manual-layout { grid-template-columns: 1fr; gap: 3rem; padding-top: 2.5rem; }
  .manual-nav { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
  .manual-nav strong { grid-column: 1 / -1; }
  .decision-list { grid-template-columns: 1fr; }
  .submission-main { padding-bottom: 5rem; }
  .submission-hero { padding: 4rem 0 3rem; }
  .channel-grid, .review-flow { grid-template-columns: 1fr; }
  .channel-card { min-height: 390px; padding: 1.5rem 0; }
  .channel-card:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .channel-card-admin { margin-inline: -14px; padding-inline: 14px; }
  .review-flow { gap: 2.5rem; padding-top: 4.5rem; }
  .studio-hero { min-height: auto; grid-template-columns: 1fr; gap: 2rem; padding: 4rem 0; }
  .studio-hero h1 { font-size: clamp(2.8rem, 10vw, 4.2rem); line-height: 1.08; letter-spacing: -.035em; }
  .studio-manifesto { min-height: 390px; }
  .studio-about, .contribution-section { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 0; }
  .works-section, .resource-bridge { padding: 5rem 0; }
  .compact-heading { display: block; }
  .work-slide { padding-right: 0; }
  .work-card { min-height: 390px; }
  .work-card-body { padding-block: 3rem 2rem; }
  .works-controls { grid-template-columns: auto auto 1fr auto; gap: .7rem; }
  .works-arrow { width: 2.8rem; }
  .resource-bridge-head { grid-template-columns: 1fr; gap: 2rem; }
  .resource-overview { grid-template-columns: 1fr; margin: 3rem 0 4rem; }
  .resource-overview div + div { border-left: 0; border-top: 1px solid var(--line); }
  .latest-resource { grid-template-columns: 2rem 1fr auto; }
  .contribution-action { grid-column: 1; flex-direction: column; align-items: flex-start; margin-top: 0; }
  .studio-closing { margin: 4rem -14px; padding: 4rem 1.4rem; border-radius: 0; }
  .footer-links { gap: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@keyframes header-drop {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-drop {
  from { opacity: 0; transform: translateY(-3rem); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0); }
}

.official-home .site-header { animation: header-drop 560ms cubic-bezier(.22, 1, .36, 1) both; }
.official-home .studio-hero-copy { animation: hero-drop 780ms 120ms cubic-bezier(.22, 1, .36, 1) both; }
.official-home .studio-manifesto { animation: hero-drop 820ms 240ms cubic-bezier(.22, 1, .36, 1) both; }
.reveal-section { opacity: 0; transform: translateY(2.2rem); transition: opacity 680ms ease, transform 680ms cubic-bezier(.22, 1, .36, 1); }
.reveal-section.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .official-home .site-header, .official-home .studio-hero-copy, .official-home .studio-manifesto { animation: none; }
  .reveal-section { opacity: 1; transform: none; }
  .works-track, .works-progress span { transition: none; }
}

/* Member works archive — cinematic panels with an original responsive layout */
.works-page { --works-cyan: #00a7c8; --works-yellow: #e8d63b; background-color: #dfe4e7; }
.works-page main { width: 100%; max-width: none; }
.works-page .site-header { animation: header-drop 560ms cubic-bezier(.22, 1, .36, 1) both; }

.works-hero {
  position: relative;
  display: grid;
  min-height: min(790px, calc(100dvh - 72px));
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(90deg, transparent 0 66%, rgba(0, 167, 200, .1) 66%),
    linear-gradient(rgba(17, 22, 27, .045) 1px, transparent 1px),
    #e9edf0;
  background-size: auto, 100% 72px, auto;
}

.works-hero::before {
  content: "IMAKER / PUBLIC WORKS";
  position: absolute;
  top: 1.4rem;
  left: max(20px, calc((100% - 1180px) / 2));
  color: var(--muted);
  font: 700 .68rem/1 ui-monospace, Consolas, monospace;
  letter-spacing: .18em;
}

.works-hero-copy {
  z-index: 1;
  display: flex;
  width: min(100%, 760px);
  flex-direction: column;
  justify-content: center;
  padding: 7rem 5rem 6rem max(20px, calc((100vw - 1180px) / 2));
  animation: works-enter 820ms 100ms cubic-bezier(.22, 1, .36, 1) both;
}

.works-hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 6.8vw, 6.6rem);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.078em;
}

.works-hero-copy > p:not(.kicker) { max-width: 42rem; margin: 2rem 0 0; color: var(--muted); font-size: 1.08rem; }
.works-jump { display: inline-flex; width: fit-content; align-items: center; gap: 3rem; margin-top: 2.5rem; padding: .75rem 0; border-bottom: 2px solid var(--ink); font-weight: 760; }
.works-jump span { color: var(--works-cyan); transition: transform 180ms ease; }
.works-jump:hover span { transform: translateY(4px); }

.works-hero-board {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 2.2rem;
  background:
    radial-gradient(circle at 1px 1px, rgba(17, 22, 27, .25) 1.4px, transparent 1.6px) 0 0 / 9px 9px,
    var(--works-yellow);
  color: var(--ink);
  animation: works-board-enter 900ms 180ms cubic-bezier(.22, 1, .36, 1) both;
}

.works-hero-board::before { content: ""; position: absolute; inset: 11% -18% auto 12%; height: 52%; border: 3px solid var(--ink); transform: rotate(-8deg); }
.works-hero-board::after { content: ""; position: absolute; right: -14%; bottom: 18%; width: 75%; aspect-ratio: 1; border: 4rem solid rgba(0, 167, 200, .8); border-radius: 50%; }
.works-hero-board > * { position: relative; z-index: 1; }
.board-index, .board-note { font: 700 .72rem/1.2 ui-monospace, Consolas, monospace; letter-spacing: .13em; }
.works-hero-board strong { align-self: flex-start; font-size: clamp(4.2rem, 7vw, 7rem); line-height: .9; letter-spacing: -.08em; }
.board-note { align-self: flex-end; padding: .65rem .8rem; background: var(--ink); color: white; }

.works-collection, .video-collection, .works-closing { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.works-collection, .video-collection { scroll-margin-top: 88px; }
.works-collection { padding: 7rem 0; }
.works-collection-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 410px); gap: 4rem; align-items: end; margin-bottom: 3rem; }
.works-collection-head h2 { font-size: clamp(3.3rem, 6vw, 5.4rem); }
.works-collection-head > p { margin: 0; color: var(--muted); }
.project-stack { display: grid; gap: 2rem; }

.project-panel { display: grid; min-height: 500px; grid-template-columns: minmax(270px, .82fr) minmax(0, 1.18fr); overflow: hidden; border: 1px solid var(--ink); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px)); }
.project-panel:nth-child(even) { grid-template-columns: minmax(0, 1.18fr) minmax(270px, .82fr); }
.project-panel:nth-child(even) .project-visual { grid-column: 2; grid-row: 1; }
.project-panel:nth-child(even) .project-copy { grid-column: 1; grid-row: 1; }
.project-panel-dark { background: var(--ink); color: white; }
.project-panel-signal { background: var(--works-yellow); }
.project-visual { position: relative; display: flex; min-width: 0; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 1.7rem; background: var(--works-cyan); color: var(--ink); }
.project-panel-signal .project-visual { background: var(--ink); color: white; }
.project-visual::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(112deg, transparent 0 38px, rgba(255,255,255,.16) 39px 41px); transform: scale(1.25); }
.project-visual > * { position: relative; z-index: 1; }
.project-visual span { font: 700 .72rem/1 ui-monospace, Consolas, monospace; letter-spacing: .14em; }
.project-visual strong { font-size: clamp(3rem, 6vw, 5.6rem); line-height: .9; letter-spacing: -.07em; }
.project-visual i { position: absolute; right: -18%; bottom: -24%; width: 70%; aspect-ratio: 1; border: 2.4rem solid var(--works-yellow); border-radius: 50%; opacity: .9; transition: transform 700ms cubic-bezier(.22, 1, .36, 1); }
.project-panel-signal .project-visual i { border-color: var(--works-cyan); }
.project-panel:hover .project-visual i { transform: translate(-12%, -10%) rotate(18deg); }
.project-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vw, 5rem); }
.project-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: auto; font: 700 .72rem/1 ui-monospace, Consolas, monospace; letter-spacing: .12em; }
.project-label { margin: 4rem 0 .7rem; font-weight: 760; letter-spacing: .08em; }
.project-copy h3 { max-width: 12ch; margin: 0; font-size: clamp(3rem, 5.7vw, 5.3rem); line-height: 1; letter-spacing: -.07em; }
.project-copy > p:not(.project-label) { max-width: 37rem; margin: 1.5rem 0; color: #b9c2c8; }
.project-panel-signal .project-copy > p:not(.project-label) { color: #3e4549; }
.project-copy a { display: inline-flex; width: fit-content; gap: 2.5rem; align-items: center; margin-top: auto; padding: .85rem 1rem; border: 1px solid currentColor; font-weight: 760; transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.project-copy a:hover { background: white; color: var(--ink); transform: translateY(-3px); }
.project-panel-signal .project-copy a:hover { background: var(--ink); color: white; }

.video-collection { width: 100%; max-width: none; padding: 7rem max(20px, calc((100% - 1180px) / 2)); background: var(--ink); color: white; }
.works-collection-head-light > p { color: #aeb9bf; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #56616a; border-left: 1px solid #56616a; }
.video-card { display: grid; min-width: 0; grid-template-columns: minmax(180px, .9fr) minmax(0, 1.1fr); min-height: 320px; border-right: 1px solid #56616a; border-bottom: 1px solid #56616a; transition: background-color 220ms ease; }
.video-card:hover { background: #1c252b; }
.video-preview { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--works-cyan); }
.video-preview::before { content: "01"; position: absolute; right: -.06em; bottom: -.2em; color: rgba(17, 22, 27, .18); font-size: 9rem; font-weight: 850; line-height: 1; letter-spacing: -.1em; }
.video-preview-alt { background: var(--works-yellow); }
.video-preview-alt::before { content: "02"; }
.video-play { position: relative; z-index: 2; display: grid; width: 5rem; aspect-ratio: 1; place-items: center; border: 2px solid var(--ink); border-radius: 50%; color: var(--ink); font-size: 1.3rem; transition: transform 300ms cubic-bezier(.22, 1, .36, 1), background-color 180ms ease; }
.video-card:hover .video-play { transform: scale(1.1); background: white; }
.video-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 6px, rgba(17,22,27,.08) 6px 7px); }
.video-info { display: flex; min-width: 0; flex-direction: column; padding: 2rem; }
.video-info > span { color: #8e9aa2; font: 700 .7rem/1 ui-monospace, Consolas, monospace; letter-spacing: .14em; }
.video-info h3 { margin: auto 0 .6rem; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -.05em; }
.video-info p { margin: 0 0 2.5rem; color: #8e9aa2; font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.video-info strong { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid #56616a; }

.works-closing { margin-block: 0; padding: 8rem 0; }
.works-closing h2 { max-width: 13ch; font-size: clamp(3.4rem, 7vw, 6.5rem); }
.works-closing > p:not(.kicker) { max-width: 42rem; margin: 2rem 0 0; color: var(--muted); font-size: 1.05rem; }
.works-closing > div { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }

[data-reveal] { opacity: 0; transform: translateY(3rem); transition: opacity 720ms ease, transform 720ms cubic-bezier(.22, 1, .36, 1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes works-enter {
  from { opacity: 0; transform: translateY(-2.5rem); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0); }
}

@keyframes works-board-enter {
  from { opacity: 0; transform: translateX(5rem); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 900px) {
  .works-hero { min-height: auto; grid-template-columns: 1fr; }
  .works-hero-copy { min-height: 620px; padding: 6rem 20px 4rem; }
  .works-hero-board { min-height: 430px; }
  .works-collection-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-panel, .project-panel:nth-child(even) { min-height: 0; grid-template-columns: 1fr; }
  .project-panel:nth-child(even) .project-visual, .project-panel:nth-child(even) .project-copy { grid-column: 1; grid-row: auto; }
  .project-visual { min-height: 330px; }
  .project-copy { min-height: 420px; }
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .works-hero-copy { min-height: 550px; }
  .works-hero h1 { font-size: clamp(3rem, 12vw, 4.2rem); }
  .works-hero-board { min-height: 360px; padding: 1.4rem; }
  .works-hero-board strong { font-size: clamp(3.4rem, 17vw, 5rem); }
  .works-collection { width: calc(100% - 28px); padding: 5rem 0; }
  .works-collection-head h2 { font-size: 3.2rem; }
  .project-visual { min-height: 280px; padding: 1.3rem; }
  .project-copy { min-height: 390px; padding: 1.5rem; }
  .project-copy h3 { font-size: clamp(2.4rem, 11vw, 3.3rem); }
  .video-collection { padding: 5rem 14px; }
  .video-card { grid-template-columns: 1fr; }
  .video-preview { min-height: 220px; }
  .video-info { min-height: 270px; }
  .works-closing { width: calc(100% - 28px); padding: 5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .works-page .site-header, .works-hero-copy, .works-hero-board { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .project-visual i, .video-play { transition: none; }
}
