@font-face {
  font-family: Alliance;
  src: url("assets/alliance-no2.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #eeeee9;
  --ink: #24251f;
  --muted: #70716a;
  --line: #c9cac1;
  --accent: #2b43ed;
  --acid: #d8ed65;
  --sans: Alliance, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(24px, 4.4vw, 84px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.dialog-open {
  overflow: hidden;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
button:hover,
a:hover {
  color: var(--accent);
}
::selection {
  background: var(--acid);
  color: var(--ink);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
button:disabled {
  cursor: default;
}
svg {
  display: block;
  width: 100%;
}
img {
  display: block;
  max-width: 100%;
}
.mono,
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.025em;
}
.eyebrow {
  text-transform: uppercase;
}
.muted {
  color: var(--muted);
}
.page-section {
  padding-inline: var(--gutter);
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  background: var(--accent);
  color: white;
  padding: 15px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
  background: var(--paper);
}
.brand {
  font-size: 35px;
  letter-spacing: -1.9px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.star-symbol {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}
.brand-symbol {
  font-size: 37px;
  font-weight: 400;
  margin-right: 9px;
  line-height: 1;
}
.brand-period {
  font-size: 10px;
  align-self: flex-start;
  letter-spacing: 0;
  margin: 3px 0 0 4px;
}
.desktop-nav {
  display: flex;
  gap: 38px;
  align-items: center;
  font-size: 14px;
}
.desktop-nav a {
  padding: 10px 0;
  position: relative;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  height: 1px;
  background: currentColor;
  bottom: 3px;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.desktop-nav a:hover::after {
  transform: scaleX(1);
}
.desktop-nav a span {
  font-family: var(--mono);
  font-size: 10px;
  vertical-align: super;
  margin-left: 3px;
}
.header-contact {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 14px 0;
}
.button-mark {
  font-size: 25px;
  font-weight: 300;
}
.menu-toggle,
.mobile-nav {
  display: none;
}
.hero {
  padding-top: 31px;
}
.hero-top {
  display: flex;
  justify-content: space-between;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 78px;
}
.hero h1 {
  font-size: clamp(64px, 7.05vw, 116px);
  line-height: 1.045;
  font-weight: 400;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.hero h1 > span {
  color: var(--accent);
}
.hero-description {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 35px;
}
.hero-description p {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.025em;
}
.cross {
  font-size: 34px;
  line-height: 1.2;
  color: var(--accent);
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.index-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.index-square {
  width: 7px;
  height: 7px;
  background: var(--accent);
}
.index-link .mono {
  margin-left: 15px;
  color: var(--muted);
}
.hero-bottom-note {
  color: var(--muted);
}
.hero-bottom > .mono {
  font-size: 10px;
  color: var(--muted);
}
.work {
  padding-top: 102px;
  padding-bottom: 112px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 57px;
}
.section-index {
  padding-top: 8px;
}
.section-heading h2 {
  font-size: clamp(36px, 3.65vw, 62px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.05em;
}
.section-aside {
  font-size: 14px;
  line-height: 1.5;
  justify-self: end;
  padding-top: 8px;
  color: var(--muted);
}
.project + .project {
  margin-top: 65px;
}
.project-visual {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 62px 11% 0;
  height: clamp(350px, 43vw, 660px);
  text-align: left;
}
.voice-visual {
  background: #cdcec6;
}
.project-image-frame {
  height: 100%;
  overflow: hidden;
  box-shadow: 0 12px 40px #0002;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.project-visual:hover .project-image-frame {
  transform: translateY(-8px);
}
.project-visual img {
  width: 100%;
  height: auto;
}
.visual-label {
  position: absolute;
  left: 26px;
  top: 23px;
  font-size: 11px;
  color: var(--ink);
}
.visual-open {
  position: absolute;
  right: 25px;
  top: 18px;
  font-size: 28px;
  color: var(--ink);
}
.project-caption {
  display: grid;
  grid-template-columns: 1fr 2.1fr 1fr;
  align-items: start;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding: 25px 0 31px;
}
.project-number {
  padding-top: 5px;
  color: var(--muted);
}
.project-title {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-align: left;
  padding: 0;
}
.project-caption p {
  font-size: 14px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.4;
}
.project-tags {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 3px;
}
.project-tags span {
  font-family: var(--mono);
  font-size: 10px;
  border: 1px solid var(--line);
  padding: 6px 9px;
  white-space: nowrap;
}
.rimstroy-visual {
  background: #d9ddcf;
}
.expertise {
  padding-top: 92px;
  padding-bottom: 50px;
  background: #e2e3dc;
  border-top: 1px solid var(--line);
}
.expertise .section-heading {
  grid-template-columns: 1fr 3fr;
}
.expertise-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12%;
  padding-left: 25%;
}
.expertise-intro {
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.025em;
}
.expertise-intro p + p {
  font-size: 15px;
  letter-spacing: 0;
  margin-top: 22px;
}
.expertise-symbol {
  font-size: 112px;
  color: var(--accent);
  display: block;
  margin-top: 34px;
  line-height: 1;
}
.expertise-list {
  min-width: 0;
}
.expertise-list details {
  border-top: 1px solid #b8bbb1;
}
.expertise-list details:last-child {
  border-bottom: 1px solid #b8bbb1;
}
.expertise-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  padding: 24px 0;
}
.expertise-list summary::-webkit-details-marker {
  display: none;
}
.expertise-list summary > .mono {
  font-size: 10px;
  color: var(--muted);
}
.expertise-list h3 {
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.expand-mark {
  width: 12px;
  height: 12px;
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
}
.expand-mark:before,
.expand-mark:after {
  content: "";
  position: absolute;
  top: 5px;
  width: 12px;
  height: 1px;
  background: var(--ink);
}
.expand-mark:after {
  transform: rotate(90deg);
  transition: transform 0.2s;
}
details[open] .expand-mark:after {
  transform: rotate(0);
}
.expertise-body {
  padding: 0 16px 27px 32px;
}
.expertise-body p {
  font-size: 15px;
  line-height: 1.6;
  color: #52554c;
}
.expertise-body > .mono {
  display: block;
  margin-top: 22px;
  font-size: 10px;
  color: var(--muted);
}
.process-strip {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 32px;
  border-top: 1px solid #b8bbb1;
  margin-top: 70px;
  padding-top: 28px;
}
.process-strip ol {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.process-strip li {
  font-size: 15px;
}
.process-strip li > .mono {
  color: var(--muted);
  font-size: 10px;
  margin-right: 12px;
}
.research {
  padding-top: 108px;
  padding-bottom: 108px;
  background: #252620;
  color: #edeee6;
}
.research .section-aside,
.research .section-index {
  color: #aaada1;
}
.research-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.lab-visual {
  background: var(--acid);
  color: #252a1e;
  display: flex;
  flex-direction: column;
  min-height: 392px;
  justify-content: space-between;
  padding: 23px 26px;
  overflow: hidden;
}
.lab-meta,
.lab-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.lab-meta {
  font-size: 10px;
}
.waveform {
  width: calc(100% + 52px);
  margin: 0 -26px;
}
.lab-bottom > .mono {
  font-size: 11px;
}
.lab-asterisk {
  font-size: 48px;
  line-height: 0.8;
}
.research-item {
  width: 100%;
  display: block;
  color: inherit;
  text-align: left;
  border-top: 1px solid #5e6055;
  padding: 23px 0 25px;
}
.research-item:last-child {
  border-bottom: 1px solid #5e6055;
}
.research-item:hover {
  color: var(--acid);
}
.note-category {
  font-size: 10px;
  color: #b0b3a4;
}
.research-item h3 {
  font-size: 31px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 23px 0;
}
.research-item > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #b0b3a4;
}
.note-plus {
  font-size: 27px;
}
.contact {
  padding-top: 36px;
  padding-bottom: 90px;
}
.contact-top {
  display: flex;
  justify-content: space-between;
}
.contact-top > .mono {
  font-size: 10px;
  color: var(--muted);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: end;
  gap: 40px;
  padding-top: 90px;
}
.contact h2 {
  font-size: clamp(75px, 10.4vw, 162px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.065em;
}
.contact-action {
  padding: 0 0 6px 28%;
  font-size: 17px;
  line-height: 1.5;
}
.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  background: var(--accent);
  color: white;
  font-size: 14px;
  padding: 19px 24px;
  margin-top: 30px;
  min-width: 220px;
  text-align: left;
}
.primary-button:hover {
  background: var(--ink);
  color: white;
}
.primary-button > span {
  font-size: 23px;
  line-height: 0.7;
}
.site-footer {
  margin: 0 var(--gutter);
  border-top: 1px solid var(--line);
  padding: 26px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-footer .brand {
  font-size: 26px;
}
.site-footer .brand-symbol {
  font-size: 29px;
}
.site-footer > span {
  font-size: 12px;
  color: var(--muted);
}
.site-footer > .mono {
  font-size: 10px;
}
.footer-top {
  font-size: 12px;
}
.footer-top > span {
  margin-left: 20px;
}
.content-dialog {
  max-width: 1050px;
  width: calc(100% - 48px);
  max-height: 90dvh;
  border: none;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior: contain;
}
.content-dialog::backdrop {
  background: #161814b3;
  backdrop-filter: blur(6px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--paper);
  padding: 22px 38px;
  border-bottom: 1px solid var(--line);
  z-index: 1;
}
.dialog-top .brand {
  font-size: 26px;
}
.dialog-close {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  padding: 7px;
}
.dialog-close span {
  font-size: 26px;
}
.dialog-article {
  padding: 46px 60px 60px;
}
.dialog-article > .eyebrow {
  color: var(--muted);
}
.dialog-article h2 {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin: 22px 0 32px;
  max-width: 700px;
}
.dialog-article h3 {
  font-weight: 400;
  font-size: 25px;
  letter-spacing: -0.03em;
  margin: 32px 0 14px;
}
.dialog-article p,
.dialog-article li {
  font-size: 17px;
  line-height: 1.65;
  max-width: 720px;
}
.dialog-article p + p {
  margin-top: 16px;
}
.dialog-article img {
  margin: 30px 0;
  border: 1px solid var(--line);
}
.dialog-article .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.detail-meta span {
  font: 11px var(--mono);
  padding: 8px 12px;
  border: 1px solid var(--line);
}
.text-link {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  margin-top: 25px;
  font-size: 16px;
  padding-bottom: 5px;
}
.article-callout {
  border-left: 3px solid var(--accent);
  padding: 15px 22px;
  margin: 25px 0;
  background: #e3e4dc;
}
.brief-form {
  display: grid;
  gap: 23px;
}
.brief-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
}
.brief-form input,
.brief-form textarea {
  width: 100%;
  padding: 14px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid #929589;
  border-radius: 0;
  color: var(--ink);
  font-size: 17px;
  outline-offset: 5px;
}
.brief-form textarea {
  resize: vertical;
  min-height: 120px;
}
.brief-form input:focus,
.brief-form textarea:focus {
  outline: 2px solid var(--accent);
}
.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.form-actions .primary-button {
  margin: 0;
}
.secondary-button {
  font-size: 14px;
  border-bottom: 1px solid currentColor;
  padding: 7px 0;
}
.dialog-article .form-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 30px);
  background: var(--ink);
  color: var(--paper);
  padding: 16px 24px;
  font-size: 14px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
  max-width: calc(100% - 32px);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1700px) {
  body {
    max-width: 1920px;
    margin: auto;
  }
  .hero-layout {
    padding-top: 100px;
    padding-bottom: 105px;
  }
}
@media (max-width: 1150px) {
  .desktop-nav {
    gap: 23px;
  }
  .hero h1 {
    font-size: 7vw;
  }
  .hero-layout {
    gap: 25px;
    padding-top: 65px;
    padding-bottom: 60px;
  }
  .hero-description p {
    font-size: 15px;
  }
  .section-heading {
    grid-template-columns: 1fr 2.5fr;
  }
  .section-aside {
    display: none;
  }
  .expertise .section-heading {
    grid-template-columns: 1fr 2.5fr;
  }
  .expertise-layout {
    padding-left: 0;
    gap: 12%;
    grid-template-columns: 1fr 1.8fr;
  }
  .project-caption {
    grid-template-columns: 50px 1fr auto;
  }
  .project-title {
    font-size: 23px;
  }
  .project-tags {
    max-width: 190px;
  }
  .contact-action {
    padding-left: 12%;
  }
  .process-strip {
    grid-template-columns: 1fr 2.5fr;
  }
  .process-strip li {
    font-size: 13px;
  }
  .process-strip li > .mono {
    margin-right: 4px;
  }
  .research-item h3 {
    font-size: 27px;
  }
  .hero-bottom-note {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 22px;
  }
  .site-header {
    height: 78px;
  }
  .brand {
    font-size: 30px;
  }
  .brand-symbol {
    font-size: 32px;
  }
  .brand-period {
    font-size: 9px;
  }
  .desktop-nav,
  .header-contact {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 0 12px 12px;
    width: 40px;
  }
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    background: currentColor;
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    position: absolute;
    z-index: 15;
    width: 100%;
    padding: 10px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 20px #0001;
  }
  .mobile-nav a,
  .mobile-nav button {
    text-align: left;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 19px;
  }
  .hero {
    padding-top: 23px;
  }
  .hero-top > .eyebrow {
    font-size: 10px;
  }
  .hero-index {
    display: none;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 25px;
    gap: 40px;
  }
  .hero h1 {
    font-size: clamp(42px, 10.1vw, 78px);
    letter-spacing: -0.055em;
    line-height: 1.07;
  }
  .hero-description {
    margin-top: 26px;
    gap: 15px;
  }
  .hero-description p {
    font-size: 16px;
  }
  .hero-bottom {
    padding: 19px 0;
  }
  .hero-bottom > .mono {
    font-size: 8px;
  }
  .index-link {
    font-size: 13px;
    gap: 8px;
  }
  .index-link .mono {
    margin-left: 3px;
    font-size: 10px;
  }
  .section-heading,
  .expertise .section-heading {
    grid-template-columns: 1fr;
    gap: 23px;
    margin-bottom: 33px;
  }
  .section-heading h2 {
    font-size: 39px;
    letter-spacing: -0.045em;
    line-height: 1.08;
  }
  .section-index {
    padding-top: 0;
    font-size: 10px;
  }
  .work {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  .project-visual {
    height: 300px;
    padding: 55px 6% 0;
  }
  .visual-label {
    font-size: 9px;
    left: 17px;
    top: 19px;
  }
  .visual-open {
    right: 15px;
    top: 10px;
  }
  .project-image-frame {
    width: 100%;
    height: 100%;
  }
  .project-visual img {
    width: 100%;
    min-width: 640px;
    max-width: none;
    object-position: left top;
  }
  .project-caption {
    grid-template-columns: 28px 1fr;
    gap: 10px;
    padding: 20px 0 23px;
  }
  .project-title {
    font-size: 21px;
  }
  .project-caption p {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 8px;
  }
  .project-number {
    font-size: 10px;
  }
  .project-tags {
    grid-column: 2;
    justify-content: flex-start;
    max-width: none;
    margin-top: 5px;
    gap: 6px;
  }
  .project-tags span {
    font-size: 9px;
    padding: 5px 7px;
  }
  .project + .project {
    margin-top: 34px;
  }
  .expertise {
    padding-top: 55px;
    padding-bottom: 35px;
  }
  .expertise-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .expertise-intro {
    max-width: 440px;
    font-size: 20px;
  }
  .expertise-intro p + p {
    font-size: 16px;
    margin-top: 16px;
  }
  .expertise-symbol {
    display: none;
  }
  .expertise-list h3 {
    font-size: 22px;
  }
  .expertise-list summary {
    gap: 14px;
    padding: 22px 0;
  }
  .expertise-body {
    padding-left: 27px;
  }
  .expertise-body p {
    font-size: 16px;
  }
  .process-strip {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 35px;
    padding-top: 22px;
  }
  .process-strip > .eyebrow {
    font-size: 10px;
  }
  .process-strip ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .process-strip li {
    font-size: 14px;
  }
  .process-strip li > .mono {
    margin-right: 8px;
  }
  .research {
    padding-top: 62px;
    padding-bottom: 65px;
  }
  .research-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .lab-visual {
    min-height: 300px;
    padding: 20px;
  }
  .lab-meta {
    font-size: 9px;
  }
  .waveform {
    width: calc(100% + 40px);
    margin: 0 -20px;
  }
  .lab-bottom > .mono {
    font-size: 10px;
  }
  .lab-asterisk {
    font-size: 38px;
  }
  .research-item h3 {
    font-size: 28px;
    margin: 22px 0;
  }
  .research-item {
    padding: 21px 0;
  }
  .contact {
    padding-top: 25px;
    padding-bottom: 52px;
  }
  .contact-top > .mono {
    display: none;
  }
  .contact-top > .eyebrow {
    font-size: 10px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    padding-top: 45px;
    gap: 35px;
  }
  .contact h2 {
    font-size: 16vw;
    letter-spacing: -0.055em;
  }
  .contact-action {
    padding: 0;
    font-size: 16px;
  }
  .primary-button {
    width: 100%;
    margin-top: 24px;
    font-size: 15px;
  }
  .site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 25px 0;
  }
  .site-footer > span:nth-child(2) {
    text-align: right;
    font-size: 11px;
    line-height: 1.5;
  }
  .site-footer > .mono {
    font-size: 9px;
  }
  .footer-top {
    justify-self: end;
  }
  .site-footer .brand {
    font-size: 25px;
  }
  .content-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    margin: 0;
  }
  .dialog-top {
    padding: 17px 20px;
  }
  .dialog-article {
    padding: 30px 22px 45px;
  }
  .dialog-article h2 {
    font-size: 38px;
    line-height: 1.08;
    margin: 23px 0;
  }
  .dialog-article p,
  .dialog-article li {
    font-size: 16px;
  }
  .dialog-article h3 {
    font-size: 23px;
  }
  .dialog-article > .eyebrow {
    font-size: 10px;
  }
  .dialog-article .detail-meta {
    gap: 6px;
  }
  .detail-meta span {
    font-size: 9px;
    padding: 6px 8px;
  }
  .form-actions {
    gap: 20px;
  }
  .form-actions .primary-button {
    width: 100%;
  }
  .dialog-close {
    font-size: 12px;
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .project-visual:hover .project-image-frame {
    transform: none;
  }
}
.more-projects {
  margin-top: 58px;
}
.archive-label {
  margin-bottom: 23px;
  color: var(--muted);
}
.archive-project {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2.1fr 1fr 20px;
  gap: 25px;
  align-items: center;
  border-top: 1px solid var(--line);
  text-align: left;
  padding: 27px 0;
}
.archive-project:last-child {
  border-bottom: 1px solid var(--line);
}
.archive-number {
  color: var(--muted);
}
.archive-name {
  font-size: 25px;
  letter-spacing: -0.035em;
}
.archive-name small {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 9px;
}
.archive-category {
  font-size: 10px;
  text-align: right;
  color: var(--muted);
}
.archive-plus {
  font-size: 25px;
}
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.roles-grid > div {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.roles-grid .mono {
  font-size: 10px;
  color: var(--muted);
}
.roles-grid h3 {
  font-size: 22px;
  margin: 20px 0 13px;
}
.roles-grid p {
  font-size: 15px;
}
@media (max-width: 1150px) {
  .archive-project {
    grid-template-columns: 50px 1fr auto 20px;
  }
  .archive-name {
    font-size: 23px;
  }
  .archive-category {
    font-size: 9px;
  }
}
@media (max-width: 760px) {
  .more-projects {
    margin-top: 40px;
  }
  .archive-label {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .archive-project {
    grid-template-columns: 28px 1fr 18px;
    gap: 10px;
    padding: 22px 0;
  }
  .archive-name {
    font-size: 21px;
  }
  .archive-name small {
    font-size: 13px;
  }
  .archive-category {
    display: none;
  }
  .archive-number {
    font-size: 10px;
  }
  .roles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
/* Keep secondary labels legible, including at narrow widths. */
.eyebrow,
.hero-top > .eyebrow,
.hero-bottom > .mono,
.visual-label,
.project-tags span,
.process-strip > .eyebrow,
.process-strip li > .mono,
.expertise-list summary > .mono,
.expertise-body > .mono,
.lab-meta,
.lab-bottom > .mono,
.note-category,
.archive-category,
.archive-number,
.site-footer > .mono,
.contact-top > .mono,
.contact-top > .eyebrow,
.detail-meta span,
.roles-grid .mono,
.dialog-article > .eyebrow {
  font-size: 12px;
}
.hero-bottom > .mono {
  letter-spacing: 0;
}
.archive-category {
  line-height: 1.5;
}
@media (max-width: 760px) {
  .project-visual {
    height: auto;
    aspect-ratio: 1.23;
    padding: 49px 6% 0;
  }
  .project-visual img {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
  }
  .project-image-frame {
    height: 100%;
  }
  .hero-bottom > .mono {
    display: none;
  }
  .hero-top > .eyebrow {
    font-size: 11px;
  }
  .archive-label,
  .section-index {
    font-size: 12px;
  }
  .project-tags span {
    font-size: 11px;
  }
  .visual-label {
    font-size: 10px;
  }
  .lab-meta {
    font-size: 11px;
  }
  .lab-bottom > .mono {
    font-size: 11px;
  }
}
:root {
  --acid: #dce2ff;
}
.lab-visual {
  background: var(--accent);
  color: var(--paper);
}
.research-item:hover {
  color: #a8b6ff;
}
@media (max-width: 760px) {
  #expertise-title {
    font-size: 36px;
    max-width: 360px;
  }
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    min-width: 0;
  }
  .hero h1 {
    font-size: clamp(36px, 10.1vw, 78px);
  }
}

.hero-layout {
  grid-template-columns: 1.18fr 1fr;
  gap: 35px;
  padding-top: 55px;
  padding-bottom: 55px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(64px, 6.8vw, 112px);
}
.hero-islands {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 580px;
  isolation: isolate;
  touch-action: pan-y;
  user-select: none;
}
.islands-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.island-face {
  fill: var(--ink);
}
.islands-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.islands-ready .islands-art {
  opacity: 0;
  pointer-events: none;
}
.islands-caption {
  position: absolute;
  bottom: 21px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  font: 12px var(--mono);
  color: #65695e;
  pointer-events: none;
}
.islands-hint {
  color: #787b71;
}
.hero-islands:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 8px;
}
.hero-islands:not(.islands-ready) .islands-hint {
  display: none;
}
@media (max-width: 1150px) {
  .hero-islands {
    min-height: 450px;
  }
  .hero h1 {
    font-size: 6.8vw;
  }
  .islands-caption {
    font-size: 11px;
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 38px;
    padding-bottom: 28px;
  }
  .hero h1 {
    font-size: clamp(36px, 10.1vw, 78px);
  }
  .hero-islands {
    min-height: 0;
    aspect-ratio: 1.03;
    width: 100%;
    margin-bottom: 10px;
  }
  .islands-caption {
    bottom: -3px;
    font-size: 11px;
  }
  .islands-hint {
    display: none;
  }
}
@media (hover: none) {
  .islands-hint {
    font-size: 0;
  }
  .islands-hint:after {
    content: "Коснитесь островков";
    font-size: 11px;
  }
}

/* Project stories: one working scenario and a readable product detail. */
.case-study { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 72px; }
.study-case-top { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.study-case-top > .mono { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.study-layout { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 2fr); gap: 42px; }
.study-copy h3 { margin: 15px 0 24px; }
.study-title { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -.045em; text-align: left; font-weight: 400; }
.study-title:hover, .study-read:hover { color: var(--accent); }
.study-copy > p { font-size: 16px; line-height: 1.55; }
.study-process { display: flex; gap: 7px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 25px; font-size: 13px; color: var(--muted); }
.study-process b { color: var(--accent); font-weight: 400; }
.study-tags { font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 25px; }
.study-read { margin-top: 25px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 14px; }
.study-open { display: block; width: 100%; text-align: left; }
.study-stage { height: 440px; overflow: hidden; background: #dce1d6; display: flex; align-items: center; justify-content: center; padding: 28px; }
.study-screen { width: 100%; position: relative; overflow: hidden; background: #fff; border: 1px solid #bfc7b6; box-shadow: 0 14px 30px #24251f0d; transition: transform .3s ease; }
.study-open:hover .study-screen { transform: translateY(-4px); }
.study-screen img { display: block; width: 100%; }
.study-review { aspect-ratio: 896 / 435; }
.study-review img { position: absolute; width: 160.715%; max-width: none; left: -30.36%; top: -16.8%; }
.study-stage-map { background: #dadfcf; }
.study-map img { height: auto; }
.study-stage-casper { background: #222520; }
.study-consensus { aspect-ratio: 864 / 335; border-color: #393e32; border-radius: 4px; background: #18191c; }
.study-consensus img { position: absolute; width: 166.667%; max-width: none; left: -30.556%; top: -289.55%; }
.study-caption { display: flex; justify-content: space-between; gap: 20px; font: 11px/1.6 var(--mono); color: var(--muted); margin-top: 12px; }
.study-caption > span { max-width: 58%; }
.study-caption a { text-decoration: underline; text-underline-offset: 3px; }
.supporting-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; padding-top: 12px; }
.supporting-projects .project + .project { margin-top: 0; }
.supporting-projects .project-visual { padding: 46px 5% 0; height: 340px; }
.supporting-projects .project-caption { grid-template-columns: 35px 1fr; gap: 12px; }
.supporting-projects .project-title { font-size: 28px; }
.supporting-projects .project-tags { grid-column: 2; justify-content: flex-start; }
.study-detail-figure { margin: 32px 0; }
.dialog-article .study-detail-figure img { margin: 0; }
.dialog-article .study-detail-caption, .study-detail-figure figcaption { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 12px 0 25px; }
.study-detail-figure figcaption a, .study-detail-links a { border-bottom: 1px solid currentColor; }
.study-detail-links { display: flex; gap: 20px; margin: 25px 0; font-size: 15px; }
@media (max-width: 1000px) {
  .study-layout { grid-template-columns: minmax(240px, .85fr) minmax(0, 1.4fr); gap: 26px; }
  .study-stage { height: 350px; padding: 20px; }
  .study-case-top { flex-wrap: wrap; gap: 8px; }
  .study-caption { display: block; }
  .study-caption > span { display: block; max-width: none; margin-bottom: 5px; }
  .supporting-projects .project-visual { height: 270px; }
}
@media (max-width: 760px) {
  .case-study { margin-bottom: 55px; }
  .study-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .study-title { font-size: 34px; }
  .study-copy h3 { margin: 7px 0 20px; }
  .study-process { margin-top: 20px; }
  .study-tags { margin-top: 16px; }
  .study-stage { height: auto; min-height: 220px; padding: 15px; }
  .study-stage-map { padding: 12px; }
  .study-caption { font-size: 11px; }
  .supporting-projects { grid-template-columns: 1fr; gap: 40px; }
  .supporting-projects .project-visual { height: auto; aspect-ratio: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
  .study-screen { transition: none; }
  .study-open:hover .study-screen { transform: none; }
}

@media (max-width: 760px) {
  .study-review { aspect-ratio: 310 / 416; }
  .study-review img { width: 125.806%; left: -12.903%; top: -42.308%; }
}

/* Conceptual covers share the laboratory's graphic language. */
.study-title { display: inline-block; }
.study-read { width: fit-content; }
.case-artwork { overflow: hidden; background: #e5e7df; }
.case-artwork img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.study-open:hover .case-artwork img { transform: scale(1.025); }
.supporting-projects .project-visual { padding: 0; height: auto; aspect-ratio: 8 / 5; }
.supporting-projects .project-visual .project-cover-art { width: 100%; height: 100%; object-fit: cover; max-width: 100%; min-width: 0; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.supporting-projects .project-visual:hover .project-cover-art { transform: scale(1.025); }
.cover-photo-label { position: absolute; left: 22px; bottom: 20px; color: #fff; padding: 8px 12px; background: #24251fc9; font-size: 10px; }
@media (max-width: 760px) { .study-open .case-artwork img { aspect-ratio: 8 / 5; } }
@media (prefers-reduced-motion: reduce) { .case-artwork img,.supporting-projects .project-visual .project-cover-art { transition: none; } .study-open:hover .case-artwork img,.supporting-projects .project-visual:hover .project-cover-art { transform: none; } }

/* Team and compact links to credentials. */
.team { padding-top: 108px; padding-bottom: 100px; }
.team-layout { display: grid; grid-template-columns: minmax(260px,.9fr) minmax(0,1.65fr); gap: clamp(45px,7vw,120px); margin-top: 55px; }
.team-role { color: var(--accent); font-size: 12px; }
.team-person :is(h2,h3) { font-size: clamp(40px,4vw,60px); font-weight:400; letter-spacing:-.045em; line-height:1.05; margin:25px 0; }
.team-person>p { font-size:18px; line-height:1.6; max-width:360px; }
.team-contacts { margin-top:35px; max-width:400px; }
.team-contacts a { display:flex; justify-content:space-between; gap:15px; padding:16px 0; border-top:1px solid var(--line); font-size:14px; }
.team-contacts a:last-child { border-bottom:1px solid var(--line); }
.team-contacts a>span:first-child { color:var(--muted); }
.team-contacts a:hover { color:var(--accent); }
.team-expertise>.eyebrow { display:block; margin-bottom:20px; color:var(--muted); }
.competency { display:grid; grid-template-columns:30px 1fr; gap:22px; border-top:1px solid var(--line); padding:24px 0; }
.competency>.mono { font-size:11px; color:var(--muted); padding-top:6px; }
.competency h4 { font-weight:400; font-size:25px; letter-spacing:-.03em; margin:0 0 10px; }
.competency p { font-size:16px; line-height:1.55; max-width:610px; color:#5d6258; }
.team-credentials { margin-top:40px; }
.team-credentials>h4 { font-weight:400; font-size:22px; letter-spacing:-.03em; margin:0 0 24px; }
.credential-link { display:grid; grid-template-columns:64px minmax(0,1fr) auto 16px; align-items:center; gap:18px; padding:20px 0; border-top:1px solid var(--line); transition:color .2s; }
.credential-link:last-child { border-bottom:1px solid var(--line); }
.credential-link:hover { color:var(--accent); }
.credential-logo { display:grid; place-items:center; width:64px; height:50px; }
.credential-logo img { width:45px; height:40px; object-fit:contain; }
.credential-amd img { width:60px; }
.credential-kaspersky img { width:64px; }
.credential-name strong { display:block; font-size:17px; font-weight:400; }
.credential-name>span { display:block; margin-top:4px; font-size:13px; line-height:1.4; color:var(--muted); }
.credential-status { font:10px/1.6 var(--mono); color:var(--muted); text-align:right; max-width:105px; }
.credential-arrow { font-size:20px; }
.research-item-summary { font-size:15px; line-height:1.6; color:#b8bdb0; margin:0 0 25px; max-width:450px; }
@media(max-width:1150px){.team-layout{gap:40px}.credential-link{grid-template-columns:50px minmax(0,1fr) 16px;gap:14px}.credential-logo{width:50px;grid-row:1/3}.credential-status{grid-column:2;grid-row:2;text-align:left;max-width:none}.credential-arrow{grid-column:3;grid-row:1/3}.credential-link{row-gap:7px}.credential-kaspersky img{width:50px}.credential-amd img{width:50px}}
@media(max-width:760px){.team{padding-top:65px;padding-bottom:65px}.team-layout{grid-template-columns:1fr;gap:45px;margin-top:35px}.team-person :is(h2,h3){font-size:46px}.team-person>p{font-size:17px;max-width:none}.team-contacts{max-width:none}.team-contacts a{font-size:13px}.competency{gap:15px;grid-template-columns:20px 1fr}.competency h4{font-size:23px}.team-credentials{margin-top:30px}.credential-name strong{font-size:16px}.credential-name>span{font-size:12px}.credential-status{font-size:10px}.team .section-heading{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){.credential-link{transition:none}}

.credential-amd img, .credential-kaspersky img { width: 40px; height: 40px; }

/* Team directory lives on /team; the homepage keeps a short introduction. */
.team-teaser { display:grid; grid-template-columns:.65fr 1.25fr 1fr; gap:40px; padding-top:75px; padding-bottom:75px; align-items:start; }
.team-teaser>.eyebrow { padding-top:8px; }
.team-teaser h2 { font-size:clamp(34px,3.7vw,56px); font-weight:400; line-height:1.08; letter-spacing:-.045em; margin:0; }
.team-teaser-copy p { font-size:17px; line-height:1.6; max-width:410px; }
.team-page-link { display:flex; width:fit-content; align-items:center; gap:40px; margin-top:23px; padding-bottom:7px; border-bottom:1px solid currentColor; font-size:15px; }
.team-page-link:hover { color:var(--accent); }
.team-page-content { padding:65px var(--gutter) 100px; max-width:1600px; margin:auto; }
.team-page-head { padding-bottom:50px; border-bottom:1px solid var(--line); }
.team-page-head>.eyebrow { color:var(--muted); }
.team-page-head h1 { font-size:clamp(44px,5.5vw,78px); line-height:1.06; letter-spacing:-.05em; font-weight:400; margin:30px 0; }
.team-page-head>p { font-size:21px; line-height:1.5; max-width:700px; }
.team-page .team-layout { margin-top:60px; }
@media(max-width:760px){.team-teaser{grid-template-columns:1fr;gap:23px;padding-top:50px;padding-bottom:50px}.team-teaser h2{font-size:38px}.team-teaser-copy p{font-size:16px}.team-page-content{padding:38px 22px 60px}.team-page-head{padding-bottom:32px}.team-page-head h1{font-size:44px;margin:25px 0}.team-page-head>p{font-size:18px}.team-page .team-layout{margin-top:35px}}

.service-index{border-top:1px solid var(--line);margin-top:45px;padding-top:26px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}.service-index>.eyebrow{grid-column:1/-1;margin-bottom:18px;color:var(--muted)}.service-index>a{display:flex;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--line);font-size:17px}.service-index>a:hover{color:var(--accent)}.direct-contact{margin:25px 0 30px}.direct-contact>a{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:22px;letter-spacing:-.02em;border-bottom:1px solid currentColor;padding:0 0 10px;width:fit-content}.direct-contact>span{display:block;font:13px var(--mono);margin-top:12px}.direct-contact>p{font-size:15px!important;line-height:1.6!important;color:var(--muted);margin-top:22px;max-width:420px}.seo-breadcrumbs{display:flex;flex-wrap:wrap;gap:9px;padding:22px var(--gutter) 0;font:11px/1.6 var(--mono);color:var(--muted)}.seo-breadcrumbs a{text-decoration:underline;text-underline-offset:3px}.seo-breadcrumbs [aria-current]{max-width:700px}@media(max-width:760px){.service-index{grid-template-columns:1fr}.service-index>a{font-size:16px}.direct-contact>a{font-size:21px}.seo-breadcrumbs{padding:20px 22px 0;font-size:10px}}

.assistant-entry{display:inline-flex;align-items:center;gap:30px;border-bottom:1px solid currentColor;padding-bottom:6px;margin-top:24px;font-size:14px}.assistant-entry:hover{color:var(--accent)}
