﻿/* Shared project landing pages, galleries and larger idea cards. */
.project-hero { position:relative; height:clamp(440px,43vw,590px); background:#243271; overflow:hidden; }
.project-hero > img { width:100%; height:100%; object-fit:cover; }
.project-hero-shade { position:absolute; inset:0; background:linear-gradient(90deg,#15244de8,#1c2c6660 65%,#1c2c6610); }
.project-hero-content { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:space-between; padding-top:25px; padding-bottom:45px; }
.project-hero-copy { max-width:700px; }
.project-hero .material-eyebrow { color:#ffd0ac; }
.project-page .project-hero h1 { font-size:clamp(34px,4vw,53px); line-height:1.13; font-weight:700; letter-spacing:-1px; color:white; margin:0 0 18px; }
.project-hero h1 span { display:block; color:#ffa561; }
.project-hero p { color:#e6ecf8; font-size:19px; line-height:1.6; max-width:570px; margin:0 0 25px; }
.project-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; margin-bottom:28px; }
.project-page .project-section-heading h2 { font-size:32px; font-weight:700; }
.project-section-heading > p { color:#647084; font-size:15px; margin:0; }
.project-gallery-section { scroll-margin-top:95px; }
.project-gallery { border:1px solid #e3e8f1; border-radius:20px; padding:16px; background:#f5f7fb; }
.project-gallery-stage { position:relative; height:470px; border-radius:12px; background:#e9edf4; overflow:hidden; }
.project-gallery-main { display:block; width:100%; height:100%; object-fit:contain; }
.project-gallery-arrow { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border:1px solid #ffffff80; border-radius:50%; background:#fffffff2; color:#243271; box-shadow:0 3px 14px #24327120; font-size:27px; cursor:pointer; transition:background .2s,color .2s; }
.project-gallery-previous { left:16px; }.project-gallery-next { right:16px; }
.project-gallery-arrow:hover { background:#243271; color:white; }
.project-gallery-expand { position:absolute; bottom:16px; right:16px; display:flex; align-items:center; gap:10px; border:1px solid #ffffff50; background:#243271e8; color:white; font:700 13px 'PT Sans',Arial,sans-serif; padding:10px 15px; border-radius:8px; cursor:pointer; }
.project-gallery-toolbar { display:flex; justify-content:space-between; gap:15px; padding:15px 3px; color:#647084; font-size:13px; }
.project-gallery-count { color:#243271; font-weight:700; letter-spacing:2px; font-variant-numeric:tabular-nums; }
.project-gallery-thumbnails { display:flex; gap:12px; overflow-x:auto; padding:3px 2px 7px; }
.project-gallery-thumbnails button { position:relative; flex:1 0 110px; max-width:190px; height:100px; border:3px solid transparent; border-radius:10px; padding:0; overflow:hidden; background:#e3e9f1; cursor:pointer; transition:border-color .2s,opacity .2s; opacity:.65; }
.project-gallery-thumbnails button[aria-pressed=true] { opacity:1; border-color:#e87523; }
.project-gallery-thumbnails button:hover { opacity:1; }
.project-gallery-thumbnails img { width:100%; height:100%; object-fit:cover; }
.project-gallery-thumbnails span { position:absolute; left:7px; bottom:6px; padding:2px 6px; color:white; background:#243271b0; font-size:10px; border-radius:4px; }
.project-lightbox { width:min(1150px,calc(100% - 32px)); max-width:none; max-height:94vh; padding:20px; border:1px solid #ffffff35; border-radius:16px; background:#17234c; color:white; box-shadow:0 25px 90px #0b153b70; }
.project-lightbox::backdrop { background:#0b153bd9; backdrop-filter:blur(5px); }
.project-lightbox-image { display:block; width:100%; height:72vh; object-fit:contain; }
.project-lightbox-close { position:absolute; top:10px; right:10px; width:36px; height:36px; border:1px solid #ffffff40; border-radius:50%; background:#ffffffed; color:#243271; font-size:26px; cursor:pointer; z-index:1; }
.project-lightbox-toolbar { display:flex; align-items:center; justify-content:center; gap:24px; padding-top:10px; }
.project-lightbox-toolbar button { width:38px; height:38px; border:1px solid #ffffff50; border-radius:50%; background:transparent; color:white; font-size:26px; cursor:pointer; }
.project-lightbox-count { font-size:13px; letter-spacing:2px; font-variant-numeric:tabular-nums; }
.project-contact { display:flex; justify-content:space-between; align-items:center; gap:25px; padding-top:30px; padding-bottom:30px; margin-top:15px; margin-bottom:20px; border:1px solid #f4dfcf; border-radius:16px; background:#fff7f0; }
.project-page .project-contact h2 { font-size:29px; }
.material-page .material-ideas-section { max-width:1400px; }
.material-page .material-ideas-grid { gap:26px; }
.material-page .material-idea { transition:transform .3s,box-shadow .3s,border-color .3s; border-radius:17px; }
.material-page .material-idea > img { height:330px; transition:transform .65s cubic-bezier(.2,.7,.2,1); }
.material-page .material-idea > span { position:relative; background:white; padding:26px; font-size:20px; z-index:1; min-height:95px; }
.material-page .material-idea i { transition:transform .3s; }
.material-page .material-idea:hover,.material-page .material-idea:focus-visible { transform:translateY(-6px); border-color:#edb58e; box-shadow:0 18px 38px #24327118; }
.material-page .material-idea:hover > img,.material-page .material-idea:focus-visible > img { transform:scale(1.045); }
.material-page .material-idea:hover i { transform:translateX(5px); }
[data-reveal].reveal-pending { opacity:0; transform:translateY(20px); }
[data-reveal] { transition:opacity .65s,transform .65s; transition-delay:var(--reveal-delay,0ms); }
@media(max-width:991px) { .project-gallery-stage { height:390px; }.material-page .material-idea > img { height:280px; }.material-page .material-idea > span { padding:22px; font-size:18px; } }
@media(max-width:767px) { .project-hero { height:480px; }.project-hero-content { padding-bottom:32px; }.project-hero .material-breadcrumb { flex-wrap:wrap; row-gap:5px; }.project-hero p { font-size:17px; }.project-section-heading,.project-contact { align-items:flex-start; flex-direction:column; gap:18px; }.project-gallery { padding:10px; border-radius:14px; }.project-gallery-stage { height:320px; }.project-gallery-thumbnails button { flex:0 0 100px; height:78px; }.project-gallery-expand { right:10px; bottom:10px; padding:8px 11px; font-size:12px; }.project-gallery-toolbar { font-size:11px; }.project-gallery-arrow { width:36px; height:36px; font-size:24px; }.project-gallery-previous { left:10px; }.project-gallery-next { right:10px; }.material-page .material-idea { flex-direction:column; }.material-page .material-idea > img { width:100%; height:270px; }.material-page .material-idea > span { min-height:85px; }.project-lightbox { padding:12px; }.project-lightbox-image { height:65vh; }.project-page .project-contact h2 { font-size:25px; } }
@media(max-width:420px) { .project-hero { height:480px; }.project-gallery-stage { height:280px; }.project-gallery-toolbar > span:first-child { max-width:205px; }.material-page .material-idea > img { height:250px; }.project-page .project-hero h1 { font-size:36px; }.project-contact .material-button { width:100%; } }
@media(prefers-reduced-motion:reduce) { [data-reveal].reveal-pending { opacity:1; transform:none; }.material-page .material-idea,.material-page .material-idea > img,.material-page .material-idea i,[data-reveal] { transition:none!important; transform:none!important; } }
