.work-hero { min-height: 0; padding: 144px 0 65px; background: radial-gradient(circle at 85% 25%,rgba(219,193,142,.09),transparent 50%),#111a15; }
.work-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(35px,7vw,100px); align-items: center; }
.work-hero h1 { font-size: clamp(40px,5vw,68px); line-height: 1.08; letter-spacing: -.045em; margin: 20px 0 24px; color: var(--text); }
.work-hero h1 span { color: var(--accent); }
.work-hero-copy > p { max-width: 47ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.work-hero-copy .eyebrow { font-size: 10px; }
.work-hero .projects-hero-actions { gap: 23px; }
.work-hero .projects-text-link { color: var(--text); }
.work-hero-visual { position: relative; margin: 0; height: 450px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #1d261e; }
.work-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.work-hero-visual figcaption { position: absolute; inset: auto 0 0; padding: 65px 25px 25px; background: linear-gradient(transparent,rgba(17,26,21,.95)); color: #f4f1e8; display: grid; gap: 5px; }
.work-hero-visual strong { font-size: 17px; font-weight: 550; }
.work-hero-visual span { font-size: 10px; color: #d7dfd2; }
.work-gallery { scroll-margin-top: 90px; padding-block: clamp(55px,7vw,90px); }
.work-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; }
.work-heading h2 { font: 500 clamp(30px,3.5vw,46px)/1.16 var(--font-display); letter-spacing: -.025em; margin: 20px 0 0; }
.work-heading .eyebrow { font-size: 10px; }
.work-heading > p { font-size: 14px; color: var(--muted); line-height: 1.85; max-width: 49ch; }
.work-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0; margin-top: 30px; border-block: 1px solid var(--line); }
.work-media-count { font-size: 12px; color: var(--muted); }
.work-media-tabs { display: flex; gap: 8px; }
.work-media-tabs button { cursor: pointer; padding: 11px 18px; min-height: 42px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 500 12px var(--font-body); }
.work-media-tabs button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.work-media-tabs button:hover { color: var(--text); border-color: var(--accent); }
.work-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 28px; }
.work-card { min-width: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg-soft); }
.work-card video { display: block; width: 100%; height: min(660px,67vw); object-fit: contain; background: #101611; }
.work-card-copy { padding: 22px 24px 24px; }
.work-card-copy > span { color: var(--accent); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.work-card-copy h3 { font: 500 23px/1.3 var(--font-display); margin: 12px 0; color: var(--text); }
.work-card-copy p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; }
.work-photo-link { position: relative; display: block; overflow: hidden; background: #101611; }
.work-photo-link img { width: 100%; height: min(600px,64vw); object-fit: contain; transition: transform .3s; }
.work-photo-link:hover img { transform: scale(1.025); }
.work-photo-link > span { position: absolute; right: 18px; bottom: 18px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(17,26,21,.8); color: #f4f1e8; font-size: 11px; }
.work-media-note { margin-top: 19px; font-size: 11px; color: var(--muted); line-height: 1.7; }
.work-source-link { display: inline-flex; align-items: center; gap: 20px; margin-top: 24px; padding-bottom: 8px; border-bottom: 1px solid var(--accent); color: var(--text); font-size: 12px; }
.work-dialog { position: fixed; inset: 0; margin: auto; width: min(800px,94vw); max-height: 94dvh; padding: 20px; background: var(--bg-card); color: var(--text); border: 1px solid var(--line); border-radius: 18px; }
.work-dialog::backdrop { background: rgba(7,12,9,.85); }
.work-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.work-dialog h2 { font: 500 18px/1.4 var(--font-body); }
.work-dialog-close { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: var(--bg-soft); font: 24px/1 var(--font-body); cursor: pointer; }
.work-dialog img { display: block; width: 100%; max-height: calc(94dvh - 100px); object-fit: contain; background: #101611; }
.work-media-tabs[hidden],.work-grid [hidden] { display: none; }
@media(max-width:800px) { .work-hero { padding: 125px 0 45px; } .work-hero-grid { grid-template-columns: 1fr 0.8fr; gap: 26px; } .work-hero-visual { height: 370px; } .work-heading { grid-template-columns: 1fr; gap: 20px; } .work-grid { gap: 16px; } }
@media(max-width:600px) { .work-hero-grid,.work-grid { grid-template-columns: 1fr; } .work-hero h1 { font-size: 42px; } .work-hero-visual { height: 330px; } .work-hero-visual img { object-position: center 68%; } .work-card video,.work-photo-link img { height: auto; max-height: 650px; aspect-ratio: 512/910; } .work-card-copy { padding: 20px; } .work-toolbar { gap: 18px; } .work-media-tabs { width: 100%; } .work-media-tabs button { flex: 1; } .work-dialog { padding: 16px; } }
@media(prefers-reduced-motion:reduce) { .work-photo-link img { transition: none; } }

/* Published Instagram media: preserve the full post artwork and original colors. */
.work-feed { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; }
.work-feed .work-card { display: flex; flex-direction: column; height: 100%; }
.work-feed .work-card video,.work-feed .work-photo-link,.work-feed .work-photo-link img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: contain; background: #111a15; }
.work-feed .work-photo-link img { display: block; filter: none; mix-blend-mode: normal; transform: none; }
.work-feed .work-card-copy { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.work-feed .work-card-copy h3 { font-size: 23px; }
.work-feed .work-card-copy > p { margin-bottom: 20px; }
.work-post-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 14px; font-size: 9px; color: var(--muted); }
.work-post-meta span { color: var(--accent); }
.work-instagram-link { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--accent); font-size: 11px; }
.work-instagram-link:hover { color: var(--text); }
.work-in-progress { display: inline-block; align-self: flex-start; margin: 0 0 16px; padding: 6px 10px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--line); border-radius: 999px; font-size: 10px; }
.work-hero--instagram .work-hero-visual { height: auto; background: #e9dfcd; }
.work-hero--instagram .work-hero-visual img { width: 100%; height: auto; max-height: 520px; object-fit: contain; object-position: center; }
.work-hero--instagram .work-hero-visual figcaption { position: static; padding: 18px 22px; background: #23372b; }
.work-hero--instagram .work-hero-visual span { color: #d7dfd2; }
.work-hero--instagram .work-hero-visual strong { color: #f4f1e8; }
@media(max-width:1000px) { .work-feed { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .work-feed { grid-template-columns: 1fr; } .work-media-tabs { flex-wrap: wrap; } .work-media-tabs button { padding: 10px 12px; flex: 1 1 auto; } .work-hero--instagram .work-hero-visual img { max-height: 470px; } }
