@font-face {
  font-family: Onest;
  src: url("/gallery/shared/assets/fonts/onest-variable.woff2") format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('noto-sans-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --paper: #fff;
  --ink: #201d19;
  --muted: #544f4a;
  --accent: #174caf;
  --rust: #9c3523;
  --yellow: #f5c853;
  --green: #cee0cd;
  --line: #dedfdf;
  --panel: #f3f4f4;
  --gutter: clamp(20px, 5vw, 80px);
  --section: clamp(76px, 10vw, 154px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.55 Onest, Arial, sans-serif;
}
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: white; background: var(--accent); }
.wrap { width: min(1184px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { margin-top: var(--section); }
section[id] { scroll-margin-top: 22px; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 40; top: 10px; left: 10px; padding: 10px 16px; background: white; }
.text-link { text-decoration: underline; text-underline-offset: .3em; font-weight: 550; }
.text-link:hover { color: var(--accent); }
.button, .nav-contact {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 9px 15px;
  border: 1px solid currentColor;
  font-weight: 550;
}
.button:hover, .nav-contact:hover { color: white; border-color: var(--accent); background: var(--accent); }

/* The existing controls share the page's type and rectangular forms. */
.header { position: relative; z-index: 5; }
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  min-height: 83px;
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-block; justify-self: start; width: fit-content; }
.logo img { width: 112px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 36px); }
.desktop-nav > a, .services-toggle, [data-services-fallback], .language-switch button,
.menu-toggle, .nav-contact { font-size: .875rem; }
.desktop-nav > a, [data-services-fallback], .services-toggle { font-weight: 550; white-space: nowrap; }
.desktop-nav > a:hover, [data-services-fallback]:hover, .services-toggle:hover,
.services-toggle[aria-expanded="true"], .services-close:hover { color: var(--accent); }
.services-toggle, .services-close, .language-switch button, .menu-toggle {
  background: none;
  border: 0;
  color: inherit;
}
.services-toggle, .language-switch button, .menu-toggle { min-height: 44px; }
.services-toggle { padding: 0; }
.services-toggle[aria-expanded="true"] { text-decoration: underline 2px; text-underline-offset: .42em; }
.nav-contact { justify-self: end; white-space: nowrap; min-height: 40px; }
.language-switch { display: flex; gap: 8px; align-items: center; }
.language-switch button { padding-inline: 3px; color: var(--muted); }
.language-switch button[aria-pressed="true"] { color: var(--ink); text-decoration: underline var(--accent) 2px; text-underline-offset: .35em; }
.gallery-route-languages a { padding-inline: 3px; color: var(--muted); font-size: .875rem; line-height: 44px; }
.gallery-route-languages a:is(:hover,[aria-current]) { color: var(--ink); text-decoration: underline var(--accent) 2px; text-underline-offset: .35em; }
.gallery-landing .gallery-route-languages { margin-inline-start: auto; }
.menu-toggle, .mobile-nav { display: none; }
.services-panel {
  position: absolute;
  inset: 100% 0 auto;
  max-height: calc(100svh - 83px);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 27px #201d1917;
}
.services-panel-inner { padding-block: clamp(13px, 2.3vw, 28px); }
.services-panel-top, .services-panel-bottom, .services-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}
.services-panel-top { padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.services-panel-top > span {
  display: inline-block;
  padding: 3px 8px;
  background: var(--ink);
  color: white;
  font-size: .875rem;
  font-weight: 660;
  rotate: -2deg;
}
.services-close { min-height: 44px; padding: 6px 9px; font-size: .875rem; }
.services-close:hover { text-decoration: underline; text-underline-offset: .25em; }
.services-close span, .services-toggle svg, .services-link-arrow,
.services-all > span[aria-hidden=true], .services-help a > span[aria-hidden=true] { display: none; }
.services-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 53px);
  margin: clamp(17px, 2.75vw, 36px) 0 clamp(12px, 2.4vw, 30px);
}
.services-group { --menu-spot: #f5c853; }
.services-group:nth-child(2) { --menu-spot: #cee0cd; }
.services-group:nth-child(3) { --menu-spot: #edcabc; }
.services-group h2 {
  color: var(--accent);
  font: 700 clamp(1.18rem, 2.06vw, 1.63rem)/1.12 'Noto Sans', Onest, Arial, sans-serif;
  letter-spacing: -.035em;
}
.services-group h2 > span { display: none; }
.services-group ul { padding: 0; margin: 13px 0 0; list-style: none; }
.services-group li { border-top: 1px solid var(--line); }
.services-group a {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 7px 4px;
}
.services-group a::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 22px;
  aspect-ratio: 1;
  border-radius: 50%;
  inset: 43% auto auto 24px;
  background: var(--menu-spot);
}
.services-menu-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px #201d1924);
}
.services-link-copy { display: grid; gap: 3px; min-width: 0; }
.services-link-copy > strong { font-weight: 670; line-height: 1.2; }
.services-link-copy > span { color: var(--muted); font-size: .875rem; line-height: 1.29; }
.services-group a:is(:hover,[aria-current="page"]) > .services-link-copy > strong {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .19em;
}
.services-group a:focus-visible { outline-offset: -2px; }
.services-panel a:hover { color: var(--accent); }
.services-panel-bottom { border-top: 1px solid var(--line); padding-top: 13px; }
.services-all { color: var(--ink); text-decoration: underline; text-underline-offset: .26em; font-weight: 670; }
.services-help { color: var(--muted); font-size: .875rem; }
.services-help a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 12px;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 675;
}
.services-help a:hover { color: white; background: var(--accent); }

.footer { padding: clamp(28px, 4vw, 58px) 0 24px; border-top: 1px solid var(--line); background: #fff; }
.footer-main { display: grid; grid-template-columns: 1.15fr .75fr 1fr; gap: 28px; }
.footer .logo img { width: 118px; }
.footer-slogan { margin-top: 12px; color: var(--accent); font: 700 clamp(1.25rem, 2.4vw, 2.2rem)/1.13 'Noto Sans', Arial, sans-serif; letter-spacing: -.03em; }
.social-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.social-links a { display: grid; place-items: center; min-width: 42px; min-height: 42px; font-weight: 650; background: #dce6ff; }
.social-links a:nth-child(2) { background: var(--green); rotate: -4deg; }
.social-links a:nth-child(3) { background: #f7dfd4; }
.footer-col { display: grid; justify-items: start; align-content: start; gap: 7px; }
.footer-col > span { font-weight: 650; margin-bottom: 6px; }
.footer-col > a, .footer-col > p, .footer-bottom { color: var(--muted); }
.footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .22em; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 34px; font-size: .875rem; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 5px 20px; }

.gallery-page .request-dialog :focus-visible { outline-color: var(--accent); }
.gallery-page .request-intro { background: var(--ink); color: white; }
.gallery-page .request-intro > p, .gallery-page .request-direct a { color: #e7e1dc; }
.gallery-page .request-intro .eyebrow, .gallery-page .request-context,
.gallery-page .request-direct a:hover { color: #cedcff; }
.gallery-page .request-context { border-color: #ffffff45; }
.gallery-page .request-intro :focus-visible { outline-color: #cedcff; }
.gallery-page .request-form input, .gallery-page .request-form select,
.gallery-page .request-form textarea, .gallery-page .request-submit { font-family: Onest, Arial, sans-serif; }
.gallery-page .request-form label > span { color: var(--accent); }
.gallery-page .request-submit { background: var(--accent); }
.gallery-page .request-submit:hover { background: #103787; }
.gallery-page .request-close:hover { color: var(--accent); }

@media (max-width: 960px) {
  .nav { grid-template-columns: 1fr auto auto; gap: 20px; min-height: 70px; }
  .desktop-nav, .nav-contact { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; padding: 7px 10px; border: 1px solid var(--line); }
  .mobile-nav:not([hidden]) {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    gap: 0;
    padding: 12px min(4vw, 30px) 19px;
    max-height: calc(100svh - 78px);
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 14px 26px #1a19181a;
  }
  .mobile-nav > a, .mobile-nav > div > a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav .services-toggle { width: 100%; text-align: start; }
  .mobile-nav .services-panel { position: static; box-shadow: none; overflow: visible; max-height: none; }
  .mobile-nav .services-panel-inner { width: 100%; padding-block: 4px 14px; }
  .mobile-nav .services-panel-top { display: flex; padding-bottom: 2px; }
  .mobile-nav .services-panel-top > span { margin-left: 2px; font-size: 0; }
  .mobile-nav .services-count { font-size: .875rem; }
  .mobile-nav .services-columns { grid-template-columns: minmax(0, 1fr); gap: 17px; margin-top: 14px; }
  .mobile-nav .services-group ul { margin-top: 8px; }
  .mobile-nav .services-group a { grid-template-columns: 45px minmax(0, 1fr); min-height: 59px; }
  .mobile-nav .services-menu-icon { width: 42px; height: 42px; }
  .mobile-nav .services-group a::before { inset-inline-start: 20px; width: 20px; }
  .mobile-nav .services-panel-bottom { flex-wrap: wrap; align-items: center; }
  .mobile-nav .services-help > span { display: none; }
}

/* Three loose columns surround the layered artwork on the cover. */
.gallery-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(185px, .86fr) minmax(0, 2fr) minmax(170px, .72fr);
  align-items: center;
  column-gap: clamp(12px, 2vw, 29px);
  min-height: clamp(500px, 56vw, 714px);
  border-bottom: 1px solid var(--line);
}
.gallery-intro {
  position: relative;
  z-index: 1;
  container-type: inline-size;
  padding-block: 24px;
}
.hero-studio {
  display: inline-block;
  max-width: 18ch;
  padding-top: 10px;
  border-top: 3px solid var(--ink);
  color: var(--muted);
  font-size: .875rem;
  font-weight: 580;
  letter-spacing: -.015em;
}
.gallery-intro h1 {
  margin-block: 28px 15px;
  font-family: 'Noto Sans', Arial, sans-serif;
  font-size: clamp(2rem, 23cqi, 3.75rem);
  font-weight: 550;
  letter-spacing: -.025em;
  line-height: 1.13;
}
.gallery-intro h1 span, .gallery-intro h1 strong { display: block; }
.gallery-intro h1 strong {
  margin-top: .08em;
  font-size: clamp(1.1rem, 13.25cqi, 2.5rem);
  font-weight: 700;
}
.hero-description { max-width: 24ch; color: var(--muted); }
.hero-cta {
  display: inline-flex;
  align-items: center;
  min-height: 45px;
  margin-top: 21px;
  padding: 8px 14px;
  background: var(--yellow);
  font-weight: 650;
  white-space: nowrap;
}
.hero-cta:hover { color: white; background: var(--accent); }
.gallery-art {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  display: grid;
  place-items: end center;
  min-width: 0;
}
.gallery-four {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 8%;
  color: var(--accent);
  font-size: clamp(15.5rem, 34.2vw, 33rem);
  font-weight: 850;
  line-height: .96;
  letter-spacing: -.09em;
  transform: rotate(-12deg);
  transform-origin: 55% 42%;
}
.gallery-dot {
  position: absolute;
  z-index: -2;
  top: 17%;
  right: 14%;
  width: clamp(23px, 4vw, 59px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
}
.gallery-object {
  position: absolute;
  z-index: -1;
  inset: auto 0 1% 13%;
  width: 87%;
  height: 83%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 14px #5f422b24);
}
.gallery-letters {
  position: absolute;
  top: 48%;
  left: 6%;
  display: flex;
  align-items: center;
  transform: rotate(-8deg);
}
.gallery-letters span {
  display: grid;
  place-items: center;
  width: 1.2em;
  height: 1.17em;
  background: var(--ink);
  color: white;
  font-size: clamp(1.6rem, 4.2vw, 4rem);
  font-weight: 780;
  line-height: 1;
  box-shadow: 2px 3px #30231828;
}
.gallery-letters span:nth-child(2) {
  translate: 0 .11em;
  rotate: 9deg;
  background: var(--yellow);
  color: var(--ink);
}
.gallery-letters span:nth-child(3) { translate: 0 -.04em; rotate: -5deg; }
.gallery-aside {
  align-self: end;
  display: grid;
  justify-items: start;
  gap: clamp(34px, 7vw, 100px);
  padding: 28px 0 clamp(28px, 4.5vw, 75px);
}
.gallery-aside nav { display: grid; gap: 13px; }
.gallery-aside nav a {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: .9375rem;
  font-weight: 550;
  line-height: 1.25;
}
.gallery-aside nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.collage-label {
  display: inline-block;
  width: fit-content;
  padding: 4px 6px;
  font-size: .9375rem;
  font-weight: 760;
}
.collage-web { background: var(--ink); color: white; rotate: -5deg; }
.collage-seo { background: var(--accent); color: white; rotate: 4deg; }
.collage-ads { background: var(--green); color: #214c37; rotate: -3deg; }
.hero-location { display: grid; gap: 3px; color: var(--muted); font-size: .875rem; }

/* Gallery sections */
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, .36fr);
  align-items: end;
  gap: 15px clamp(18px, 4vw, 60px);
  margin-bottom: clamp(26px, 4vw, 56px);
}
.section-heading h2, .welcome h2, .about-copy h2,
.approach-panel h2, .contact-banner h2 {
  font-family: 'Noto Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.65vw, 3.25rem);
  letter-spacing: -.036em;
  line-height: 1.1;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.section-heading p { max-width: 31ch; color: var(--muted); }
.section-heading > .pill { grid-column: 2; grid-row: 1; }
.pill {
  display: inline-block;
  width: fit-content;
  padding: .27em .53em;
  background: var(--ink);
  color: #fff;
  font-size: .9rem;
  font-weight: 650;
  rotate: -3deg;
}
.section-heading h2 em, .about-copy h2 em { font-style: normal; color: var(--rust); }
/* Two case studies per spread and alternating image placement for services. */
.work { margin-top: clamp(42px, 5.5vw, 74px); }
.gallery-services { margin-top: clamp(54px, 8vw, 108px); }
.work-heading, .gallery-services .section-heading {
  align-items: center;
  margin-bottom: clamp(17px, 2.8vw, 33px);
}
.work-heading h2 { color: var(--accent); }

.case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4.5vw, 62px);
}
.gallery-project { min-width: 0; }
.exhibit-row {
  --exhibit-accent: #174caf;
  --sticker-color: #fff;
  --sticker-paper: var(--ink);
  --index-side: 10%;
  --object-side: 3%;
  --sticker-side: 8%;
  --tilt: -10deg;
  display: grid;
  align-content: center;
  min-width: 0;
  padding-block: clamp(13px, 2vw, 25px);
  border-top: 1px solid var(--line);
}
.project-link {
  height: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  grid-template-areas: "copy art" "details art";
  grid-template-rows: 1fr 1fr;
  column-gap: clamp(8px, 1.6vw, 19px);
}
.service-card {
  --index-side: 20%;
  --object-side: 17%;
  --sticker-side: 20%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "art copy" "art details";
  grid-template-rows: 1fr 1fr;
  column-gap: clamp(25px, 6vw, 95px);
}
.service-card:nth-child(even) { grid-template-areas: "copy art" "details art"; }
.service-card:nth-child(even) .exhibit-copy,
.service-card:nth-child(even) .exhibit-details { margin-inline-start: clamp(0px, 2.1vw, 30px); }

.project-gorgeous-clinic .exhibit-row { --exhibit-accent: #aa422f; --sticker-paper: #603326; }
.project-torgovyy-dizayn .exhibit-row, .service-shop {
  --exhibit-accent: #91510f;
  --sticker-color: #201d19;
  --sticker-paper: #f5c853;
  --tilt: 8deg;
}
.project-viled .exhibit-row, .service-seo { --exhibit-accent: #286044; --sticker-paper: #27553b; }
.project-mastbro .exhibit-row { --sticker-color: #201d19; --sticker-paper: #f5c853; --tilt: 7deg; }
.service-ads { --exhibit-accent: #a13929; --sticker-paper: #653328; --tilt: 6deg; }
.exhibit-copy { grid-area: copy; align-self: end; min-width: 0; }
.exhibit-copy h3 {
  margin-bottom: 6px;
  font: 700 clamp(1.25rem, 2.15vw, 1.78rem)/1.14 'Noto Sans', Arial, sans-serif;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}
.exhibit-copy p { max-width: 39ch; color: var(--muted); }
.exhibit-art {
  grid-area: art;
  align-self: center;
  min-width: 0;
  position: relative;
  isolation: isolate;
  height: clamp(179px, 22vw, 262px);
}
.service-card .exhibit-art { height: clamp(185px, 24vw, 292px); }
.exhibit-index {
  position: absolute;
  top: 7%;
  left: var(--index-side);
  z-index: -1;
  color: var(--exhibit-accent);
  font: 820 clamp(3.6rem, 8vw, 7.7rem)/.86 Onest, Arial, sans-serif;
  letter-spacing: -.093em;
  rotate: var(--tilt);
}
.service-card .exhibit-index { font-size: clamp(4.15rem, 11.4vw, 9.6rem); }
.exhibit-object {
  position: absolute;
  right: var(--object-side);
  top: 1%;
  width: 81%;
  height: 98%;
  object-fit: contain;
  object-position: right center;
  filter: drop-shadow(0 8px 8px #453a291d);
  transition: translate .22s ease;
}
.service-card .exhibit-object { width: 69%; }
.exhibit-row:hover .exhibit-object { translate: 0 -4px; }
.exhibit-sticker {
  position: absolute;
  z-index: 1;
  left: var(--sticker-side);
  bottom: 12%;
  padding: .12em .25em .16em;
  background: var(--sticker-paper);
  color: var(--sticker-color);
  font-size: clamp(.95rem, 2vw, 1.72rem);
  line-height: 1;
  font-weight: 790;
  letter-spacing: -.033em;
  rotate: var(--tilt);
  box-shadow: 2px 3px #201d1921;
}
.service-card .exhibit-sticker { font-size: clamp(1.05rem, 2.6vw, 2.2rem); }
.exhibit-details { grid-area: details; align-self: start; justify-self: start; min-width: 0; margin-top: 8px; }
.project-meta { color: var(--muted); font-size: .875rem; font-weight: 550; }
.exhibit-read { display: inline-block; margin-top: 4px; font-weight: 620; text-decoration: underline; text-underline-offset: .22em; }
.exhibit-row:hover .exhibit-read, .exhibit-row:hover h3 { color: var(--exhibit-accent); }
.portfolio-end, .service-footer { border-top: 1px solid var(--line); padding-top: 16px; }
.portfolio-end { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.portfolio-end p { color: var(--muted); }
.portfolio-end .button { white-space: nowrap; }

@media (max-width: 880px) {
  .project-link { grid-template-rows: auto auto; row-gap: 1px; }
  .exhibit-row { --index-side: 5%; --object-side: 0%; --sticker-side: 6%; }
  .service-card { --index-side: 10%; --object-side: 7%; --sticker-side: 10%; }
}
@media (max-width: 690px) {
  .case-list { grid-template-columns: minmax(0, 1fr); }
  .project-link { grid-template-columns: minmax(0, 1fr) minmax(0, .97fr); }
  .exhibit-copy p { font-size: .9375rem; }
  .exhibit-row { column-gap: 12px; }
  .service-card:nth-child(even) .exhibit-copy,
  .service-card:nth-child(even) .exhibit-details { margin-inline-start: 0; }
  .exhibit-art, .service-card .exhibit-art { height: clamp(136px, 37vw, 220px); }
  .exhibit-index, .service-card .exhibit-index { font-size: clamp(3.25rem, 14vw, 6rem); }
  .exhibit-sticker, .service-card .exhibit-sticker { bottom: 10%; font-size: clamp(.95rem, 4vw, 1.48rem); }
  .service-card .exhibit-object { width: 86%; }
  .exhibit-read { font-size: .875rem; }
}

/* Open compositions tie the rest of the page to the cover. */
.welcome {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, .49fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px clamp(18px, 6vw, 90px);
  border-block: 1px solid var(--line);
  padding-block: clamp(24px, 4vw, 55px);
}
.welcome-left { display: grid; justify-items: start; gap: clamp(10px, 1.7vw, 20px); }
.welcome-mark { width: clamp(113px, 16vw, 224px); height: auto; grid-row: 2; }
.location-chip { width: fit-content; color: var(--muted); }
.location-chip:hover { color: var(--accent); }
.location-chip small { display: block; font-size: .875rem; }
.welcome h2 { font-size: clamp(1.8rem, 4.2vw, 3.85rem); text-wrap: initial; }
.welcome h2 span { color: var(--accent); }

.studio { margin-top: clamp(40px, 6.3vw, 88px); }
.about-grid, .approach-grid, .contact-banner, .process-layout, .journal-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(18px, 5vw, 70px);
}
.section-object, .studio-art, .approach-photo { position: relative; isolation: isolate; }
.section-object { min-height: clamp(230px, 34vw, 427px); }
.section-object::before, .studio-art::before, .approach-photo::before {
  content: '';
  position: absolute;
  z-index: -2;
  background: var(--object-accent, var(--yellow));
  border-radius: 50%;
  width: clamp(46px, 8.6vw, 124px);
  aspect-ratio: 1;
  top: 14%;
  left: 13%;
}
.section-object > img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 9px #30221525);
}
.studio-art { display: grid; align-items: end; min-height: clamp(270px, 35vw, 470px); }
.studio-art::before { top: 13%; left: auto; right: 12%; }
.studio-object { position: absolute; z-index: -1; width: 89%; height: 100%; right: 4%; top: 0; object-fit: contain; filter: drop-shadow(0 12px 10px #282e4d20); }
.about-image { width: 38%; aspect-ratio: 1.4; object-fit: cover; height: auto; rotate: -7deg; clip-path: polygon(2% 4%, 100% 0, 99% 93%, 0 100%); }
.about-copy h2 { margin-top: 15px; text-wrap: initial; }
.about-copy > p { max-width: 51ch; margin-top: 14px; color: var(--muted); }
.about-bottom { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 13px 18px; margin-top: 21px; }
.about-bottom img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: contain; filter: drop-shadow(0 5px 5px #30221520); }
.about-bottom .text-link { grid-column: 1 / -1; justify-self: start; }
.round-badge { width: fit-content; padding: 5px 9px 8px; background: var(--yellow); rotate: 5deg; }
.round-badge strong, .round-badge span { display: block; }
.round-badge strong { font-size: clamp(1.2rem, 2.25vw, 1.95rem); font-weight: 690; line-height: 1.1; }
.round-badge span { font-size: .875rem; color: #42351b; }

.gallery-numbers > .wrap, .journal > .wrap { border-top: 1px solid var(--line); padding-top: clamp(22px, 3.5vw, 45px); }
.stats-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 12px clamp(20px, 4vw, 58px); }
.stat-card { min-width: 0; --stat-color: #285839; }
.stat-card:nth-child(2) { --stat-color: #983c24; }
.stat-card-accent { --stat-color: var(--accent); }
.stat-card > div { display: flex; flex-direction: column; height: 100%; gap: 7px; border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.stat-value {
  order: -1;
  width: fit-content;
  margin-block: 7px;
  color: var(--stat-color);
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 820;
  line-height: .92;
  letter-spacing: -.095em;
  rotate: -6deg;
  white-space: nowrap;
}
.stat-card:nth-child(2) .stat-value { rotate: 4deg; }
.stat-value small { font-size: .35em; letter-spacing: -.02em; }
.stat-label { font-size: 1rem; font-weight: 650; }
.stat-card p { max-width: 33ch; color: var(--muted); }

.process-layout { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.process-object { --object-accent: #f5c853; }
.process-object::before { top: 12%; left: auto; right: 14%; }
.process-grid { display: grid; border-bottom: 1px solid var(--line); }
.process-step {
  --cut-ink: var(--accent);
  display: grid;
  grid-template-columns: minmax(54px, .18fr) minmax(0, 1fr);
  gap: 4px 17px;
  padding-block: clamp(11px, 2vw, 25px);
  border-top: 1px solid var(--line);
}
.process-step:nth-child(2) { --cut-ink: #983c24; }
.process-step:nth-child(3) { --cut-ink: #315c40; }
.step-no { grid-row: 1 / 3; align-self: start; justify-self: start; color: var(--cut-ink); font-size: clamp(1.95rem, 4.3vw, 3.75rem); font-weight: 800; letter-spacing: -.085em; line-height: .95; rotate: -7deg; }
.process-step h3 { grid-column: 2; font: 700 clamp(1.15rem, 2vw, 1.55rem)/1.15 'Noto Sans', Arial, sans-serif; letter-spacing: -.025em; }
.process-step p { grid-column: 2; color: var(--muted); }

.approach-photo { --object-accent: #f3c5a9; padding: 0 3% 2% 0; }
.approach-photo::before { width: 23%; top: 10%; left: 14%; }
.approach-photo img { width: 100%; height: auto; aspect-ratio: 1.33; object-fit: contain; filter: drop-shadow(0 9px 8px #30221522); }
.approach-panel { display: grid; justify-items: start; gap: 13px; }
.approach-panel h2 { color: var(--accent); }
.approach-panel p { max-width: 47ch; color: var(--muted); }

.journal-layout { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.journal-grid { display: grid; border-bottom: 1px solid var(--line); }
.journal-object { --object-accent: #dce9d8; }
.journal-object::before { left: auto; right: 11%; top: 12%; }
.article-card {
  display: grid;
  grid-template-columns: minmax(110px, .41fr) minmax(0, 1fr);
  align-items: center;
  gap: 6px clamp(10px, 2.3vw, 25px);
  min-width: 0;
  border-top: 1px solid var(--line);
  padding: clamp(12px, 2.3vw, 25px) 0;
}
.article-card h3 { font: 700 clamp(1.13rem, 2.05vw, 1.55rem)/1.17 'Noto Sans', Arial, sans-serif; letter-spacing: -.024em; }
.article-card:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.article-category { width: fit-content; color: #fff; background: var(--accent); padding: 3px 6px; rotate: -3deg; font-size: .875rem; }
.article-card:nth-child(2) .article-category { background: var(--rust); rotate: 3deg; }
.article-card:nth-child(3) .article-category { background: #315c40; }

.contact-section { margin-bottom: var(--section); border-top: 1px solid var(--line); padding-top: clamp(24px, 4vw, 53px); }
.contact-banner { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
.contact-object { --object-accent: #f5c853; }
.contact-object::before { left: auto; right: 9%; top: 9%; }
.contact-object .contact-sculpture { width: 91%; left: 8%; }
.contact-object > img:last-child {
  position: absolute;
  bottom: 4%;
  left: 2%;
  width: 32%;
  height: auto;
  aspect-ratio: 1.35;
  object-fit: cover;
  rotate: -8deg;
  clip-path: polygon(0 2%, 99% 0, 100% 97%, 3% 100%);
}
.contact-banner-main { display: flex; flex-direction: column-reverse; align-items: start; gap: clamp(16px, 2.9vw, 33px); }
.contact-note { max-width: 42ch; padding-left: 12px; border-left: 3px solid var(--accent); color: var(--muted); }
.contact-note > span { font-size: .875rem; }
.contact-note strong { display: block; color: var(--ink); font-size: clamp(1.4rem, 2.1vw, 1.85rem); line-height: 1.15; margin-bottom: 4px; }
.contact-banner h2 { text-wrap: initial; }
.contact-banner .button { margin-top: 16px; border-color: var(--yellow); background: var(--yellow); }
.contact-banner .button:hover { background: var(--accent); border-color: var(--accent); }

@media (max-width: 690px) {
  .section-heading, .about-grid, .approach-grid, .contact-banner, .process-layout, .journal-layout { grid-template-columns: minmax(0, 1fr); }
  .section-heading { gap: 12px; }
  .section-heading > .pill { grid-column: 1; }
  .section-heading p { max-width: 42ch; }
  .section-heading p br { display: none; }
  .welcome { grid-template-columns: minmax(0, 1fr); }
  .welcome-left { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 11px 15px; }
  .welcome-left .pill { grid-column: 1 / -1; }
  .welcome-mark { grid-row: 2; grid-column: 1; width: min(30vw, 126px); }
  .welcome-left .location-chip { grid-row: 2; grid-column: 2; }
  .portfolio-end { align-items: start; flex-direction: column; }
  .section-object, .studio-art { min-height: clamp(198px, 60vw, 330px); }
  .stats-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .stat-value { font-size: clamp(3rem, 17vw, 5.3rem); }
  .journal-object { grid-row: 1; }
  .about-image, .contact-object > img:last-child { width: 30%; }
}

@media (max-width: 960px) {
  .gallery-hero { grid-template-columns: minmax(148px, .85fr) minmax(0, 1.7fr) minmax(128px, .68fr); gap: 12px; min-height: 520px; }
  .gallery-four { font-size: clamp(14rem, 33vw, 21rem); top: 9%; }
  .gallery-aside nav a { grid-template-columns: 44px minmax(0, 1fr); gap: 7px; }
  .gallery-aside { gap: 33px; }
}
@media (max-width: 720px) {
  .gallery-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); min-height: auto; align-items: center; padding: 14px 0 22px; }
  .gallery-intro { padding: 0; }
  .gallery-intro h1 { margin-block: 16px 11px; }
  .gallery-art { min-height: 440px; }
  .gallery-four { top: 6%; left: 4%; font-size: clamp(12rem, 43vw, 19rem); }
  .gallery-object { inset: auto -1% 0 5%; width: 96%; }
  .gallery-letters { top: 47%; left: 0; }
  .gallery-letters span { font-size: clamp(1.6rem, 5vw, 2.75rem); }
  .gallery-aside { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; padding: 0; }
  .gallery-aside nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .gallery-aside nav a { grid-template-columns: 1fr; gap: 5px; align-content: start; }
  .hero-location { text-align: right; }
}
@media (max-width: 520px) {
  :root { --section: 76px; }
  .nav { gap: 13px; }
  .logo img { width: 98px; }
  .gallery-hero { grid-template-columns: minmax(0, 1fr); row-gap: 12px; padding-top: 22px; }
  .hero-studio { max-width: none; padding-top: 6px; border-width: 2px; }
  .gallery-intro h1 { font-size: clamp(2rem, 10vw, 3rem); margin-block: 14px 7px; }
  .gallery-intro h1 strong { font-size: clamp(1.45rem, 8.25vw, 2.4rem); }
  .hero-description { max-width: 37ch; }
  .hero-cta { margin-top: 13px; }
  .gallery-art { width: min(100%, 370px); justify-self: center; min-height: 0; aspect-ratio: .98; }
  .gallery-four { top: 3%; left: 12%; font-size: clamp(11.25rem, 56vw, 17.5rem); }
  .gallery-object { width: 91%; inset-inline: auto 0; }
  .gallery-dot { top: 11%; right: 17%; }
  .gallery-letters { left: 10%; }
  .gallery-aside { grid-template-columns: 1fr; gap: 10px; }
  .gallery-aside nav { gap: 6px; }
  .hero-location { text-align: left; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 13px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col a { overflow-wrap: anywhere; }
}
@media (max-width: 700px) {
  .gallery-page .request-direct { display: grid; padding-top: 18px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .exhibit-object, .request-dialog, .request-submit, .request-close { animation: none !important; transition: none !important; }
}
