/* Website concepts: generated desktop and matching phone previews. */
#work.samples-section { background: #f6f9fc; padding-block: 76px; border-top: 1px solid #e8eef4; }
.samples-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; margin-bottom: 30px; }
.samples-heading h2 { max-width: 540px; }
.samples-heading h2 span { color: var(--blue); }
.samples-heading-copy { max-width: 440px; justify-self: end; }
.samples-heading-copy p { font-size: 15px; line-height: 1.75; }
.samples-device-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #355f57; font-size: 12px; font-weight: 700; }
.samples-device-note::before { content: ''; width: 7px; height: 7px; background: #41927b; border-radius: 50%; }
.samples-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 0 24px; }
.samples-toolbar[hidden], .sample-card[hidden] { display: none; }
.sample-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.sample-filter { min-height: 42px; padding: 9px 17px; border: 1px solid #dce5ee; border-radius: 999px; background: #fff; color: #49617b; font-size: 12px; font-weight: 700; transition: background .18s, border-color .18s, color .18s; }
.sample-filter:hover { border-color: #88b8e7; color: #086fc9; }
.sample-filter[aria-pressed='true'] { background: #142f51; border-color: #142f51; color: #fff; }
.samples-count { flex-shrink: 0; color: #63758a; font-size: 12px; }
.sample-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.sample-card { min-width: 0; display: flex; flex-direction: column; background: #fff; color: var(--text); border: 1px solid #e0e7ed; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px #183a5b04; transition: transform .22s, box-shadow .22s, border-color .22s; }
.sample-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px #183a5b10; border-color: #aecbea; }
.sample-card:focus-visible { outline-offset: 4px; }
.sample-image { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #f3eee5; border-bottom: 1px solid #edf0f3; }
.sample-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.sample-card:hover .sample-image img { transform: scale(1.025); }
.sample-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 20px; }
.sample-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: #506a85; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; font-weight: 900; }
.sample-number { color: #8a9bad; font-weight: 700; letter-spacing: .08em; }
.sample-body h3 { font-size: 23px; letter-spacing: -.025em; }
.sample-body p { color: var(--muted); font-size: 14px; margin: 8px 0 18px; line-height: 1.65; }
.sample-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid #edf1f5; color: #506a85; font-size: 11px; }
.sample-preview-link { display: inline-flex; align-items: center; gap: 7px; color: #0877d9; font-size: 12px; font-weight: 700; }
.sample-preview-link svg { width: 16px; height: 16px; transition: transform .2s; }
.sample-card:hover .sample-preview-link svg { transform: translate(2px, -2px); }
.samples-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 30px; margin-top: 30px; border-top: 1px solid #dfe7ef; }
.samples-footer strong { display: block; font-size: 18px; color: var(--text); margin-bottom: 5px; }
.samples-footer p { font-size: 13px; max-width: 650px; }
.samples-footer .btn { flex-shrink: 0; }
.samples-disclaimer { margin-top: 25px; font-size: 11px; line-height: 1.6; color: #6a7c8f; }

.sample-modal { position: fixed; inset: 0; margin: auto; width: min(1180px, calc(100% - 48px)); max-height: calc(100dvh - 48px); padding: 0; color: var(--muted); background: #fff; border: 1px solid #dce5ee; border-radius: 16px; box-shadow: 0 30px 100px #07152555; overscroll-behavior: contain; }
.sample-modal::backdrop { background: #0a1e37c9; backdrop-filter: blur(6px); }
.sample-modal[open] { display: flex; flex-direction: column; }
.sample-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 24px; flex-shrink: 0; border-bottom: 1px solid #e8eef4; }
.sample-modal-kicker { color: #58708b; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.sample-modal-head h3 { margin-top: 4px; font-size: 23px; }
.sample-modal-close, .sample-step { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; padding: 0; background: #f5f8fc; color: #23486c; border: 1px solid #dce6ef; border-radius: 50%; }
.sample-modal-close:hover, .sample-step:hover { background: #e7f2ff; border-color: #a4c6e8; }
.sample-modal-close svg { width: 19px; height: 19px; }
.sample-modal-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.sample-modal-image { background: #f3eee5; }
.sample-modal-image img { width: 100%; height: auto; object-fit: contain; max-height: 64dvh; }
.sample-modal-details { padding: 18px 24px; border-top: 1px solid #e8eef4; }
.sample-modal-details p { font-size: 14px; }
.sample-modal-note { font-size: 11px !important; color: #6a7c8f; margin-top: 6px; }
.sample-modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 24px; border-top: 1px solid #e8eef4; flex-shrink: 0; }
.sample-pagination { display: flex; align-items: center; gap: 12px; }
.sample-pagination span { font-size: 12px; min-width: 37px; text-align: center; }
.sample-step { width: 38px; height: 38px; }
.sample-step svg { width: 17px; height: 17px; }
.sample-step:disabled { opacity: .4; cursor: default; }
.sample-modal-footer .btn { font-size: 13px; min-height: 42px; padding: 10px 18px; }

@media (max-width: 860px) {
  .samples-heading { grid-template-columns: 1fr; gap: 18px; }
  .samples-heading-copy { justify-self: start; max-width: 560px; }
  .sample-grid { gap: 20px; }
  .sample-body { padding: 19px; }
  .samples-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 640px) {
  #work.samples-section { padding-block: 42px; }
  .samples-heading { gap: 15px; margin-bottom: 24px; }
  .samples-heading-copy p { font-size: 14px; }
  .samples-device-note { margin-top: 10px; font-size: 11px; }
  .samples-toolbar { padding-bottom: 20px; }
  .sample-filters { gap: 7px; }
  .sample-filter { min-height: 40px; padding: 8px 13px; font-size: 11px; }
  .sample-grid { grid-template-columns: 1fr; gap: 22px; }
  .sample-body { padding: 19px 20px 17px; }
  .sample-body h3 { font-size: 22px; }
  .sample-body p { font-size: 13px; }
  .sample-body p { margin-bottom: 15px; }
  .samples-footer { align-items: flex-start; flex-direction: column; gap: 18px; padding-top: 25px; margin-top: 26px; }
  .samples-footer strong { font-size: 17px; }
  .sample-modal { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 12px; }
  .sample-modal-head { padding: 15px 16px; }
  .sample-modal-head h3 { font-size: 20px; }
  .sample-modal-details { padding: 16px; }
  .sample-modal-details p { font-size: 13px; }
  .sample-modal-footer { padding: 13px 16px; gap: 12px; flex-wrap: wrap; }
  .sample-modal-footer .btn { flex-grow: 1; }
  .sample-pagination { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .sample-card, .sample-image img, .sample-preview-link svg { transition: none; }
  .sample-card:hover, .sample-card:hover .sample-image img, .sample-card:hover .sample-preview-link svg { transform: none; }
}
