:root {
  --header-height: 88px;
  --header-fixed-top-offset: 0px;
  --site-wide: 1440px;
  --site-narrow: 960px;
  --site-gutter: clamp(20px, 4vw, 80px);
  --site-section-edge: clamp(24px, 3.75vw, 48px);
  --action-gold: #f3ac03;
  --action-gold-hover: #e09f03;
  --action-gold-active: #c98e03;
  --action-text: #8a5a00;
  --action-text-active: #6f4700;
  --focus-ring: #8a5a00;
  --visited-text: #5f4770;
  --surface-hover: #e4e4e7;
  --surface-active: #d4d4d8;
  --interaction-fast: 160ms;
}
.shum-empty-archive{min-height:45vh;padding:130px 6vw 70px}.shum-empty-archive a{text-decoration:underline}
html{scroll-behavior:smooth;scroll-padding-top:92px}body{margin:0}
.shum-site-header {
  min-height: 88px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding-block: 24px;
  padding-inline: max(var(--site-gutter), calc((100% - var(--site-wide)) / 2));
  background: #fafafa;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: #111;
  font: 16px Manrope,sans-serif;
  transition: transform .2s ease;
}
.shum-site-header.nav-hidden{transform:translateY(-100%)}
.shum-site-header a{text-decoration:none;color:inherit}
.shum-wordmark{font:bold 28px 'Nunito Sans',sans-serif;letter-spacing:2px;white-space:nowrap}
.shum-wordmark img{display:block;width:110px;height:auto}
body[data-page="/"] .sqsrte-text-highlight {
  position: relative;
  text-decoration: none !important;
  display: inline-block;
  white-space: nowrap;
}
.shum-highlight-scribble {
  position: absolute;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}
.shum-highlight-scribble path {
  fill: none;
  stroke: #f3ac03;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1.01;
}
.shum-highlight-scribble.is-drawing path {
  animation: shum-draw-scribble 2s cubic-bezier(.333333, .666667, .666667, 1) both;
}
@keyframes shum-draw-scribble {
  from { stroke-dashoffset: 1.01; }
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .shum-highlight-scribble path {
    animation: none !important;
    stroke-dashoffset: 0;
  }
}
#shum-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  white-space: nowrap;
}
@media (min-width: 768px) {
  #shum-nav {
    position: static;
    transform: none;
    margin-left: auto;
  }
}
#shum-nav a{text-decoration:none;color:inherit;transition:opacity .2s ease,border-color .2s ease}
#shum-nav a[aria-current=page]{border-bottom:1px solid;padding-bottom:3px}#shum-nav a:hover{opacity:.6}
.shum-menu-toggle{display:none}.shum-skip{position:fixed;top:-100px;left:12px;z-index:10000;background:#fff;padding:12px}.shum-skip:focus{top:12px}
.shum-native-video{display:block;width:100%;height:auto;max-height:90vh;background:#000;aspect-ratio:16/9}
img{max-width:100%}.sqs-image-shape-container-element img{opacity:1!important}
.blog-side-by-side .blog-item,
.blog-alternating-side-by-side .blog-item,
.collection-type-blog-basic-grid .blog-item {
  opacity: 1 !important;
  transform: none !important;
}
.fluid-image-component-root {
  width: 100%;
  height: 100%;
  min-height: 180px;
  position: relative;
}
.fluid-image-animation-wrapper,
.fluid-image-container,
.fluid-image-container .js-content-mode-element-wrapper,
.fluid-image-container .content-fit,
.fluid-image-container .content-fill,
.fluid-image-container .sqs-block-image-button,
.fluid-image-animation-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sqsrte-text-highlight{position:relative;text-decoration:none !important;}
.shum-contact-form{font:16px/1.5 Manrope,sans-serif;color:inherit;width:100%;box-sizing:border-box;padding:4px 0}
.shum-form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.shum-contact-form label{display:block;margin:0 0 18px}
.shum-contact-form input:not([type=checkbox]):not([type=radio]),.shum-contact-form textarea,.shum-contact-form select{width:100%;box-sizing:border-box;display:block;margin-top:7px;padding:12px 15px;border:1px solid #777;border-radius:5px;background:transparent;color:inherit;font:inherit}
.shum-contact-form textarea{resize:vertical}.shum-contact-form select option{color:#111;background:#fff}
.shum-required{color:#f3ac03;margin-left:2px;font-weight:700}
.shum-label-head{display:inline-flex;align-items:center;gap:6px;position:relative}
.shum-tooltip-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;outline:none;cursor:help;vertical-align:middle}
.shum-tooltip-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;border:1px solid #777;font-size:11px;line-height:1;font-weight:600;color:#aaa;transition:color .2s ease,border-color .2s ease}
.shum-tooltip-wrap:hover .shum-tooltip-icon,.shum-tooltip-wrap:focus-visible .shum-tooltip-icon{color:#f3ac03;border-color:#f3ac03}
.shum-tooltip-box{box-sizing:border-box;visibility:hidden;opacity:0;position:absolute;bottom:calc(100% + 8px);right:-8px;width:min(280px,80vw);background:#1c1c1e;color:#f5f5f7;border:1px solid rgba(243,172,3,.4);border-radius:8px;padding:10px 14px;font-size:13px;line-height:1.45;font-weight:400;box-shadow:0 10px 30px rgba(0,0,0,.5);z-index:100;pointer-events:none;transition:opacity .2s ease,visibility .2s ease;white-space:normal}
.shum-tooltip-box::after{content:"";position:absolute;top:100%;right:12px;border-width:6px;border-style:solid;border-color:#1c1c1e transparent transparent transparent}
.shum-tooltip-wrap:hover .shum-tooltip-box,.shum-tooltip-wrap:focus-visible .shum-tooltip-box,.shum-tooltip-wrap:focus .shum-tooltip-box{visibility:visible;opacity:1}
.shum-form-group{border:0;padding:0;margin:0 0 18px}
.shum-form-legend{font:inherit;font-weight:500;margin-bottom:10px;display:block;color:inherit}
.shum-radio-group{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 16px}
@media(max-width:600px){.shum-radio-group{grid-template-columns:1fr;gap:8px}}
.shum-contact-form .shum-radio-label{display:inline-flex;align-items:center;gap:10px;margin:0 !important;cursor:pointer;font-size:15px;line-height:1.4}
.shum-contact-form .shum-radio-label input[type=radio]{width:18px !important;height:18px !important;margin:0 !important;padding:0 !important;accent-color:#000;cursor:pointer;flex-shrink:0;border:0}
.shum-contact-form .shum-form-consent{display:flex;gap:12px;font-size:13px;align-items:flex-start}.shum-form-consent input{margin-top:5px;accent-color:#000}
.shum-contact-form .shum-form-consent a{color:inherit;text-decoration:underline;transition:color .2s ease}
.shum-contact-form .shum-form-consent a:hover,.shum-contact-form .shum-form-consent a:focus-visible{color:#f3ac03}
.shum-contact-form button{border:0;border-radius:50px;padding:14px 30px;background:#f3ac03;color:#111;font:inherit;cursor:pointer;transition:background-color .2s ease,opacity .2s ease}.shum-contact-form button:disabled{opacity:.5;cursor:wait}
.project-card{transition:opacity .3s ease,transform .3s ease}
.shum-trigger,.ng-acc-trigger{transition:color .2s ease}
.ng-tab-btn,[data-filter],.filter-btn{transition:background-color .2s ease,color .2s ease}
.ng-btn{transition:background-color .3s ease}
.page-section.white .sqsrte-text-color--lightAccent,
.page-section.white .sqsrte-text-color--white,
.page-section[data-section-theme="white"] .sqsrte-text-color--lightAccent,
.page-section[data-section-theme="white"] .sqsrte-text-color--white {
  color: #111111 !important;
}
#footer-sections,
#footer-sections p,
#footer-sections a,
#footer-sections h2,
#footer-sections h3 {
  color: #111111;
}
#footer-sections h2.shum-footer-title {
  font-family: inherit;
  font-size: min(calc((var(--heading-3-size-value, 1.2) - 1) * 1.2vw + 1rem), max(calc((var(--heading-3-size-value, 1.2) - 1) * 0.012 * var(--maxPageWidth, 1440px) + 1rem), calc(var(--heading-3-size-value, 1.2) * 1rem)));
  line-height: calc(var(--heading-font-line-height, 1.3) * (1 + (1 - var(--heading-3-size-value, 1.2))/25));
  font-weight: var(--heading-font-font-weight, 700);
  margin: 2rem 0;
}
#footer-sections a:hover {
  opacity: 0.7;
}
#footer-sections .sqsrte-text-color--custom {
  color: #767676 !important;
}
#footer-sections .fluid-engine {
  width: min(var(--site-wide), calc(100% - 2 * var(--site-gutter)));
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  column-gap: 4vw;
  padding-top: var(--site-section-edge);
  padding-inline: 0;
  padding-bottom: 56px;
  box-sizing: border-box;
}
#footer-sections .fluid-engine > .fe-block {
  grid-area: auto;
  min-width: 0;
}
#footer-sections .fluid-engine > .fe-block-4cb443888511486cd0a0 { grid-area: 1 / 2; }
#footer-sections .fluid-engine > .fe-block-3df418f9b0c933b78fe9 { grid-area: 1 / 1; }
#footer-sections .fluid-engine > .fe-block-4d9ca769254efad830b7 { grid-area: 1 / 3; }
#footer-sections .fe-block-4d9ca769254efad830b7 .sqs-html-content > p:last-child {
  text-align: left !important;
}
@media (max-width: 767px) {
  #footer-sections .fluid-engine {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
    padding-top: var(--site-section-edge);
    padding-inline: 0;
    padding-bottom: 40px;
  }
  #footer-sections .fluid-engine > .fe-block-4cb443888511486cd0a0,
  #footer-sections .fluid-engine > .fe-block-3df418f9b0c933b78fe9,
  #footer-sections .fluid-engine > .fe-block-4d9ca769254efad830b7 {
    grid-area: auto;
  }
}
/* The group photo is the middle sticky slide; preserve its full aspect ratio. */
#block-4460bd9f50a2482f67e5 > .sqs-block-content {
  height: 100%;
}
#block-4460bd9f50a2482f67e5 .sqs-block-image-button {
  display: flex;
  align-items: center;
  justify-content: center;
}
#block-4460bd9f50a2482f67e5 img {
  position: static;
  width: auto;
  height: 100%;
  aspect-ratio: 2141 / 1204;
  border-radius: 16px;
}
@media (max-width: 767px) {
  #block-4460bd9f50a2482f67e5 img {
    width: 100%;
    height: auto;
  }
}
/* Team portraits and videos share the source grid's full card bounds. */
body[data-page="/about"] section[data-section-id="698f266682b2e47a3683758c"] .image-block {
  border-radius: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
body[data-page="/about"] section[data-section-id="698f266682b2e47a3683758c"] .image-block:focus-visible {
  outline: 2px solid #f3ac03;
  outline-offset: 4px;
}
body[data-page="/about"] section[data-section-id="698f266682b2e47a3683758c"] .image-block > .sqs-block-content {
  height: 100%;
}
.team-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}
.image-block.is-playing .team-card-video {
  opacity: 1;
  transform: scale(1.03);
}
@media (hover: hover) and (pointer: fine) {
  .image-block:hover .team-card-video.is-ready {
    opacity: 1;
    transform: scale(1.03);
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-card-video {
    transition: none;
  }
}
/* These captions sit over portraits, even though the section theme is white. */
body[data-page="/about"] section[data-section-id="698f266682b2e47a3683758c"] .sqsrte-small span {
  color: #fff !important;
}
body[data-page="/about"] section[data-section-id="698f266682b2e47a3683758c"] .fe-block:has(.sqsrte-small) {
  pointer-events: none;
}
@media (max-width: 767px) {
  /* Source mobile captions waited offscreen for Squarespace's text scaler. */
  body[data-page="/about"] section[data-section-id="698f266682b2e47a3683758c"] .fe-block:has(.sqsrte-scaled-text) {
    justify-self: center;
    width: calc(200% + 11px);
    padding-inline: 8px;
    box-sizing: border-box;
  }
  body[data-page="/about"] section[data-section-id="698f266682b2e47a3683758c"] .sqs-html-content .sqsrte-scaled-text {
    position: static;
    width: 100%;
    font-size: 12px;
    word-break: normal;
    white-space: normal;
  }
  body[data-page="/about"] section[data-section-id="698f266682b2e47a3683758c"] .sqs-html-content .sqsrte-scaled-text p {
    line-height: 1.3;
  }
}
.shum-form-result{font-size:14px;line-height:1.4}.shum-contact-form .shum-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.shum-consent{position:fixed;bottom:0;left:0;right:0;z-index:10000;display:flex;align-items:center;gap:16px;background:#fff;color:#111;padding:16px 24px;box-shadow:0 -1px 8px #0001;font:14px/1.5 Manrope,sans-serif}.shum-consent[hidden]{display:none}.shum-consent p{margin:0;flex:1}.shum-consent a{color:inherit;text-decoration:underline;transition:color .2s ease}.shum-consent a:hover,.shum-consent a:focus-visible{color:#f3ac03}.shum-consent button{border:1px solid #111;border-radius:28px;background:white;color:#111;min-height:44px;padding:10px 18px;cursor:pointer;white-space:nowrap}.shum-consent button[data-consent=accepted]{background:#111;color:white}
#footer-sections .shum-privacy-settings{border:0;background:none;padding:0;color:inherit;font:inherit;text-decoration:underline;cursor:pointer;text-align:left}
#footer-sections .shum-privacy-settings:hover,#footer-sections .shum-privacy-settings:focus-visible{color:#f3ac03}
.shum-standalone-settings{display:block;margin:24px auto;border:0;background:none;color:inherit;font:14px/1.5 Manrope,sans-serif;text-decoration:underline;cursor:pointer}
.shum-contact-form .shum-form-policy{font-size:13px;margin:0 0 16px}.shum-contact-form .shum-form-policy a{color:inherit;text-decoration:underline;transition:color .2s ease}.shum-contact-form .shum-form-policy a:hover,.shum-contact-form .shum-form-policy a:focus-visible{color:#f3ac03}
:focus-visible{outline:3px solid #d89800;outline-offset:4px}.ng-lightbox [role=button]{cursor:pointer}.ng-lightbox-close{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
body > .ng-lightbox{inset:0;width:auto;height:100vh;height:100dvh;box-sizing:border-box;--brand-gold:#f3ac03}
body > .ng-lightbox *,body > .ng-lightbox *::before,body > .ng-lightbox *::after{box-sizing:border-box}
body > .ng-lightbox button{appearance:none;border:0;background:transparent}
body > .ng-lightbox .ng-lightbox-close{top:max(2rem,calc(env(safe-area-inset-top) + 12px));right:max(2.5rem,calc(env(safe-area-inset-right) + 12px))}
@media(max-width:767px){
  :root {
    --header-height: 65px;
    --site-gutter: 6vw;
  }
  html{scroll-padding-top:70px}
  .shum-site-header {
    height: 65px;
    min-height: 65px;
    padding-block: 0;
    padding-inline: max(var(--site-gutter), calc((100% - var(--site-wide)) / 2));
    z-index: 1002;
  }
  .shum-site-header:has(#shum-nav.is-open){transform:none!important}
  .shum-wordmark{font-size:24px;position:relative;z-index:1003}
  .shum-menu-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;margin-left:auto;min-width:44px;min-height:44px;padding:14px 10px;border:0;background:transparent;position:relative;z-index:1003;cursor:pointer}
  .shum-menu-toggle span{width:25px;height:1.5px;background:#111;transition:transform .25s ease, opacity .25s ease;transform-origin:center}
  .shum-menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(4.25px) rotate(45deg)}
  .shum-menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-4.25px) rotate(-45deg)}
  #shum-nav{display:none;position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;transform:none;background:rgba(250,250,250,0.98);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);padding:0 24px;box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;gap:28px;z-index:1001}
  #shum-nav.is-open{display:flex}
  #shum-nav a{font-size:28px;font-weight:500;line-height:1.2;letter-spacing:0.5px;text-align:center;color:#111;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:6px 16px}
  #shum-nav a[aria-current=page]{border-bottom:2px solid #111;padding-bottom:4px}
  .shum-form-row{grid-template-columns:1fr;gap:0}
  .shum-tooltip-box{right:auto;left:50%;transform:translateX(-50%);width:min(260px,calc(100vw - 32px))}
  .shum-tooltip-box::after{right:auto;left:50%;transform:translateX(-50%)}
  .shum-consent{flex-wrap:wrap;gap:10px;padding:15px}
  .shum-consent p{flex-basis:100%}
  .shum-consent button{flex:1;min-width:0;white-space:normal}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Homepage width system: full-bleed scenes with one 1440px structural rail. */
body[data-page="/"] .fe-69cbe56ea0acf975a1dc7ba0,
body[data-page="/"] .fe-69cc0c74f8b9a0493592be85 {
  --sqs-site-max-width: var(--site-wide);
}

body[data-page="/"] .home-hero-intro {
  margin: 0 0 clamp(12px, 1.5vw, 20px);
  font: 400 clamp(14px, 1.5vw, 20px)/1.35 Manrope, sans-serif;
  letter-spacing: 0.04em;
}

body[data-page="/"] #shum-accordion-wrapper {
  padding: clamp(80px, 7vw, 112px) max(var(--site-gutter), calc((100% - var(--site-wide)) / 2));
}

body[data-page="/"] .shum-content-container {
  max-width: var(--site-wide);
}

body[data-page="/"] .custom-clients-block {
  --ticker-gap: clamp(40px, 5vw, 90px);
  background: #ffffff;
  padding: clamp(72px, 6vw, 96px) 0;
  text-align: left;
  overflow: hidden;
  font-family: inherit;
}

body[data-page="/"] .clients-title {
  display: block;
  width: min(var(--site-wide), calc(100% - 2 * var(--site-gutter)));
  margin: 0 auto 50px;
  color: #000000;
  font-size: 36px;
  font-weight: 700;
  position: relative;
}

body[data-page="/"] .clients-title::after {
  content: "";
  display: block;
  width: 150px;
  height: 4px;
  margin-top: 15px;
  margin-left: 0;
  margin-right: 0;
  border-radius: 2px;
  background: #f3ac03;
}

body[data-page="/"] .ticker-container {
  position: relative;
  width: 100%;
  min-height: 64px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

body[data-page="/"] .ticker-container + .ticker-container {
  margin-top: 32px;
}

body[data-page="/"] .ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 64px;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

body[data-page="/"] .custom-clients-block.is-animating .ticker-track {
  will-change: transform;
}

body[data-page="/"] .shum-ticker-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  box-sizing: border-box;
  gap: var(--ticker-gap);
  padding-inline: calc(var(--ticker-gap) / 2);
}

body[data-page="/"] .shum-ticker-set img {
  display: block;
  flex: 0 0 170px;
  width: 170px;
  height: 60px;
  object-fit: contain;
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

body[data-page="/"] #contact .fe-69cbe56ea0acf975a1dc7ba9 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  gap: 48px;
  width: min(var(--site-wide), calc(100% - 2 * var(--site-gutter)));
  margin-inline: auto;
  padding-block: clamp(64px, 7vw, 112px);
  overflow: visible;
}

body[data-page="/"] #contact .fe-69cbe56ea0acf975a1dc7ba9 > .fe-block {
  grid-area: auto;
  min-width: 0;
}

@media (min-width: 901px) {
  body[data-page="/"] #contact .fe-69cbe56ea0acf975a1dc7ba9 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(64px, 6vw, 96px);
  }
}

@media (max-width: 767px) {
  body[data-page="/"] #shum-accordion-wrapper {
    padding: 64px var(--site-gutter);
  }

  body[data-page="/"] .custom-clients-block {
    --ticker-gap: clamp(28px, 8vw, 40px);
    padding-block: 64px;
  }

  body[data-page="/"] .clients-title {
    margin-bottom: 40px;
    font-size: 26px;
  }

  body[data-page="/"] .clients-title::after {
    width: 100px;
  }

  body[data-page="/"] .ticker-container,
  body[data-page="/"] .ticker-track {
    min-height: 44px;
  }

  body[data-page="/"] .ticker-container + .ticker-container {
    margin-top: 22px;
  }

  body[data-page="/"] .shum-ticker-set img {
    flex-basis: 120px;
    width: 120px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="/"] .ticker-container {
    min-height: 0;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }

  body[data-page="/"] .ticker-track {
    width: 100%;
    min-height: 0;
    transform: none !important;
  }

  body[data-page="/"] .shum-ticker-set {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: var(--site-gutter);
  }
}

/* About page width system: preserve the imported compositions inside the 1440px X rail. */
body[data-page="/about"] .fe-698f266682b2e47a36837588,
body[data-page="/about"] .fe-69b5a53f0ff64411981fe3ac,
body[data-page="/about"] .fe-69b5a56605b2ae0b1cadc1a7,
body[data-page="/about"] .fe-698f266682b2e47a3683758b {
  --sqs-site-max-width: var(--site-wide);
}

/* Projects catalog: keep the existing grid inside the shared 1440px X rail. */
body[data-page="/projects"] main .content-wrapper {
  box-sizing: border-box;
  width: min(var(--site-wide), calc(100% - 2 * var(--site-gutter)));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0 !important;
}

body[data-page="/projects"] #projects-wrapper {
  font-family: Manrope, sans-serif;
}

/* Keep the first About line below the fixed mobile header without shifting the sticky stack. */
@media (max-width: 767px) {
  body[data-page="/about"] section[data-section-id="698f266682b2e47a36837589"] > .content-wrapper {
    padding-top: calc(var(--header-height) + 24px) !important;
  }
}

/* Legal pages reading layout (D60: Y rail = 960px) */
body[data-page="/policy"] main .fluid-engine,
body[data-page="/agreement"] main .fluid-engine,
body[data-page="/policy"] .fe-699d98dbc0c748404fcfcb7a,
body[data-page="/agreement"] .fe-699d9dac9033d84d92c0398a {
  --sqs-site-max-width: var(--site-narrow);
}

/* ==========================================================================
   Publications section & articles (D60, D61, D63, D64)
   ========================================================================== */

/* 1. Visible H1 on /publications list page (D64) */
body[data-page="/publications"] .publications-title {
  display: block;
  width: min(var(--site-wide), calc(100% - 2 * var(--site-gutter)));
  margin: calc(var(--header-height) + clamp(24px, 4vw, 48px)) auto clamp(12px, 2vw, 20px);
  font: 700 clamp(2.5rem, 5vw, 4.5rem)/1.05 'Nunito Sans', Manrope, sans-serif;
  letter-spacing: -0.03em;
  color: #111111;
}

body[data-page="/publications"] .publications-intro {
  width: min(var(--site-wide), calc(100% - 2 * var(--site-gutter)));
  margin: 0 auto clamp(24px, 4vw, 48px);
  font: 400 clamp(16px, 1.5vw, 20px)/1.55 Manrope, sans-serif;
  color: #444444;
}

/* 2. Publications list page layout (X rail = 1440px) */
body[data-page="/publications"] .blog-alternating-side-by-side {
  max-width: var(--site-wide);
  width: min(var(--site-wide), calc(100% - 2 * var(--site-gutter)));
  margin-inline: auto;
  padding-inline: 0;
}
body[data-page="/publications"] .blog-alternating-side-by-side .image-wrapper img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body[data-page="/publications"] .blog-item-text .blog-date {
  display: inline-block;
  font: 500 14px/1.4 Manrope, sans-serif;
  color: #666666;
}
body[data-page="/publications"] .blog-item-text .blog-title {
  margin-top: 12px;
  margin-bottom: 16px;
  font: 700 clamp(20px, 2.2vw, 28px)/1.25 'Nunito Sans', Manrope, sans-serif;
}
body[data-page="/publications"] .blog-item-text .blog-title a {
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease;
}
body[data-page="/publications"] .blog-item-text .blog-title a:hover {
  color: #f3ac03;
}
body[data-page="/publications"] .blog-item-text .blog-excerpt {
  font: 16px/1.6 Manrope, sans-serif;
  color: #444444;
  margin: 0;
}

/* 3. Clean responsive video embeds (16:9) */
.video-responsive-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
}
.video-responsive-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 4. Article reading layout (Y rail = 960px) */
body[data-page^="/publications/"] .blog-item-top-wrapper,
body[data-page^="/publications/"] .publication-body {
  width: min(var(--site-narrow), calc(100% - 2 * var(--site-gutter)));
  margin-inline: auto;
}
body[data-page^="/publications/"] .blog-item-top-wrapper {
  margin-top: calc(var(--header-height) + clamp(24px, 4vw, 48px));
  margin-bottom: clamp(24px, 4vw, 48px);
}
body[data-page^="/publications/"] .entry-title {
  font: 700 clamp(28px, 4vw, 44px)/1.2 'Nunito Sans', Manrope, sans-serif;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0 0 16px;
}
body[data-page^="/publications/"] .blog-item-meta-wrapper time {
  font: 500 15px/1.4 Manrope, sans-serif;
  color: #666666;
}
body[data-page^="/publications/"] .publication-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font: 500 15px/1.4 Manrope, sans-serif;
  color: #666666;
}
body[data-page^="/publications/"] .publication-body {
  font: 16px/1.7 Manrope, sans-serif;
  color: #111111;
}
body[data-page^="/publications/"] .publication-body p {
  margin: 0 0 1.5em;
}
body[data-page^="/publications/"] .publication-body a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(17, 17, 17, 0.45);
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
body[data-page^="/publications/"] .publication-body a:focus-visible {
  outline: 2px solid #f3ac03;
  outline-offset: 3px;
}
@media (hover: hover) {
  body[data-page^="/publications/"] .publication-body a:hover {
    color: #8a5a00;
    text-decoration-color: #f3ac03;
  }
}
body[data-page^="/publications/"] .publication-body h2 {
  font: 700 clamp(22px, 3vw, 32px)/1.25 'Nunito Sans', Manrope, sans-serif;
  margin: 2em 0 0.8em;
}
body[data-page^="/publications/"] .publication-body h3 {
  font: 700 clamp(18px, 2.5vw, 24px)/1.3 'Nunito Sans', Manrope, sans-serif;
  margin: 1.8em 0 0.8em;
}
body[data-page^="/publications/"] .publication-body h4 {
  font: 700 18px/1.35 'Nunito Sans', Manrope, sans-serif;
  margin: 1.5em 0 0.8em;
}
body[data-page^="/publications/"] .publication-body figure {
  margin: clamp(28px, 4vw, 44px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body[data-page^="/publications/"] .publication-body figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(68vh, 580px);
  height: auto;
  object-fit: contain;
}
body[data-page^="/publications/"] .publication-gallery {
  display: grid;
  grid-template-columns: repeat(3, 25%);
  margin: 0;
}
body[data-page^="/publications/"] .publication-gallery figure {
  margin: 0;
}
body[data-page^="/publications/"] .publication-gallery img {
  width: 100%;
  height: 100%;
}
body[data-page^="/publications/"] .publication-gallery--square img {
  aspect-ratio: 1;
  object-fit: cover;
}
body[data-page^="/publications/"] .publication-gallery--wide img {
  aspect-ratio: 12 / 5;
  object-fit: contain;
}
body[data-page^="/publications/"] .publication-body figcaption {
  font-size: 14px;
  line-height: 1.4;
  color: #666666;
  margin-top: 10px;
  max-width: 100%;
}
body[data-page^="/publications/"] .publication-body blockquote {
  margin: 1.5em 0;
  padding-left: 20px;
  border-left: 3px solid #f3ac03;
}
body[data-page^="/publications/"] .publication-sources {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid #d9d9d9;
}
body[data-page^="/publications/"] .publication-sources h2 {
  margin-top: 0;
}
body[data-page^="/publications/"] .publication-byline {
  text-align: right;
}
/* 5. Clean article pagination (D63) */
.item-pagination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: min(var(--site-wide), calc(100% - 2 * var(--site-gutter)));
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) 0;
  gap: 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}
.item-pagination-empty {
  display: block;
}
.item-pagination-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  max-width: 100%;
}
.item-pagination-title {
  font: 500 15px/1.35 Manrope, sans-serif;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  transition: color 0.3s ease;
}
.item-pagination-link--prev {
  grid-column: 1;
  justify-self: start;
}
.item-pagination-link--prev .item-pagination-title {
  text-align: left;
  margin-left: 15px;
}
.item-pagination-link--next {
  grid-column: 3;
  justify-self: end;
}
.item-pagination-link--next .item-pagination-title {
  text-align: right;
  margin-right: 15px;
}
.item-pagination-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.item-pagination-icon svg {
  width: 9px;
  height: 16px;
  transition: stroke 0.3s ease;
}
.item-pagination-icon svg polyline {
  stroke: currentColor;
  transition: stroke 0.3s ease;
}
.item-pagination-all {
  grid-column: 2;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  font: 500 14px/1.4 Manrope, sans-serif;
  letter-spacing: 0.04em;
  color: #111111;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.25);
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
@media (hover: hover) {
  .item-pagination-link:hover .item-pagination-title {
    color: #f3ac03;
  }
  .item-pagination-link:hover .item-pagination-icon svg polyline {
    stroke: #f3ac03;
  }
  .item-pagination-all:hover {
    color: #111111;
    border-color: #f3ac03;
    background-color: #f3ac03;
  }
}
@media screen and (max-width: 767px) {
  .item-pagination {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-block: 32px;
  }
  .item-pagination-empty {
    display: none;
  }
  .item-pagination-link {
    width: 100%;
    max-width: 100%;
  }
  .item-pagination-link--prev {
    order: 1;
  }
  .item-pagination-all {
    order: 2;
    align-self: center;
    margin: 8px 0;
  }
  .item-pagination-link--next {
    order: 3;
  }
}

/* ==========================================================================
   Project Gallery & Lightbox Accessibility (Standard 07, D66)
   ========================================================================== */

/* Нативная кнопка галереи: обнуление системных стилей, сохранение flex-размеров */
.ng-gallery-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.ng-gallery-button:hover img,
.ng-gallery-button:focus-visible img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Нативные кнопки лайтбокса: сброс рамок, фона и UA-отступов */
button.ng-lightbox-close,
button.ng-lightbox-prev,
button.ng-lightbox-next {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  color: #ffffff;
  cursor: pointer;
}

button.ng-lightbox-close:hover,
button.ng-lightbox-prev:hover,
button.ng-lightbox-next:hover {
  color: var(--brand-gold, #f3ac03);
}

/* ==========================================================================
   Unified Interaction States (D137)
   ========================================================================== */

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

#shum-nav a {
  transition: color var(--interaction-fast) ease, border-color var(--interaction-fast) ease;
}
#shum-nav a:hover,
#footer-sections a:hover {
  color: inherit;
  opacity: 1;
}
#shum-nav a:active,
#footer-sections a:active {
  color: var(--action-text-active);
  opacity: 1;
}

.shum-contact-form input:not([type=checkbox]):not([type=radio]):focus-visible,
.shum-contact-form textarea:focus-visible,
.shum-contact-form select:focus-visible {
  border-color: #111111;
}
.shum-tooltip-wrap {
  min-width: 24px;
  min-height: 24px;
}
.shum-contact-form .shum-form-consent a:focus-visible,
.shum-contact-form .shum-form-policy a:focus-visible,
.shum-consent a:focus-visible,
#footer-sections .shum-privacy-settings:focus-visible {
  color: inherit;
}
.shum-contact-form .shum-form-consent a:active,
.shum-contact-form .shum-form-policy a:active,
.shum-consent a:active,
#footer-sections .shum-privacy-settings:active {
  color: var(--action-text-active);
}
.shum-contact-form button {
  transition: background-color var(--interaction-fast) ease, transform var(--interaction-fast) ease, opacity var(--interaction-fast) ease;
}
.shum-contact-form button:not(:disabled):active {
  background: var(--action-gold-active);
  transform: translateY(1px);
}
.shum-consent button {
  transition: background-color var(--interaction-fast) ease, color var(--interaction-fast) ease, transform var(--interaction-fast) ease;
}
.shum-consent button:not([data-consent="accepted"]):active {
  background: var(--surface-active);
  transform: translateY(1px);
}
.shum-consent button[data-consent="accepted"]:active {
  background: #444444;
  transform: translateY(1px);
}

body[data-page="/about"] section[data-section-id="698f266682b2e47a3683758c"] .image-block:focus-visible {
  outline-color: var(--focus-ring);
}

body[data-page="/projects"] .filter-btn {
  min-height: 44px !important;
}
body[data-page="/projects"] .filter-btn:hover:not(.active) {
  background-color: #f4f4f5 !important;
}
body[data-page="/projects"] .filter-btn:focus-visible {
  outline: 3px solid var(--focus-ring) !important;
  outline-offset: 4px !important;
}
body[data-page="/projects"] .filter-btn:active:not(.active) {
  background-color: var(--surface-active) !important;
  transform: translateY(1px);
}
body[data-page="/projects"] .filter-btn.active:active {
  background-color: var(--action-gold-active) !important;
  transform: translateY(1px);
}
body[data-page="/projects"] .pw-card-tag,
body[data-page="/projects"] .pw-card-icon {
  color: var(--action-text);
}
body[data-page="/projects"] .project-card:focus-visible .pw-card-image {
  filter: grayscale(0);
  transform: scale(1.05);
}
body[data-page="/projects"] .project-card:focus-visible .pw-card-overlay {
  background-color: rgba(0, 0, 0, 0.05);
}
body[data-page="/projects"] .project-card:focus-visible .pw-card-title {
  color: var(--action-text);
}
body[data-page="/projects"] .project-card:focus-visible .pw-card-icon {
  opacity: 1;
  transform: none;
}
body[data-page="/projects"] .project-card:active {
  transform: scale(0.995);
}

body[data-page="/publications"] .blog-item-text .blog-title a:hover {
  color: #111111;
}
body[data-page="/publications"] .blog-item-text .blog-title a:focus-visible {
  color: var(--action-text);
}
body[data-page="/publications"] .blog-item-text .blog-title a:active {
  color: var(--action-text-active);
}
body[data-page^="/publications/"] .publication-body a:visited {
  color: var(--visited-text);
}
body[data-page^="/publications/"] .publication-body a:focus-visible {
  color: var(--action-text);
  outline-color: var(--focus-ring);
}
body[data-page^="/publications/"] .publication-body a:active {
  color: var(--action-text-active);
}

body[data-page^="/projects/"] .item-pagination-all {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
body[data-page^="/projects/"] .item-pagination-link:hover .item-pagination-title,
body[data-page^="/projects/"] .item-pagination-link:hover .item-pagination-icon svg polyline {
  color: inherit;
  stroke: currentColor;
}
body[data-page^="/projects/"] .item-pagination-link:focus-visible .item-pagination-title,
body[data-page^="/projects/"] .item-pagination-link:focus-visible .item-pagination-icon {
  color: var(--action-text);
}
body[data-page^="/projects/"] .item-pagination-link:active,
body[data-page^="/projects/"] .item-pagination-all:active {
  transform: translateY(1px);
}
body[data-page^="/projects/"] .item-pagination-all:active {
  background: var(--action-gold-active);
  border-color: var(--action-gold-active);
}

body[data-page^="/video/"] .shum-video-page__project-link:hover {
  color: #111111;
}
body[data-page^="/video/"] .shum-video-page__project-link:focus-visible {
  color: var(--action-text);
}
body[data-page^="/video/"] .shum-video-page__project-link:active {
  color: var(--action-text-active);
}

body[data-page^="/projects/"] .ng-btn {
  transition: background-color var(--interaction-fast) ease, transform var(--interaction-fast) ease;
}
body[data-page^="/projects/"] .ng-btn:active {
  background-color: var(--action-gold-active);
  transform: translateY(1px);
}
body[data-page^="/projects/"] .ng-gallery-button:focus-visible img {
  transform: scale(1.05);
  opacity: 0.9;
}
button.ng-lightbox-close,
button.ng-lightbox-prev,
button.ng-lightbox-next {
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  padding: 10px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
button.ng-lightbox-close:hover,
button.ng-lightbox-prev:hover,
button.ng-lightbox-next:hover {
  color: #ffffff;
}
button.ng-lightbox-close:active,
button.ng-lightbox-prev:active,
button.ng-lightbox-next:active {
  color: #ffffff;
  opacity: 0.72;
}

body[data-page="/"] .shum-trigger:active {
  background: rgba(255, 255, 255, 0.06);
}
body[data-page="/"] .shum-link:active {
  color: var(--action-gold-hover);
  text-decoration-color: var(--action-gold-hover);
}

@media (hover: hover) and (pointer: fine) {
  #shum-nav a:hover,
  #footer-sections a:hover,
  #footer-sections .shum-privacy-settings:hover,
  .shum-contact-form .shum-form-consent a:hover,
  .shum-contact-form .shum-form-policy a:hover,
  .shum-consent a:hover {
    color: var(--action-text);
    opacity: 1;
  }
  .shum-contact-form input:not([type=checkbox]):not([type=radio]):hover,
  .shum-contact-form textarea:hover,
  .shum-contact-form select:hover {
    border-color: #111111;
  }
  .shum-contact-form button:not(:disabled):hover {
    background: var(--action-gold-hover);
  }
  .shum-consent button:not([data-consent="accepted"]):hover {
    background: var(--surface-hover);
  }
  .shum-consent button[data-consent="accepted"]:hover {
    background: #333333;
  }
  body[data-page="/projects"] .filter-btn:hover:not(.active) {
    background-color: var(--surface-hover) !important;
  }
  body[data-page="/projects"] .filter-btn.active:hover {
    background-color: var(--action-gold-hover) !important;
  }
  body[data-page="/projects"] .project-card:hover .pw-card-title {
    color: var(--action-text);
  }
  body[data-page="/publications"] .blog-item-text .blog-title a:hover,
  body[data-page^="/publications/"] .publication-body a:hover,
  body[data-page^="/video/"] .shum-video-page__project-link:hover {
    color: var(--action-text);
  }
  body[data-page^="/projects/"] .item-pagination-link:hover .item-pagination-title,
  body[data-page^="/projects/"] .item-pagination-link:hover .item-pagination-icon {
    color: var(--action-text);
  }
  body[data-page^="/projects/"] .ng-btn:hover {
    background-color: var(--action-gold-hover);
  }
  button.ng-lightbox-close:hover,
  button.ng-lightbox-prev:hover,
  button.ng-lightbox-next:hover {
    color: var(--action-gold);
  }
}

@media (hover: none) {
  body[data-page="/projects"] .project-card:hover .pw-card-image {
    filter: grayscale(100%);
    transform: none;
  }
  body[data-page="/projects"] .project-card:hover .pw-card-overlay {
    background-color: transparent;
  }
  body[data-page="/projects"] .project-card:hover .pw-card-title {
    color: #000000;
  }
  body[data-page="/projects"] .pw-card-icon {
    opacity: 1;
    transform: none;
  }
  body[data-page^="/projects/"] .ng-stripe-item img:hover,
  body[data-page^="/projects/"] .ng-gallery-button:hover img {
    transform: none;
    opacity: 1;
  }
  body[data-page^="/projects/"] .ng-btn:hover {
    background-color: var(--action-gold);
  }
  body[data-page="/"] .shum-item:hover:not(.open) {
    border-top-color: rgba(255, 255, 255, 0.15);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body[data-page="/"] .shum-item:hover:not(.open) .shum-num {
    color: #888888;
  }
  body[data-page="/"] .shum-item:hover:not(.open) .service-name {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card,
  .filter-btn,
  .ng-btn,
  .shum-contact-form button,
  .shum-consent button {
    transition-duration: 0.01ms !important;
  }
}
