:root {
  --paper: #f4f3ed;
  --ink: #10111b;
  --navy: #121629;
  --blue: #243af1;
  --line: #c5c5c0;
  --mono: "DM Mono", monospace;
  --ease: cubic-bezier(.22, .75, .25, 1);
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, system-ui, sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #6172ff; outline-offset: 5px; }
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 28px; }
.shell { width: min(100% - clamp(36px, 8vw, 132px), 1450px); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; padding: 12px; z-index: 20; color: white; background: var(--navy); transform: translateY(-150%); }
.skip:focus { transform: none; }
.progress {
  position: fixed; z-index: 10; inset: 0 0 auto; height: 3px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; pointer-events: none;
}
.header { z-index: 2; position: relative; }
.header-inner { min-height: 76px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.wordmark { display: inline-flex; align-items: center; width: fit-content; font-size: 1.42rem; line-height: 1; font-weight: 800; letter-spacing: -.086em; white-space: nowrap; }
.wordmark-period { color: var(--blue); }
.brand-symbol {
  display: inline-block; margin-right: 9px; width: 1.15rem; height: 1.15rem; background: var(--blue);
  clip-path: polygon(0 74%, 34% 74%, 34% 44%, 65% 44%, 65% 13%, 100% 13%, 100% 48%, 68% 48%, 68% 79%, 35% 79%, 35% 100%, 0 100%);
}
nav { display: flex; gap: clamp(22px, 3.4vw, 58px); }
nav a, .header-contact, .text-link { font-size: .9375rem; font-weight: 800; }
nav a:hover, .text-link:hover { color: var(--blue); }
.header-contact {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px;
  border: 1px solid var(--ink); white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.header-contact:hover { background: var(--blue); border-color: var(--blue); color: white; }
.link-mark { display: inline-block; width: 8px; height: 8px; background: currentColor; transition: transform .28s var(--ease); flex: none; }
a:hover .link-mark, button:hover .link-mark { transform: rotate(45deg); }
.menu-toggle { display: none; }

.hero { padding: clamp(26px, 4.5vw, 68px) 0 0; }
.hero-meta { display: flex; justify-content: space-between; gap: 20px; }
.label { font: 500 .875rem/1.45 var(--mono); text-transform: uppercase; letter-spacing: .045em; }
.hero-meta .label:first-child { color: var(--blue); }
.hero-type { display: grid; grid-template-columns: 1fr minmax(190px, 20%); gap: 20px; align-items: end; padding: clamp(22px, 3.25vw, 52px) 0 clamp(24px, 3.2vw, 46px); }
h1 {
  font-weight: 800; font-size: clamp(3.7rem, 11.4vw, 11.5rem);
  line-height: .855; letter-spacing: -.062em; padding-right: .04em;
}
.type-mask { display: block; overflow: hidden; padding: .11em .14em .16em 0; margin-block: -.11em -.16em; }
.type-mask > span { display: block; }
.blue-type { color: var(--blue); }
.hero-aside { padding-bottom: .15em; }
.hero-aside p { max-width: 25ch; font-size: clamp(1rem, 1.35vw, 1.2rem); font-weight: 600; line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 11px; padding-bottom: .35em; border-bottom: 1px solid currentColor; }
.hero-aside .text-link { margin-top: 16px; }
.hero-picture { position: relative; overflow: hidden; isolation: isolate; height: clamp(300px, 46vw, 670px); background: #b9b9b8; }
.hero-picture img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%;
  filter: grayscale(1) contrast(1.08); transform: translateY(var(--photo-shift, 0px)) scale(1.13);
}
.hero-picture::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(0deg, #14141aac, transparent); pointer-events: none; }
.hero-picture figcaption { position: absolute; z-index: 1; bottom: clamp(18px, 3vw, 42px); left: clamp(18px, 3vw, 42px); color: white; font-size: clamp(1.24rem, 3.1vw, 2.9rem); font-weight: 800; line-height: 1.02; letter-spacing: -.055em; }

.section { padding-block: clamp(72px, 9vw, 140px); }
.section-heading .label { margin-bottom: 17px; }
h2 { font-size: clamp(2.75rem, 6.7vw, 7.125rem); line-height: .97; font-weight: 800; letter-spacing: -.065em; }
h2 em { color: var(--blue); font-weight: 800; font-style: normal; }
.services-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 5vw, 76px); margin-top: clamp(24px, 4vw, 60px); align-items: start; }
.service-list { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service summary { display: flex; align-items: center; justify-content: space-between; list-style: none; padding: 20px 0; gap: 10px; cursor: pointer; font-size: clamp(1.32rem, 2.7vw, 2.6rem); font-weight: 800; letter-spacing: -.048em; line-height: 1.1; }
.service summary::-webkit-details-marker { display: none; }
.service summary:hover, .service[open] summary { color: var(--blue); }
.service p { max-width: 47ch; color: #454650; padding: 0 20px 24px 0; line-height: 1.6; }
.detail-break { display: none; }
.toggle-icon { position: relative; display: block; flex: 0 0 27px; height: 27px; border: 1px solid currentColor; border-radius: 50%; }
.toggle-icon::before, .toggle-icon::after { content: ""; position: absolute; width: 11px; height: 1px; background: currentColor; top: 12px; left: 7px; }
.toggle-icon::after { transform: rotate(90deg); transition: transform .2s; }
.service[open] .toggle-icon::after { transform: rotate(0); }
.service-art { display: grid; overflow: hidden; isolation: isolate; position: sticky; top: 24px; min-height: 350px; aspect-ratio: 1.15; container-type: inline-size; background: var(--blue); }
.art-face { display: flex; flex-direction: column; justify-content: space-between; grid-area: 1 / 1; overflow: hidden; position: relative; padding: clamp(16px, 2vw, 32px); opacity: 0; visibility: hidden; transform: scale(1.055); transition: opacity .4s, visibility .4s, transform .65s var(--ease); }
[data-active="social"] .social-art, [data-active="creative"] .creative-art, [data-active="performance"] .performance-art, [data-active="web"] .web-art { opacity: 1; visibility: visible; transform: scale(1); }
.art-label, .art-extra { z-index: 1; text-transform: uppercase; font: 500 .75rem/1.3 var(--mono); letter-spacing: .05em; }
.social-art { background: var(--blue); color: var(--paper); }
.social-art::after { content: ""; position: absolute; width: 59%; aspect-ratio: 1; border: 1px solid #f4f3ed9e; border-radius: 50%; top: 17%; right: -8%; box-shadow: 0 0 0 28px #243af1, 0 0 0 29px #f4f3ed9e, 0 0 0 57px #243af1, 0 0 0 58px #f4f3ed9e; }
.social-type, .creative-type, .performance-type, .web-type { z-index: 1; font-weight: 800; font-size: clamp(3rem, 18cqw, 8rem); letter-spacing: -.062em; line-height: .82; }
.social-type i { color: #e2f957; }
.creative-art { background: #e2f957; color: #191c16; }
.creative-art::after { content: ""; position: absolute; inset: -35% -22% -10% 44%; border: 1px solid #1c2116; transform: rotate(-26deg); background: repeating-linear-gradient(0deg, #161616 0 1px, transparent 1px 18px); }
.creative-type span { color: var(--blue); }
.performance-art { background: #181c32; color: #f4f3ed; }
.performance-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, #ffffff27 0 1px, transparent 1px 12.5%), repeating-linear-gradient(0deg, #ffffff23 0 1px, transparent 1px 13%); mask-image: linear-gradient(135deg, transparent 35%, #000); }
.performance-type { font-size: clamp(3rem, 15cqw, 7rem); }
.web-art { background: #dedcf7; color: #22215b; }
.web-type { display: grid; gap: 3px; font-size: clamp(2rem, 10.6cqw, 5.5rem); }
.web-type span { width: 100%; padding: .08em .15em .15em; border: 1px solid #22215b; }
.web-type span:nth-child(2) { color: white; background: var(--blue); border-color: var(--blue); }

.studio { background: var(--navy); color: var(--paper); }
.studio-inner { display: grid; grid-template-columns: 1.23fr .77fr; gap: clamp(26px, 7vw, 100px); align-items: start; }
.studio h2 em { color: #a0acff; }
.studio-lead { font-size: clamp(1.2rem, 2.1vw, 2rem); font-weight: 600; line-height: 1.4; letter-spacing: -.035em; margin-bottom: 32px; }
.studio dl > div { padding: 13px 0 15px; border-top: 1px solid #72768e; display: grid; grid-template-columns: 92px 1fr; gap: 12px; }
.studio dt { color: #b9c4ff; font: 500 .875rem/1.6 var(--mono); text-transform: uppercase; }
.studio dd { line-height: 1.5; color: #e1e1e9; }
.process-list { list-style: none; counter-reset: stage; padding: 0; margin: clamp(30px, 4vw, 65px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-list li { border-top: 1px solid var(--line); padding: 15px 18px 0 0; counter-increment: stage; }
.process-list li::before { content: "0" counter(stage); display: inline-block; margin-bottom: 21px; color: var(--blue); font: 500 .875rem/1 var(--mono); }
.process h3 { margin-bottom: 10px; font-size: clamp(1.7rem, 3.5vw, 3.5rem); letter-spacing: -.09em; line-height: 1; }
.process li p { color: #454650; line-height: 1.55; }
.contact { background: var(--blue); color: white; }
.contact-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: end; }
.contact h2 em { color: #e2f957; }
.contact-action { position: relative; padding-bottom: 4px; }
.contact-action p { max-width: 29ch; margin-bottom: 18px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 600; line-height: 1.55; }
.button { display: inline-flex; align-items: center; gap: 14px; min-height: 49px; padding: 11px 16px; border: 1px solid transparent; background: var(--ink); color: white; font-weight: 800; transition: background .2s, color .2s, border-color .2s; }
.button:hover { background: white; color: var(--ink); border-color: currentColor; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-block: 27px; }
.footer-credit { color: #4d4e58; font-size: .875rem; }

dialog { width: min(100% - 32px, 520px); max-height: calc(100% - 32px); border: 1px solid var(--ink); color: var(--ink); background: var(--paper); padding: clamp(18px, 5vw, 34px); }
dialog::backdrop { background: #10111bbd; backdrop-filter: blur(4px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-header h2 { font-size: 2.35rem; }
.close { width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); color: var(--ink); font-size: 1.55rem; }
form p { color: #454650; margin-block: 12px; }
form label { display: block; margin: 18px 0 6px; font-weight: 800; }
form input, form select, form textarea { width: 100%; padding: 10px; border: 1px solid #83848a; background: #fff; color: var(--ink); border-radius: 0; }
form select { appearance: none; padding-right: 35px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-size: 5px 5px; background-position: calc(100% - 17px) center, calc(100% - 12px) center; background-repeat: no-repeat; }
form textarea { resize: vertical; min-height: 80px; }
form .button { margin-top: 20px; }
#brief-status:empty { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .type-mask > span { animation: type-in 1s var(--ease) both; }
  .type-mask:nth-child(2) > span { animation-delay: .12s; }
  .hero-aside { animation: rise-in .8s .23s var(--ease) both; }
  .hero-picture { animation: photo-in .9s .18s var(--ease) both; }
  .motion-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .motion-ready [data-reveal]:is(.visible, :focus-within) { opacity: 1; transform: none; }
  .service[open] p { animation: detail-in .3s var(--ease) both; }
  [data-active="social"] .social-art::after { animation: rings-in .95s var(--ease) both; }
  [data-active="creative"] .creative-art::after { animation: shutter-in .8s var(--ease) both; }
  [data-active="performance"] .performance-type { animation: rise-in .65s var(--ease) both; }
  [data-active="web"] .web-type span { animation: rise-in .55s var(--ease) both; }
  [data-active="web"] .web-type span:nth-child(2) { animation-delay: .06s; }
  [data-active="web"] .web-type span:nth-child(3) { animation-delay: .12s; }

}
@keyframes type-in { from { transform: translateY(108%); } to { transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes photo-in { from { clip-path: inset(12% 0 0); } to { clip-path: inset(0); } }
@keyframes rings-in { from { opacity: .2; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes shutter-in { from { transform: translateX(24%) rotate(-10deg); } to { transform: rotate(-26deg); } }
@keyframes detail-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (max-width: 950px) {
  .hero-type { grid-template-columns: 1fr minmax(170px, 24%); }
  h1 { font-size: clamp(3.7rem, 10.3vw, 7rem); }
  .studio-inner, .contact-inner { grid-template-columns: 1.1fr .9fr; }
  .service-art { min-height: 290px; }
}
@media (max-width: 700px) {
  .header-inner { min-height: 64px; grid-template-columns: 1fr auto auto; gap: 8px; }
  .header-contact { font-size: .875rem; padding-inline: 8px; min-height: 43px; }
  .header-contact .link-mark { display: none; }
  .menu-toggle { display: block; min-height: 44px; border: 0; padding-inline: 7px; color: var(--ink); background: transparent; font-size: .875rem; font-weight: 800; }
  nav { position: absolute; left: 0; top: 100%; right: 0; display: none; flex-wrap: wrap; padding: 9px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  nav a { padding-block: 10px; }
  .menu-toggle[aria-expanded="true"] + nav { display: flex; }
  .hero-meta-secondary { display: none; }
  .hero-type { grid-template-columns: 1fr; gap: 24px; padding-block: 28px; }
  h1 { font-size: clamp(2.75rem, 13.35vw, 6rem); }
  .hero-aside p { max-width: 38ch; }
  .hero-picture { height: clamp(255px, 66vw, 420px); }
  .hero-picture img { object-position: 53% 50%; }
  .services-grid, .studio-inner, .contact-inner { grid-template-columns: 1fr; }
  .service-art { position: relative; top: 0; min-height: min(340px, 75vw); }
  .studio-lead { margin-bottom: 24px; }
}
@media (max-width: 460px) {
  .process-list { grid-template-columns: 1fr; }
  .process-list li::before { margin-bottom: 12px; }
  .footer-inner { align-items: start; }
  .footer-credit { order: 1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media (max-width: 360px) {
  .header-inner { gap: 4px; }
  .header .wordmark { font-size: 1.15rem; }
  .header .brand-symbol { margin-right: 6px; width: 1rem; height: 1rem; }
  .header-contact { padding-inline: 6px; }
}
