/* Modifications page (p-modifications) */
.avatar--w { background: var(--blue-deep) !important; }
.intro-head { max-width: 980px; }
.intro-head p { max-width: 820px; }

/* design. convert. deliver. */
.dcd-grid { align-items: start; }
.dcd-sub { font-size: 24px; font-weight: 600; color: var(--blue-deep); margin-top: 10px; letter-spacing: .02em; }
.dcd-grid .prod-copy > p + p { margin-top: 14px; }
.dcd-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: sticky; top: 100px; }
.dcd-mosaic figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--navy); aspect-ratio: 1; }
.dcd-mosaic .dcd-main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.dcd-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dcd-mosaic figure:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .dcd-mosaic { position: static; } }

/* makeovers: overlay caption cards */
.makeovers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 32px); }
.makeover { position: relative; border-radius: 14px; overflow: hidden; background: var(--navy); color: var(--white); min-height: 440px; display: grid; align-items: end; isolation: isolate; }
.makeover-media { position: absolute; inset: 0; z-index: -1; }
.makeover-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.makeover-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,37,50,0) 30%, rgba(11,37,50,.92) 88%); }
.makeover:hover .makeover-media img { transform: scale(1.04); }
.makeover-body { padding: clamp(22px, 3vw, 34px); display: grid; gap: 8px; }
.makeover-body h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 600; line-height: 1; }
.makeover-body p { color: rgba(255,255,255,.85); font-size: 16px; max-width: 520px; }
.proj-tag { justify-self: start; display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; background: var(--blue); color: var(--ink); padding: 4px 10px; border-radius: 5px; }
@media (max-width: 800px) { .makeovers { grid-template-columns: 1fr; } .makeover { min-height: 380px; } }

/* recent projects: filterable gallery */
.recent-head { margin-top: clamp(64px, 8vw, 104px); margin-bottom: 24px; }
.proj-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(28px, 3.5vw, 40px); }
.proj-filter[hidden] { display: none; }
.chip { min-height: 44px; padding: 0 18px; border: 1px solid #cfd6db; border-radius: 999px; background: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.proj-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); grid-auto-flow: dense; }
.proj[hidden] { display: none; }
.proj figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.proj figure:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(11,37,50,.55); }
.proj figure:focus { outline: 3px solid var(--blue); outline-offset: 3px; }
.proj-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.proj figure:hover .proj-media img { transform: scale(1.05); }
.proj figcaption { padding: 16px 18px 20px; display: grid; gap: 6px; align-content: start; }
.proj figcaption .proj-tag { background: var(--blue-soft); color: var(--blue-deep); font-size: 13px; }
.proj figcaption h3 { font-size: 22px; font-weight: 600; color: var(--navy); line-height: 1.05; }
.proj figcaption p { font-size: 15px; color: var(--muted); }
.proj--feature { grid-column: span 2; }
.proj--feature figure { display: grid; grid-template-columns: 1.1fr 1fr; }
.proj--feature .proj-media { aspect-ratio: auto; min-height: 100%; }
.proj--feature figcaption { padding: 22px; align-content: center; }
.proj--feature h3 { font-size: 28px; }
.proj-scope { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.proj-scope li { font-size: 14px; color: var(--text); padding-left: 16px; position: relative; }
.proj-scope li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); }
.proj-grid.is-filtered .proj--feature { grid-column: auto; }
.proj-grid.is-filtered .proj--feature figure { display: flex; }
.proj-grid.is-filtered .proj--feature .proj-media { aspect-ratio: 4 / 3; min-height: 0; }
.proj-grid.is-filtered .proj--feature figcaption { padding: 16px 18px 20px; align-content: start; }
.proj-grid.is-filtered .proj--feature h3 { font-size: 22px; }
.proj.is-in { animation: proj-in .5s var(--ease) both; }
@keyframes proj-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.proj-more { display: flex; justify-content: center; margin-top: clamp(28px, 3.5vw, 44px); }
.proj-more[hidden] { display: none; }
.proj-more svg { width: 18px; height: 18px; }
@media (max-width: 1100px) { .proj-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .proj--feature { grid-column: span 3; } }
@media (max-width: 800px) { .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proj--feature { grid-column: span 2; } }
@media (max-width: 560px) {
  .proj-grid { grid-template-columns: 1fr; } .proj--feature { grid-column: auto; }
  .proj--feature figure { grid-template-columns: 1fr; } .proj--feature .proj-media { aspect-ratio: 4 / 3; }
  .proj-filter { justify-content: flex-start; }
}

/* process band heading width */
#process .sec-head { max-width: 900px; }

/* accessories */
.acc-grid { align-items: start; }
.acc-ideas { display: grid; gap: 14px; margin-top: 18px; }
.acc-ideas p { color: var(--muted); padding-left: 18px; border-left: 3px solid var(--blue-soft); }
.acc-ideas strong { color: var(--navy); }
.acc-side { display: grid; gap: 18px; }
.acc-box { border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 16px; background: var(--white); }
.acc-box > p { color: var(--muted); font-size: 15px; }
.acc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.acc-list li { display: grid; justify-items: center; gap: 8px; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); line-height: 1.1; padding: 12px 6px; border-radius: 10px; background: var(--paper); }
.acc-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--blue-deep); display: grid; place-items: center; }
.acc-icon svg { width: 24px; height: 24px; }
.acc-box .btn { justify-self: start; }
@media (max-width: 520px) { .acc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  .proj-grid.is-filtered .proj--feature { grid-column: auto; }
.proj-grid.is-filtered .proj--feature figure { display: flex; }
.proj-grid.is-filtered .proj--feature .proj-media { aspect-ratio: 4 / 3; min-height: 0; }
.proj-grid.is-filtered .proj--feature figcaption { padding: 16px 18px 20px; align-content: start; }
.proj-grid.is-filtered .proj--feature h3 { font-size: 22px; }
.proj.is-in { animation: none; }
  .proj figure, .proj-media img, .makeover-media img, .dcd-mosaic img { transition: none; }
}
#process .steps-grid { list-style: none; padding: 0; margin: 0; }
