.gallery-main { overflow: hidden; }
.gallery-hero { padding: 82px 0 70px; background: radial-gradient(circle at 80% 12%, rgba(194,125,120,.16), transparent 30%), linear-gradient(180deg, var(--paper), #eee9e1); border-bottom: 1px solid var(--line); }
.gallery-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr); gap: 70px; align-items: center; }
.gallery-hero h1 { margin: 0; max-width: 760px; color: var(--ink); font-family: ui-serif, Georgia, serif; font-size: clamp(3.5rem, 7vw, 6.4rem); font-weight: 600; letter-spacing: -.05em; line-height: .93; }
.gallery-lede { max-width: 760px; margin: 24px 0 0; color: #514b49; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.gallery-hero-preview { min-height: 500px; position: relative; }
.gallery-hero-preview img { position: absolute; width: 43%; max-height: 500px; object-fit: contain; filter: drop-shadow(0 24px 34px rgba(25,25,28,.18)); }
.gallery-hero-preview img:nth-child(1) { left: 0; top: 30px; transform: rotate(-5deg); }
.gallery-hero-preview img:nth-child(2) { left: 29%; top: 0; z-index: 2; }
.gallery-hero-preview img:nth-child(3) { right: 0; top: 34px; transform: rotate(5deg); }
.theme-picker-section { background: var(--paper); border-bottom: 1px solid var(--line); padding: 46px 0; }
.theme-picker-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.theme-picker-heading h2 { margin: 0; color: var(--ink); font-family: ui-serif, Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.theme-picker-heading > p { margin: 0; color: #68615f; }
.theme-picker { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.theme-button { display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 12px 15px; text-align: left; cursor: pointer; color: var(--ink); background: var(--page); border: 1px solid var(--line); border-radius: 18px; }
.theme-button:hover { border-color: rgba(44,42,41,.3); }
.theme-button[aria-pressed="true"] { background: #fff; border-color: var(--terracotta); box-shadow: 0 10px 28px rgba(30,22,28,.08); }
.theme-button > span:last-child { display: grid; gap: 2px; }
.theme-button strong { font-size: .94rem; line-height: 1.2; }
.theme-button small { color: #7b7471; font-weight: 800; letter-spacing: .08em; }
.theme-swatch { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; border: 1px solid rgba(0,0,0,.1); box-shadow: inset 0 0 0 7px rgba(255,255,255,.28); }
.swatch-ab { background: linear-gradient(135deg, #f2eee5 0 50%, #81908d 50%); }
.swatch-cq { background: linear-gradient(135deg, #d7c7ad 0 50%, #454445 50%); }
.swatch-vp { background: linear-gradient(135deg, #2b1b26 0 50%, #d9aeb2 50%); }
.noscript-note { margin: 14px 0 0; color: #6d6663; }
.gallery-content { padding-top: 24px; padding-bottom: 84px; }
.gallery-device { padding: 62px 0 20px; border-bottom: 1px solid var(--line); }
.gallery-row-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; }
.gallery-row-heading .eyebrow { margin-bottom: 8px; }
.gallery-row-heading h2 { margin: 0; color: var(--ink); font-family: ui-serif, Georgia, serif; font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.gallery-row-heading p:last-child { margin: 10px 0 0; max-width: 690px; color: #68615f; }
.scroll-hint { color: var(--mineral); font-size: .8rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.gallery-track { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 1px; padding: 4px 2px 28px; scrollbar-width: thin; }
.gallery-card { flex: 0 0 auto; scroll-snap-align: start; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 12px 36px rgba(30,22,28,.07); }
.gallery-card[hidden] { display: none; }
.gallery-image-link { display: flex; justify-content: center; align-items: center; background: linear-gradient(150deg, #eee9e1, #faf8f4); text-decoration: none; min-height: 380px; }
.gallery-card img { width: 100%; height: 520px; object-fit: contain; }
.gallery-card-phone { width: min(330px, 78vw); }
.gallery-card-tablet { width: min(430px, 84vw); }
.gallery-card-tablet img { height: 560px; }
.gallery-card-landscape { width: min(650px, 88vw); }
.gallery-card-landscape img { height: 430px; }
.gallery-card-landscape.gallery-card:nth-child(n) .gallery-image-link { min-height: 360px; }
.gallery-card figcaption { padding: 16px 18px 18px; display: grid; gap: 3px; }
.gallery-card figcaption strong { color: var(--ink); font-family: ui-serif, Georgia, serif; font-size: 1.06rem; }
.gallery-card figcaption span { color: #766f6c; font-size: .82rem; }
.launch-gallery { border-bottom: 0; }
.gallery-bottom-cta { background: var(--plum); padding: 66px 0; }
.gallery-bottom-panel { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.gallery-bottom-panel .eyebrow { color: var(--terracotta); }
.gallery-bottom-panel h2 { margin: 0; color: #fff7f1; font-family: ui-serif, Georgia, serif; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; }
.gallery-bottom-panel p:last-child { max-width: 760px; color: #d9c9ca; margin: 12px 0 0; }
.gallery-light-button { background: #fff7f1; color: var(--plum); flex: 0 0 auto; }
@media (max-width: 900px) { .gallery-hero-grid { grid-template-columns: 1fr; gap: 28px; } .gallery-hero-preview { max-width: 600px; width: 100%; min-height: 430px; margin-inline: auto; } .theme-picker-heading { align-items: start; flex-direction: column; gap: 12px; } }
@media (max-width: 680px) { .gallery-hero { padding: 58px 0 48px; } .gallery-hero-preview { min-height: 330px; } .gallery-hero-preview img { max-height: 330px; } .theme-picker { grid-template-columns: 1fr; } .gallery-device { padding-top: 46px; } .gallery-row-heading { align-items: start; } .gallery-row-heading p:last-child { font-size: .92rem; } .scroll-hint { margin-top: 8px; } .gallery-card img { height: 450px; } .gallery-card-tablet img { height: 480px; } .gallery-card-landscape img { height: 310px; } .gallery-bottom-panel { flex-direction: column; align-items: flex-start; } }
