/* Velar Bureau: Work, Blog, articles and Contacts pages */
.pg-hero { position: relative; padding: calc(120px + env(safe-area-inset-top, 0px)) var(--gx) clamp(40px, min(5vw, 72px), 72px); isolation: isolate; }
.pg-hero__h { font-weight: 500; font-size: clamp(3rem, min(8.4vw, 120.96px), 10rem); line-height: .9; letter-spacing: -.06em; margin: 0; }
.pg-hero__h .hl { display: block; }
.pg-hero__h .hl--mute { color: var(--mist); }
.pg-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-top: clamp(28px, min(4vw, 57.6px), 56px); }
.pg-hero__row p { max-width: 52ch; margin: 0; font-size: 1.1rem; color: var(--slate); }

/* work page: same cards as on the home page */
.work--page { padding-top: 0; }
.case__bg--soft { filter: grayscale(1) brightness(.42) blur(6px) !important; }
.case:hover .case__bg--soft { filter: grayscale(.3) brightness(.5) blur(6px) !important; }

/* blog cards */
.posts, .art-more { padding: 0 var(--gx) var(--sec); }
.posts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.post { display: flex; flex-direction: column; background: #EEF1F4; color: var(--graphite); transition: background .3s; }
.post:hover { background: #fff; }
.post__img { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #0E0F11; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post__b { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, min(2.4vw, 34.56px), 36px); flex: 1; }
.post__m { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .84rem; color: var(--slate); }
.post__tag { display: inline-flex; padding: 5px 10px; background: var(--graphite); color: #E3E7ED; font-size: .76rem; font-weight: 600; }
.post h2 { margin: 0; font-weight: 500; font-size: clamp(1.7rem, min(2.8vw, 40.32px), 2.8rem); line-height: 1.02; letter-spacing: -.04em; }
.post p { margin: 0; max-width: 52ch; color: var(--slate); }
.post i { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-style: normal; font-weight: 600; }
.post i svg { width: 16px; height: 16px; color: var(--signal); transition: transform .4s var(--ease); }
.post:hover i svg { transform: translate(3px, -3px); }
.art-more .h2 { margin-bottom: clamp(24px, min(3vw, 43.2px), 40px); }
.art-more .posts__grid { grid-template-columns: minmax(0, 1fr); max-width: 900px; }

/* article */
.art { padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gx) var(--sec); }
.art__hd { max-width: 1100px; }
.art__h { margin: 22px 0 0; font-weight: 500; font-size: clamp(2.6rem, min(6vw, 86.4px), 6.4rem); line-height: .95; letter-spacing: -.055em; }
.art__lead { margin: 26px 0 0; max-width: 56ch; font-size: clamp(1.1rem, min(1.5vw, 21.6px), 1.4rem); color: var(--slate); }
.art__m { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 26px; font-size: .88rem; color: var(--slate); }
.art__cover { margin: clamp(32px, min(4vw, 57.6px), 64px) 0 0; aspect-ratio: 21 / 9; overflow: hidden; background: #0E0F11; }
.art__cover img { width: 100%; height: 100%; object-fit: cover; }
.art__body { max-width: 760px; margin: clamp(40px, min(5vw, 72px), 80px) auto 0; font-size: 1.12rem; line-height: 1.65; color: #2A2D33; }
.art__body h2 { margin: 2.4em 0 .6em; font-weight: 500; font-size: clamp(1.8rem, min(3vw, 43.2px), 2.6rem); line-height: 1.05; letter-spacing: -.04em; color: var(--graphite); }
.art__body h2:first-child { margin-top: 0; }
.art__body h3 { margin: 1.8em 0 .4em; font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; color: var(--graphite); }
.art__body p { margin: 0 0 1em; }
.art__body a:not(.art__case) { color: var(--graphite); text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 3px; }
.art__body blockquote { margin: 2em 0; padding: 0 0 0 24px; border-left: 3px solid var(--signal); font-weight: 500; font-size: clamp(1.4rem, min(2.2vw, 31.68px), 2rem); line-height: 1.2; letter-spacing: -.03em; color: var(--graphite); }
.art__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 -120px; }
.art__facts div { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: #EEF1F4; min-height: 170px; }
.art__facts b { font-family: var(--fd); font-stretch: 125%; font-weight: 600; font-size: clamp(2.6rem, min(4.4vw, 63.36px), 4.2rem); line-height: .9; letter-spacing: -.04em; color: var(--signal); }
.art__facts span { font-size: .92rem; line-height: 1.4; color: var(--slate); }
.art__src { margin: 12px 0 1.6em !important; font-size: .82rem; color: var(--slate); }
.art__list { list-style: none; margin: 0; padding: 0; counter-reset: a; border-top: 1px solid var(--line); }
.art__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.art__list li::before { counter-increment: a; content: counter(a, decimal-leading-zero); grid-row: 1 / 3; font: 600 .8rem/1.9 var(--fd); color: var(--signal); }
.art__list b { font-weight: 500; font-size: 1.15rem; color: var(--graphite); }
.art__list span { color: var(--slate); font-size: 1rem; }
.art__cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; margin: 20px 0 0; }
.art__case { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #0E0F11; color: #fff; text-decoration: none; }
.art__case img { width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .75; transition: transform 1s var(--ease), opacity .4s; }
.art__case:hover img { transform: scale(1.05); opacity: .9; }
.art__case span { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 16px; background: linear-gradient(0deg, rgba(14, 15, 17, .85), transparent); }
.art__case b { font-weight: 500; font-size: 1.25rem; letter-spacing: -.02em; }
.art__case em { font-style: normal; font-size: .82rem; opacity: .8; }
.art__body .faq-list { margin-top: 8px; }

/* contacts */
.ct-hero .shero__img { min-height: clamp(340px, min(36vw, 518.4px), 520px); }
.ct { padding: 0 var(--gx) var(--sec); }
.ct__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ct__c, .ct__b { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, min(2.2vw, 31.68px), 32px); background: #EEF1F4; color: var(--graphite); min-height: 220px; transition: background .3s, color .3s; }
.ct__c span, .ct__b > span { font-size: .84rem; color: var(--slate); }
.ct__c b { font-weight: 500; font-size: clamp(1.3rem, min(1.9vw, 27.36px), 1.9rem); letter-spacing: -.03em; line-height: 1.1; word-break: break-word; }
.ct__c i, .ct__b i { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-style: normal; font-weight: 600; }
.ct__c i svg, .ct__b i svg { width: 16px; height: 16px; color: var(--signal); transition: transform .4s var(--ease); }
.ct__c:hover, .ct__b--go:hover { background: #0E0F11; color: #E3E7ED; }
.ct__c:hover span { color: #9CA2AD; }
.ct__c:hover i svg, .ct__b--go:hover i svg { transform: translate(3px, -3px); }
.ct__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.ct__b b { font-weight: 500; font-size: clamp(1.5rem, min(2.4vw, 34.56px), 2.4rem); letter-spacing: -.035em; line-height: 1.08; }
.ct__b p { margin: 0; color: var(--slate); max-width: 44ch; }
.ct__time b { font-size: 1rem !important; letter-spacing: 0 !important; }
.ct__b--go { background: var(--signal); }
.ct__b--go > span { color: rgba(14, 15, 17, .7); }

@media (max-width: 1000px) {
  .ct__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art__facts { margin: 0; }
}
@media (max-width: 720px) {
  .posts__grid, .ct__row, .art__facts { grid-template-columns: minmax(0, 1fr); }
  .ct__grid { grid-template-columns: minmax(0, 1fr); }
  .ct__c, .ct__b { min-height: 0; }
  .art__cover { aspect-ratio: 4 / 3; }
  .art__body { font-size: 1.04rem; }
  .pg-hero { padding-top: calc(96px + env(safe-area-inset-top, 0px)); }
}
.work--page.dark { border-top: 0 !important; }

/* blog covers: dot-matrix scenes (js/blogart.js), same language as the home About tiles */
.pa { position: relative; }
.pa canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pa--dev { background: linear-gradient(180deg, #F6B1AC 0%, #F27F6E 38%, #EC5537 70%, #FF3A1C 100%); }
.pa--fac { background: linear-gradient(180deg, #B7EBCF 0%, #6FD39F 38%, #2BB070 70%, #0F9455 100%); }

/* case cards: the result sits on the picture */
.case__res { position: absolute; left: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 6px; max-width: min(56%, 460px); padding: clamp(14px, min(1.7vw, 24.48px), 24px) clamp(16px, min(2vw, 28.8px), 28px); background: var(--signal); color: #0E0F11; }
.case__res small { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 500; }
.case__res small u { padding: 2px 6px; background: #FFE27A; font-size: .68rem; font-weight: 600; text-decoration: none; }
.case__res b { font-weight: 500; font-size: clamp(2.1rem, min(3.8vw, 54.72px), 4rem); line-height: .96; letter-spacing: -.05em; }
.case__res em { font-style: normal; font-size: clamp(.86rem, min(1vw, 14.4px), 1rem); line-height: 1.25; }
.case__res--t b { font-size: clamp(1.25rem, min(2vw, 28.8px), 2.1rem); line-height: 1.04; letter-spacing: -.035em; }
@media (max-width: 720px) {
  /* phones: the plate runs the full width under the screen and hides nothing */
  .case__visual { height: 336px; }
  .case__visual .browser { top: 14px; }
  .case__res { right: 0; max-width: none; gap: 3px; padding: 12px 16px 14px; }
  .case__res b { font-size: 2rem; }
  .case__res--t b { font-size: 1.12rem; line-height: 1.12; letter-spacing: -.02em; }
  .case__res--t em { display: none; }
}

