.project-detail-hero {
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 80px 28px;
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
gap: 60px;
align-items: center;
} .project-video-container {
width: 100%;
min-width: 0;
border: 1px solid var(--line);
border-radius: var(--radius);
overflow: hidden;
background: var(--soft);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}
.project-video {
display: block;
width: 100%;
height: auto;
max-height: 520px;
aspect-ratio: 16 / 10;
object-fit: cover;
} .project-info-container {
display: flex;
flex-direction: column;
min-width: 0;
}
.project-info-container h1 {
max-width: 100%;
margin: 0;
font-size: clamp(38px, 4.5vw, 62px);
font-weight: 700;
line-height: 0.98;
letter-spacing: -0.07em;
overflow-wrap: break-word;
}
.project-info-container h1 em {
font-family: Newsreader, serif;
font-weight: 400;
letter-spacing: -0.06em;
}
.project-lede {
max-width: 100%;
margin: 24px 0 30px;
color: var(--muted);
font-size: 16px;
line-height: 1.7;
overflow-wrap: break-word;
} .project-meta-details {
display: flex;
flex-direction: column;
gap: 12px;
margin-bottom: 34px;
padding: 20px 0;
border-top: 1px solid var(--line);
border-bottom: 1px solid var(--line);
}
.meta-item {
display: flex;
align-items: baseline;
gap: 12px;
color: var(--ink);
font-size: 14px;
line-height: 1.5;
overflow-wrap: break-word;
}
.meta-item strong {
flex-shrink: 0;
margin-right: 0;
color: var(--muted);
font-family: "DM Mono", monospace;
font-size: 12px;
font-weight: 500;
letter-spacing: 0.05em;
} .project-gallery-section {
width: 100%;
max-width: 1280px;
margin: 0 auto 100px;
padding: 80px 28px 0;
border-top: 1px solid var(--line);
}
.project-gallery-header {
margin-bottom: 40px;
}
.project-gallery-header h2 {
max-width: 100%;
margin: 0;
font-size: clamp(32px, 4vw, 50px);
font-weight: 700;
line-height: 1;
letter-spacing: -0.07em;
overflow-wrap: break-word;
}
.project-gallery-header h2 em {
font-family: Newsreader, serif;
font-weight: 400;
letter-spacing: -0.06em;
} .gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
gap: 28px;
}
.gallery-item {
position: relative;
width: 100%;
height: 320px;
min-width: 0;
border: 1px solid var(--line);
border-radius: var(--radius);
overflow: hidden;
background: var(--soft);
}
.gallery-item img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img {
transform: scale(1.03);
} @media (max-width: 1050px) {
.project-detail-hero {
gap: 40px;
}
.project-info-container h1 {
font-size: clamp(38px, 5vw, 54px);
}
.gallery-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 22px;
}
.gallery-item {
height: 280px;
}
} @media (max-width: 900px) {
.project-detail-hero {
grid-template-columns: minmax(0, 1fr);
gap: 40px;
padding: 50px 20px;
}
.project-video-container {
width: 100%;
}
.project-video {
width: 100%;
max-height: none;
aspect-ratio: 16 / 9;
}
.project-info-container {
width: 100%;
}
.project-info-container h1 {
font-size: clamp(38px, 8vw, 54px);
}
.project-gallery-section {
margin-bottom: 70px;
padding: 50px 20px 0;
}
.gallery-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 20px;
}
.gallery-item {
height: 250px;
}
} @media (max-width: 700px) {
.project-detail-hero {
gap: 32px;
padding: 40px 20px 55px;
}
.project-info-container h1 {
font-size: clamp(36px, 11vw, 48px);
line-height: 1;
}
.project-lede {
margin: 20px 0 26px;
font-size: 15px;
line-height: 1.65;
}
.project-meta-details {
gap: 14px;
margin-bottom: 28px;
padding: 18px 0;
}
.meta-item {
align-items: flex-start;
}
.project-gallery-section {
margin-bottom: 60px;
padding: 45px 20px 0;
}
.project-gallery-header {
margin-bottom: 28px;
}
.project-gallery-header h2 {
font-size: clamp(31px, 9vw, 42px);
}
.gallery-grid {
grid-template-columns: minmax(0, 1fr);
gap: 18px;
}
.gallery-item {
height: auto;
aspect-ratio: 4 / 3;
}
} @media (max-width: 480px) {
.project-detail-hero {
gap: 28px;
padding: 32px 16px 48px;
}
.project-video {
aspect-ratio: 4 / 3;
}
.project-info-container h1 {
font-size: clamp(34px, 11vw, 43px);
letter-spacing: -0.06em;
}
.project-lede {
font-size: 14px;
}
.meta-item {
display: grid;
grid-template-columns: 1fr;
gap: 4px;
}
.meta-item strong {
display: block;
}
.project-gallery-section {
margin-bottom: 45px;
padding: 38px 16px 0;
}
.project-gallery-header {
margin-bottom: 24px;
}
.gallery-grid {
gap: 16px;
}
.gallery-item {
aspect-ratio: 1 / 1;
}
} @media (max-width: 900px) and (max-height: 520px) {
.project-detail-hero {
padding-top: 32px;
padding-bottom: 40px;
}
.project-video {
max-height: 360px;
aspect-ratio: 16 / 9;
}
.gallery-item {
height: 230px;
aspect-ratio: auto;
}
} @media (hover: none) {
.gallery-item:hover img {
transform: none;
}
} @media (prefers-reduced-motion: reduce) {
.gallery-item img {
transition: none;
}
.gallery-item:hover img {
transform: none;
}
}