.showcase-services, .home-values { --service-blue: #244cba; --focus: var(--service-blue); padding-block: clamp(76px,7.5vw,134px); }
.showcase-services { color: #121212; background: white; }
.showcase-wrap { width: min(90%,1510px); margin-inline: auto; }
.showcase-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.showcase-kicker { margin: 0 0 14px; font: 500 clamp(16px,1.25vw,21px)/1.3 Georgia, 'Times New Roman', serif; letter-spacing: .015em; }
.showcase-head h2, .values-head h2, .license-head h2, .home-reviews h2, .client-guide h2 { font-size: clamp(31px,3.4vw,59px); font-weight: 720; line-height: 1.32; letter-spacing: -.054em; word-break: keep-all; }
.showcase-more { min-height: 43px; padding: 9px 18px; display: inline-flex; align-items: center; border: 1px solid; border-radius: 24px; font-size: 15px; }
.showcase-more:hover { background: var(--service-blue); color: #fff; }
.service-tabs { display: flex; gap: clamp(17px,2vw,34px); overflow-x: auto; scrollbar-width: none; margin: clamp(32px,4.3vw,66px) 0 clamp(24px,3vw,45px); }
.service-tabs::-webkit-scrollbar { display: none; }
.service-tabs button { flex: none; padding: 0 0 7px; min-height: 44px; color: #757577; background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: clamp(18px,1.78vw,28px); font-weight: 560; }
.service-tabs button[aria-selected="true"] { color: var(--service-blue); border-bottom-color: currentColor; font-weight: 700; }
.service-tabs button:focus-visible { outline-offset: -2px; }
.service-carousel { position: relative; }
.service-slide { display: grid; grid-template-columns: 54% minmax(0,1fr); align-items: stretch; gap: 3.2%; }
.service-slide + .service-slide:not([role]) { margin-top: 24px; }
.service-image { display: block; position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 1.48; background: #ebeaeb; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-image span { opacity: 0; position: absolute; bottom: 20px; left: 20px; padding: 7px 16px; background: #fff; border-radius: 24px; color: #151515; transition: opacity .18s ease; }
.service-image:hover span, .service-image:focus-visible span { opacity: 1; }
.service-summary { display: flex; align-items: center; padding: 0 clamp(12px,4vw,64px) clamp(64px,5vw,85px) 0; }
.service-summary h3 { font-size: clamp(25px,2.3vw,38px); color: #0c0c0d; }
.service-summary p, .home-reviews header p { margin-top: 17px; font-size: clamp(16px,1.18vw,19px); line-height: 1.65; color: #414145; }
.service-summary ul { display: flex; flex-wrap: wrap; list-style: none; gap: 8px; margin-top: 23px; }
.service-summary li { padding: 5px 11px; border: 1px solid #cbd5e4; border-radius: 20px; font-size: 14px; }
.work-pager { position: absolute; bottom: 6%; left: 57.2%; display: flex; align-items: center; gap: 8px; }
.work-count { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.work-progress { width: clamp(62px,12vw,178px); height: 2px; background: #dce3ef; margin: 0 11px; }
.work-progress i { display: block; height: 100%; width: 100%; background: var(--service-blue); transform: scaleX(.125); transform-origin: left; transition: transform .24s; }
.work-pager button, .credential-close { width: 40px; height: 40px; border: 1px solid #cbd5e4; border-radius: 50%; background: white; display: grid; place-items: center; }
.work-pager button:first-of-type svg { rotate: 180deg; }
.work-pager svg, .credential-close svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion:no-preference) { .service-slide[role]:not([hidden]) { animation: service-appear .32s ease-out; } @keyframes service-appear { from { opacity: .35; transform: translateX(9px); } } }
.home-values { position: relative; isolation: isolate; overflow: clip; background: linear-gradient(135deg,#392a30 0%,#392329 48%,#34262b 100%); color: #fffaf7; }
.values-container { position: relative; z-index: 1; width: min(86%,1340px); margin-inline: auto; }
.values-head .showcase-kicker { color: #e0bdaf; }
.values-head { text-align: center; margin-bottom: clamp(44px,5.7vw,88px); }
.values-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(45px,5vw,80px) clamp(18px,2.4vw,38px); }
.values-grid article { min-width: 0; align-self: start; }
.values-grid article:nth-child(3n+2) { margin-top: clamp(18px,2.5vw,38px); }
.values-grid article:nth-child(3n) { margin-top: clamp(36px,5vw,76px); }
.values-grid img { width: 100%; aspect-ratio: 551 / 671; height: auto; object-fit: cover; border-radius: clamp(12px,1.45vw,23px); }
.values-grid h3 { margin-top: 17px; color: white; font-size: clamp(21px,1.67vw,28px); }
.values-grid p { margin-top: 10px; color: #e4dadb; max-width: 36em; line-height: 1.62; }
.values-running { pointer-events: none; position: absolute; left: 56%; top: 0; bottom: 0; overflow: hidden; z-index: 0; }
.values-running div { display: flex; flex-flow: column; width: max-content; }
.values-running span { white-space: nowrap; writing-mode: vertical-rl; color: rgba(247,224,222,.075); font: 400 clamp(85px,11vw,180px)/1 Georgia,serif; }
@media (prefers-reduced-motion:no-preference) { .values-running div { animation: value-ticker 78s linear infinite; } @keyframes value-ticker { to { transform: translateY(-50%); } } }
.office-credentials { padding-block: clamp(82px,8.35vw,120px); background: #f5f6fe; color: #19191c; }
.license-wrap { width: min(90%,1430px); margin-inline: auto; }
.license-head { text-align: center; }
.license-head h2::after { content: ''; display: block; width: 40px; height: 2px; background: #333f79; margin: 20px auto 0; }
.license-grid { margin-top: clamp(26px,3vw,44px); display: flex; flex-wrap: wrap; justify-content: center; align-items: start; gap: clamp(27px,3.4vw,50px) 20px; list-style: none; }
.license-grid li { flex: 0 0 18%; min-width: 0; }
.credential-card { display: block; cursor: zoom-in; }
.credential-card img { width: 100%; height: auto; aspect-ratio: 278/374; }
.credential-reader { width: min(600px,calc(100% - 24px)); max-height: calc(100dvh - 20px); margin: auto; padding: 0; border: 0; border-radius: 8px; color: var(--ink); }
.credential-reader::backdrop { background: rgb(17 22 29 / .75); }
html:has(.credential-reader[open]) { overflow: hidden; }
.credential-dialog-body { padding: 12px clamp(12px,2vw,24px); background: #f8f8fa; }
.credential-dialog-body header, .credential-dialog-body nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.credential-dialog-body h2 { font-size: clamp(16px,2vw,22px); }
.credential-close { flex: none; }
.credential-enlarged { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 155px); margin: 10px auto; object-fit: contain; touch-action: pan-y pinch-zoom; }
.credential-dialog-body nav button { min-height: 44px; border: 0; background: none; padding-inline: 8px; }
.credential-count { font-size: 14px; font-variant-numeric: tabular-nums; }
.about-values { --panel-height: calc(100svh - var(--header-size)); }
.value-panel { overflow:clip; display: grid; min-height: max(585px,var(--panel-height)); grid-template-columns: 1fr 1fr; color: white; }
.value-panel:nth-child(even) { color: #151515; }
.value-text { grid-column: 1; grid-row: 1; background: #172e50; display: grid; align-items: center; position: relative; padding: 85px clamp(32px,5.6vw,96px); }
.value-number { font: 500 clamp(28px,3.3vw,56px)/1.1 Georgia,serif; margin-bottom: 17px; }
.value-message h3 { max-width: 15em; word-break: keep-all; font-size: clamp(24px,2.4vw,40px); line-height: 1.33; }
.value-message h3 + p { margin-top: 23px; }
.value-message p:not(.value-number) { font-size: clamp(16px,1.16vw,20px); max-width: 30em; margin-bottom: 12px; line-height: 1.7; }
.value-photo { grid-column: 2; grid-row: 1; position: relative; }
.value-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.value-panel:nth-child(even) .value-text { background: #edf2f8; }
.value-panel:nth-child(3) .value-text { background: #29343e; }
.value-message { transform: translateY(var(--copy-drift,0px)); }
.about-values.is-pinned .value-stage { position: relative; width: 100%; height: var(--panel-height); overflow: hidden; isolation: isolate; background: #172e50; }
.about-values.is-pinned .value-stage::after { content:''; position:absolute; z-index:5; bottom:0; left:0; right:0; height:4px; background:#729de1; transform-origin:left; transform:scaleX(var(--chapter-progress,.25)); }
.is-pinned .value-panel { position:absolute; inset:0; min-height:0; width:100%; will-change:transform; }
.home-reviews { background: white; padding: clamp(78px,7vw,125px) 0; color: #111; text-align: center; }
.home-reviews h2 { color: #090909; }
.home-reviews header small { display: block; margin-top: 12px; color: #68677b; font-size: 15px; }
.review-window { --note: clamp(280px,31vw,390px); --gap: clamp(16px,2.4vw,38px); margin-top: clamp(30px,4vw,65px); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; }
.review-window::-webkit-scrollbar { display: none; }
.review-track { display: flex; gap: var(--gap); width: max-content; padding: 0 calc((100vw - var(--note))/2) 35px; list-style: none; }
.review-note { position: relative; flex: 0 0 var(--note); width: var(--note); scroll-snap-align: center; text-align: left; padding: clamp(24px,2.5vw,40px); min-height: 275px; border-radius: 10px; display: flex; flex-direction: column; color: #aaaab0; background: #fff; transition: background-color .24s,color .24s; }
.review-note::before { content: '“'; font: 700 76px/.78 Georgia,serif; height: 48px; color: #aaa; }
.review-note.is-current { background: #3870cd; color: white; }
.review-note.is-current::after { content: ''; position: absolute; top: calc(100% - 1px); left: 50%; transform: translateX(-50%); border: solid transparent; border-width: 26px 14px 0; border-top-color: #3870cd; }
.review-note.is-current::before { color: #c9daf8; }
.review-note blockquote { margin: 10px 0 20px; word-break: keep-all; line-height: 1.68; font-size: 16px; }
.review-note p { margin-top: auto; font-size: 15px; font-weight: 650; }
.review-dots { display: flex; align-items: center; justify-content: center; gap: 2px; margin-top: clamp(18px,3vw,48px); }
.review-dots button { height: 40px; min-width: 22px; display: grid; place-content: center; background: transparent; border: 0; padding: 0 2px; }
.review-dots button:not(.reviews-play)::before { content:''; width: 9px; height: 9px; border-radius: 10px; background: #c9c9cf; }
.review-dots button[aria-pressed="true"]::before { width: 43px; background: #3870cd; }
.review-dots .reviews-play { width: 36px; font-size: 15px; color: #4e5f78; }
@media (max-width:1099px) { .license-grid li { flex-basis: calc((100% - 60px)/4); }  }
@media (min-width:1000px) and (max-width:1099px) { .license-grid li { flex-basis: calc((100% - 80px)/5); } }
@media (max-width:790px) {
  .showcase-wrap { width: calc(100% - 44px); }
  .showcase-head { display: grid; justify-items: start; gap: 15px; }
  .showcase-kicker { margin-bottom: 10px; }
  .service-slide { display: block; }
  .service-image { aspect-ratio: 1.48; }
  .service-summary { padding: 24px 0 0; }
  .service-summary p { margin-top: 10px; }
  .service-summary ul { margin-top: 16px; }
  .work-pager { position: static; margin-top: 22px; }
  .work-pager button { width: 44px; height: 44px; }
  .values-running { left: 46%; }
  .values-container { width: calc(100% - 48px); padding: 0; }
  .values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .values-grid article:nth-child(n) { margin-top: 0; }
  .value-panel { display: grid; grid-template-columns: minmax(0,1fr); min-height: max(590px,var(--panel-height)); isolation: isolate; }
  .value-panel .value-text, .value-panel:nth-child(even) .value-text { grid-area: 1 / 1; z-index: 1; color: white; background: linear-gradient(115deg,rgba(11,26,48,.86),rgba(17,36,59,.65) 82%); padding-inline: 27px; }
  .value-panel .value-photo, .value-panel:nth-child(even) .value-photo { grid-area: 1 / 1; }
}
@media (max-width:600px) {
  .values-grid { grid-template-columns: minmax(0,1fr); }
  .license-grid { gap: 25px 8px; }
  .license-grid li { flex-basis: calc((100% - 8px)/2); }
  .home-reviews header small { font-size: 14px; }
  .review-window { --note: min(77vw,385px); --gap: 15px; }
}
@media (prefers-reduced-motion:reduce) { .review-note, .work-progress i { transition: none; } }
.field-gallery { background: white; padding: 0 0 clamp(36px,4vw,64px); }
.field-window { width:min(97%,1580px); margin:auto; overflow:hidden; mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent); }
.field-row { --field-gap: clamp(12px,1.4vw,22px); display:flex; width:max-content; gap:var(--field-gap); }
.field-row + .field-row { margin-top:var(--field-gap); }
.field-row ul { display:flex; width:max-content; gap:var(--field-gap); list-style:none; }
.field-row img { width:clamp(200px,23vw,370px); height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:clamp(10px,1.4vw,22px); }
.field-gallery.is-moving .field-row { animation:field-drift 60s linear infinite; }
.field-gallery.is-moving .field-row--2 { animation-direction:reverse; animation-duration:69s; }
@keyframes field-drift { to { transform:translateX(calc(-50% - var(--field-gap)/2)); } }
@media (prefers-reduced-motion:reduce) {
  .field-window { mask-image:none; width:min(90%,1340px); }
  .field-row, .field-row ul { width:100%; }
  .field-row ul { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
  .field-row ul[aria-hidden] { display:none; }
  .field-row img { width:100%; }
  .field-gallery.is-moving .field-row { animation:none; }
}
@media (max-width:600px) and (prefers-reduced-motion:reduce) { .field-row ul { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.hero-title > span { display:block; }
.hero-title { font-size:clamp(32px,3.65vw,62px); }
.values-grid article > * { opacity:var(--value-opacity,1); transform:translateY(var(--value-rise,0px)); }
.values-grid article img { transform:translateY(var(--value-rise,0px)) scale(var(--value-zoom,1)); transform-origin:center bottom; }
.field-gallery:not(.is-moving) .field-row, .field-gallery:not(.is-moving) .field-row ul { width:100%; }
.field-gallery:not(.is-moving) .field-row ul { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.field-gallery:not(.is-moving) .field-row ul[aria-hidden] { display:none; }
.field-gallery:not(.is-moving) .field-row img { width:100%; }
@media (max-width:600px) {
  .hero-title { font-size:clamp(23px,6.6vw,32px); line-height:1.4; }
  .field-gallery:not(.is-moving) .field-row ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
