/* Profile page (/profile + 5 languages) compact layout — 27 Sep 2026. Scoped to main.profile-compact only. Logo palette (theme-guide). */
.profile-compact{--pf-blue:#0068DF;--pf-blue-hover:#0055B7;--pf-navy:#0D4875;--pf-ink:#3A3A3A;--pf-text-mid:#555555;--pf-line:#DFE2E4;--pf-wash:#F3F8FE;--pf-sky:#4CBAEB;--pf-white:#FFFFFF}

.profile-compact>.section{padding-top:38px;padding-bottom:38px}
.profile-compact>.section h2{font-size:25px;margin:0 0 6px;color:var(--pf-ink)}
.profile-compact .button{background:var(--pf-blue);color:var(--pf-white)}
.profile-compact .button:hover{background:var(--pf-blue-hover);color:var(--pf-white)}
.profile-compact .text-link{color:var(--pf-navy);gap:.3em}
html[lang="en"] .profile-compact .page-hero .lead::after{display:block;min-height:48px;margin-top:22px;padding:12px 18px 12px 180px;border:1px solid var(--pf-line);border-radius:12px;background:var(--pf-white) url('/live-assets/20260909/approved-logo-20260915.webp') no-repeat 18px center/140px auto;box-shadow:0 1px 2px rgba(16,56,77,.05);color:var(--pf-text-mid);content:"The DigitEMB mark: our blue wordmark and stitched-circle symbol represent the artwork and custom-product services brought together here.";font-size:14px;line-height:1.55}

/* Services: four cards in one row (a swipe row on phones) */
.profile-compact .card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:18px}
.profile-compact .link-card{padding:20px;border:1px solid var(--pf-line);border-radius:10px;background:var(--pf-white);box-shadow:0 1px 2px rgba(16,56,77,.05);transition:transform 180ms ease,box-shadow 180ms ease,border-color 180ms ease}
.profile-compact .link-card:hover,.profile-compact .link-card:focus-within{transform:translateY(-5px);border-color:var(--pf-blue);box-shadow:0 12px 24px rgba(16,56,77,.14)}
.profile-compact .link-card a:focus-visible{outline:3px solid rgba(0,104,223,.15);outline-offset:3px;border-radius:2px}
.profile-compact .link-card h3{font-size:18px;line-height:1.3;margin:0 0 8px;color:var(--pf-ink)}
.profile-compact .link-card p{font-size:15.5px;line-height:1.6;margin:0;color:var(--pf-text-mid)}

/* How to start: three steps in one row */
.profile-compact>.service-pale{background:var(--pf-wash)}
.profile-compact .process-grid{gap:24px;margin-top:18px}
.profile-compact .process-grid article{border-inline-start:3px solid var(--pf-sky);padding:10px 12px 10px 14px;border-radius:0 8px 8px 0;transition:transform 180ms ease,background-color 180ms ease,box-shadow 180ms ease}
.profile-compact .process-grid article:hover{transform:translateX(5px);background:var(--pf-white);box-shadow:0 8px 18px rgba(16,56,77,.09)}
.profile-compact .process-grid h3{font-size:18px;margin:0 0 6px;color:var(--pf-ink)}
.profile-compact .process-grid p{font-size:15.5px;line-height:1.6;margin:0;color:var(--pf-text-mid)}
.profile-compact>.service-pale .text-link{margin-top:10px}

/* See the work: words and contact line on one side, buttons on the other */
.profile-compact>section.wrap.section:last-of-type{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:48px;row-gap:0;align-items:center}
.profile-compact>section.wrap.section:last-of-type>h2{grid-column:1;grid-row:1}
.profile-compact>section.wrap.section:last-of-type>p:first-of-type{grid-column:1;grid-row:2;margin:0;font-size:16.5px;line-height:1.6;color:var(--pf-text-mid)}
.profile-compact>section.wrap.section:last-of-type>p:last-child{grid-column:1;grid-row:3;margin:8px 0 0;font-size:15px;line-height:1.7;color:var(--pf-text-mid)}
.profile-compact>section.wrap.section:last-of-type>.hero-actions{grid-column:2;grid-row:1/span 3;margin-top:0;align-self:center}
.profile-compact>section.wrap.section:last-of-type>p:last-child a{color:var(--pf-navy);font-weight:600}
.profile-compact>section.wrap.section:last-of-type>p:last-child a[href^="https://wa.me"]{margin-inline-start:14px}

@media (max-width:980px){
  .profile-compact .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-compact>section.wrap.section:last-of-type{grid-template-columns:1fr}
  .profile-compact>section.wrap.section:last-of-type>h2,
  .profile-compact>section.wrap.section:last-of-type>p:first-of-type,
  .profile-compact>section.wrap.section:last-of-type>.hero-actions,
  .profile-compact>section.wrap.section:last-of-type>p:last-child{grid-column:1;grid-row:auto}
  .profile-compact>section.wrap.section:last-of-type>.hero-actions{margin-top:12px;order:3}
  .profile-compact>section.wrap.section:last-of-type>p:last-child{order:4}
}
@media (max-width:767px){
  .profile-compact>.section{padding-top:28px;padding-bottom:28px}
  .profile-compact>.section h2{font-size:22px}
  .profile-compact .card-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin-inline:-22px;padding:0 22px 6px;scroll-padding-inline:22px}
  .profile-compact .link-card{flex:0 0 78%;scroll-snap-align:start;padding:16px}
  .profile-compact .link-card h3{font-size:17px}
  .profile-compact .link-card p{font-size:15px;line-height:1.55}
  html[lang="en"] .profile-compact .page-hero .lead::after{margin-top:18px;padding:10px 12px 10px 132px;background-position:12px center;background-size:104px auto;font-size:13px}
  .profile-compact .process-grid{grid-template-columns:1fr;gap:14px}
  .profile-compact .process-grid h3{font-size:17px}
  .profile-compact .process-grid p{font-size:15px;line-height:1.55}
}
@media (prefers-reduced-motion:reduce){
  .profile-compact .link-card,.profile-compact .process-grid article{transition:none}
  .profile-compact .link-card:hover,.profile-compact .link-card:focus-within,.profile-compact .process-grid article:hover{transform:none}
}
