:root {
  --page-max: 1500px;
  --page-gutter: clamp(18px, 4vw, 64px);
  --text-face: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --display-face: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}
body, button, .kicker, .amp, .hi-line, .bl-years {
  font-family: var(--text-face);
}
body { letter-spacing: 0; }
.name, .phrase, .dream b, .notice-title, .proj h3,
.about-inner .st, .bl-b h3, .bl-c .c1, .bl-d h2 {
  font-family: var(--display-face);
}
.name { font-weight: 400; font-size: min(13vw, 17vh); line-height: .91; }
.phrase { font-weight: 400; }
.kicker, .nav, .ruler button { font-weight: 650; letter-spacing: .045em; }
.work-head { width: clamp(260px, 35vw, 530px); }
.work-head h2 {
  font-family: var(--display-face);
  font-size: clamp(38px, 5.4vw, 86px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.05em;
  text-transform: none;
}
.work-head p { font-size: clamp(15px, 1.35vw, 21px); }
.track { align-items: center; gap: clamp(26px, 4.2vw, 72px); }
.proj { width: clamp(260px, 39vw, 600px); color: inherit; }
.proj .label {
  align-items: baseline;
  gap: 10px;
  font-size: clamp(12px, 1.05vw, 16px);
}
.proj .label em { text-align: right; font-weight: 500; }
.proj .cover {
  aspect-ratio: 16 / 10;
  max-height: 43svh;
  border: 1px solid #17201e55;
  background: #172420;
  border-radius: 14px;
  box-shadow: 0 12px 35px #16241a24;
}
.proj .cover img { transition: transform .5s ease; }
.proj:hover .cover img, .proj:focus-visible .cover img { transform: scale(1.04); }
.proj h3 {
  font-size: clamp(23px, 2.65vw, 40px);
  line-height: 1.04;
  text-wrap: balance;
}
.proj p { font-size: clamp(14px, 1.15vw, 18px); line-height: 1.45; }
.proj:focus-visible, .nav button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
@media (max-width: 760px) {
  .name { font-size: min(16vw, 15vh); }
  .work-head, .proj { width: min(77vw, 460px); }
  .work-head h2 { font-size: clamp(34px, 10vw, 60px); }
  .proj .cover { max-height: 37svh; }
  .proj p { font-size: 14px; }
}
@media (max-height: 550px) {
  .proj .cover { max-height: 32svh; }
  .proj h3 { font-size: clamp(20px, 2.4vw, 30px); }
}
.award-mark {
  width: 52px;
  height: 171px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 0 13px;
  color: #111;
  background: #fff;
  font: 600 13px/1 var(--text-face);
}
.award-mark b { font-size: 22px; }
.award-mark span { writing-mode: vertical-rl; transform: rotate(180deg); }

.name{font-size:min(11vw,16vh)}
.bl-years{font-size:min(9vw,16vh);text-align:center}
.proj .cover{display:grid;place-items:center;padding:1em;color:#182522;background:var(--cover)}
.proj .cover>span{font:400 clamp(28px,4.6vw,76px)/.96 var(--display-face);text-align:center;letter-spacing:-.045em}
.cover--mist{--cover:#c8dace}.cover--peach{--cover:#efbf9e}.cover--lavender{--cover:#d1c7e5}
.cover--sand{--cover:#e9daae}.cover--blue{--cover:#bee0f3}.cover--pink{--cover:#ecc6d4}
.case-view{margin:0;background:#eeefe5;color:#182522;font:clamp(16px,2vw,22px)/1.45 var(--text-face)}
.case-view main{padding-block:clamp(22px,5vw,78px)}
.case-view h1{font:400 clamp(44px,9vw,105px)/.98 var(--display-face);letter-spacing:-.05em;margin:.3em 0}
.case-view a{color:inherit;text-underline-offset:.25em}
@media(max-width:760px){.name{font-size:min(13vw,15vh)}.role-title{white-space:normal}}

/* Responsive type for the Russian copy and the pinned scenes. */
.hero-top { top: clamp(64px, 10svh, 118px); padding-inline: 14px; }
.name { font-size: clamp(24px, min(9.4vw, 16svh), 168px); }
.kicker { font-size: clamp(12px, min(1.7vw, 2.8svh), 25px); }
.phrase { font-size: clamp(12px, min(3vw, 4.4svh), 48px); }
.role { max-width: 41ch; font-size: clamp(12px, min(1.3vw, 2svh), 19px); line-height: 1.35; }
.role-title { white-space: normal; font-weight: 750; margin-bottom: .24em; }
.shirt { width: 68%; }
.hi-line {
  width: min(88vw, 1100px);
  font-size: clamp(26px, min(7.4vw, 14svh), 108px);
  line-height: .98;
  white-space: normal;
  text-align: center;
  text-wrap: balance;
}
.sys-small { font-size: clamp(18px, min(3vw, 6svh), 42px); text-align: center; }
.sys-word { font-size: clamp(38px, min(15vw, 25svh), 230px); }
.cap {
  width: min(84vw, 62ch);
  bottom: clamp(32px, 9svh, 86px);
  font-size: clamp(14px, min(1.65vw, 3.2svh), 22px);
  line-height: 1.42;
}
.bl-years { font-size: clamp(28px, min(8vw, 15svh), 122px); }
.bl-hands, .bl-b .bl-kick {
  max-width: 32ch;
  font-size: clamp(15px, min(2.35vw, 4.5svh), 36px);
  line-height: 1.15;
  text-align: center;
}
.bl-b h3, .bl-d h2, .bl-c .c1, .bl-c .c2 {
  font-size: clamp(26px, min(5vw, 9svh), 75px);
  line-height: 1.03;
  white-space: normal;
  text-wrap: balance;
}
.bl-b p, .bl-c .c3, .bl-d p {
  font-size: clamp(14px, min(1.9vw, 3.65svh), 26px);
  line-height: 1.42;
  margin-top: clamp(10px, 2.1svh, 25px);
}
.bl-c { gap: clamp(7px, 1.5svh, 18px); }
.based-text { font-size: clamp(29px, min(8vw, 15svh), 124px); text-align: center; }
.contact h2 { font-size: clamp(16px, min(4vw, 4.3svh), 46px); text-align: center; }
.about-inner .st { font-size: clamp(28px, min(6vw, 10svh), 92px); }
.about-sub { font-size: clamp(14px, min(1.65vw, 3.5svh), 22px); }
.facts dd { font-size: clamp(12px, min(1.4vw, 3.2svh), 19px); }
.work-head h2 { font-size: clamp(28px, min(5.4vw, 10svh), 86px); }
.proj .cover { max-height: 38svh; }

@media (max-width: 760px) {
  .top { gap: 8px; align-items: center; }
  .top .status { font-size: clamp(10px, 2.9vw, 12px); padding-inline: 6px; text-decoration: none; }
  .nav { gap: clamp(7px, 2vw, 16px); font-size: clamp(10px, 2.8vw, 14px); letter-spacing: 0; }
  .nav button { min-height: 40px; }
  .hero-top { top: clamp(58px, 11svh, 95px); }
  .name { font-size: clamp(30px, min(12vw, 10svh), 84px); line-height: .97; }
  .phrase { margin-top: 16px; font-size: clamp(15px, 4.25vw, 30px); }
  .shirt { width: 78%; top: 72%; }
  .role { font-size: clamp(12px, 3.1vw, 16px); line-height: 1.27; }
  .hint-m { margin-top: 7px; font-size: 10px; line-height: 1.2; }
  .hi-line { font-size: clamp(29px, min(10vw, 11svh), 65px); }
  .cap { bottom: clamp(29px, 7svh, 60px); }
  .bl-b h3, .bl-d h2, .bl-c .c1, .bl-c .c2 { font-size: clamp(24px, min(8vw, 8svh), 48px); }
  .bl-b .bl-kick { text-align: left; }
  .contact { top: -40px; }
  .links { gap: 3px 10px; font-size: clamp(11px, 3vw, 15px); }
  .about-inner .st { font-size: clamp(24px, min(8vw, 7svh), 58px); }
  .facts { gap: 5px; margin-top: 10px; padding-top: 8px; }
  .about-sub, .tools, .more { margin-top: 9px; }
  .tools span, .more { font-size: 12px; }
  .work-head, .proj { width: min(78vw, 460px); }
  .proj .cover { max-height: min(33svh, 49vw); }
  .proj h3 { font-size: clamp(21px, min(5.9vw, 5svh), 35px); }
  html.rm .track { display: grid; width: 100%; }
  html.rm .track > * { width: 100%; }
}

@media (max-width: 380px) {
  .top .status i { display: none; }
  .nav { gap: 7px; }
  .shirt { width: 83%; }
}
@media (max-height: 530px) {
  .cap { bottom: 28px; }
  .about-sub, .facts, .tools, .more { margin-top: 6px; }
  .facts { gap: 5px; padding-top: 5px; }
  .proj p, .work-head p { line-height: 1.25; }
}

/* Compact navigation over the existing animated layout. */
.mobile-menu { display: none; }
.top.has-mobile-menu .status { text-decoration: none; }
.top.has-mobile-menu .mobile-menu {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  color: inherit;
  background: #29264c;
  border: 1px solid #ffffff80;
  border-radius: 10px;
}
.mobile-menu span { width: 20px; height: 2px; background: currentColor; }
.mobile-menu[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.mobile-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.top.has-mobile-menu .nav {
  position: absolute;
  top: 100%;
  right: var(--pad);
  width: min(230px, calc(100vw - 32px));
  display: grid;
  gap: 0;
  padding: 6px;
  border-radius: 12px;
  background: #29264c;
  box-shadow: 0 12px 32px #0006;
  font-size: 15px;
}
.top.has-mobile-menu .nav[hidden] { display: none; }

.me-mirror { transform: scaleX(-1); }

.name, .work-head h2, .proj h3, .about-inner .st, .bl-b h3,
.bl-d h2, .case-view h1, .proj .cover > span { font-weight: 600; }
.nav, .nav button, .status { font-weight: 600; }

.gallery-page { margin: 0; color: #fff; background: #4c6230; font: 500 16px/1.45 var(--text-face); }
.gallery-page * { box-sizing: border-box; }

.gallery-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; }
.gallery-page a { color: inherit; }
.gallery-main { padding-bottom: clamp(36px, 7vw, 100px); }
.gallery-main h1 {
  margin: clamp(12px, 4vw, 54px) 0 clamp(20px, 4vw, 52px);
  font: 600 clamp(52px, 9vw, 132px)/.9 var(--display-face);
  letter-spacing: -.045em;
}
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 45px); }
.gallery-grid .proj { display: block; min-width: 0; width: 100%; text-decoration: none; }
.gallery-grid .cover { aspect-ratio: 16 / 10; max-height: none; width: 100%; overflow: hidden; border-radius: 14px; transition: transform .28s ease; }
.gallery-grid .proj:is(:hover,:focus-visible) .cover { transform: translateY(-4px); }
.gallery-grid .cover > span { font-size: clamp(27px, 3.5vw, 55px); }
.gallery-grid .label { display: flex; justify-content: space-between; margin-bottom: 7px; }
.gallery-grid .label em { font-style: normal; opacity: .85; }
.gallery-grid h3 { margin: 12px 0 4px; font: 600 clamp(25px, 2.55vw, 38px)/1 var(--display-face); }
.gallery-grid p { margin: 0; }
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .gallery-grid .cover > span { font-size: clamp(34px, 9vw, 56px); }
}
@media (prefers-reduced-motion: reduce) { .gallery-grid .cover { transition: none; } }

.gallery-bar.top {
  position: relative;
  z-index: 90;
  --pad: var(--page-gutter);
  align-items: center;
  flex-wrap: nowrap;
  color: #fff;
  font-size: 14px;
}
.gallery-bar .brand { display: flex; align-items: center; gap: 14px; }
.gallery-bar .brand .who { font-weight: 750; text-transform: uppercase; }
.gallery-bar a { text-decoration: none; }
.gallery-bar a:is(:hover, [aria-current='page']) { text-decoration: underline; text-underline-offset: .24em; }
.gallery-bar .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ffffff66;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.gallery-bar .status i { width: 7px; height: 7px; background: #b8e793; border-radius: 50%; }
.gallery-bar.has-mobile-menu .brand .who { display: none; }
.gallery-bar.has-mobile-menu .nav { background: #29264c; }



/* Shared dimensions for every primary navigation. */
.top { --nav-font-size: 16px; --nav-item-height: 44px; }
.top .nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font: 600 var(--nav-font-size)/1.25 var(--text-face);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.top .nav :is(a, button) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: var(--nav-item-height);
  padding: 4px 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.top.has-mobile-menu .nav { display: grid; gap: 0; }
.top.has-mobile-menu .nav[hidden] { display: none; }
.top.has-mobile-menu .nav :is(a, button) { width: 100%; padding: 8px 12px; text-align: left; }

.case-back { display: inline-block; margin-bottom: 1.1rem; font-size: 14px; font-weight: 650; }

.facts dt a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.service-view main > p { max-width: 60ch; }
.service-view .service-lead { font-weight: 700; }
.service-view .service-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #253b2c;
  color: white;
  text-decoration: none;
}
.service-view main > section { margin-top: clamp(28px, 5vw, 56px); }
.case-view h2 { font: 600 clamp(27px, 4.2vw, 48px)/1.05 var(--display-face); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.service-grid section { border: 1px solid #22372835; border-radius: 14px; padding: 16px; }
.service-grid h3 { margin: 0; font-size: 1em; }
.service-grid p { margin-bottom: 0; }
.service-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; }

.top .nav a { color: inherit; text-decoration: none; }
.top .nav a:is(:hover,:focus-visible) { text-decoration: underline; text-underline-offset: .24em; }

.service-feature { color: #fff; background: #4c6230; }
.service-feature main { padding-top: clamp(24px, 5vw, 78px); }
.service-feature h1 {
  max-width: 15ch;
  font-size: clamp(43px, 8vw, 116px);
  text-wrap: balance;
}
.service-feature .service-grid section { border-color: #ffffff66; background: #24311336; }
.service-feature .service-cta { background: #253b2c; color: #fff; }

.service-faq details {
  padding: .7em 0;
  border-bottom: 1px solid #ffffff55;
}
.service-faq summary { cursor: pointer; font-weight: 700; }
.service-faq p { max-width: 64ch; margin: .55em 0 0; }


/* Align the page content and navigation to the same outer rails. */
.top, .gallery-main, .case-view main, .about-inner {
  box-sizing: border-box;
  width: min(100%, var(--page-max));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
.top.has-mobile-menu .nav { right: var(--page-gutter); }
.case-view main > p, .case-view main > section > p { max-width: 65ch; }
