
.shop-page .portfolio-layout > .collection-head { align-items: center; }
.shop-grid-wrap { grid-column: 8 / -1; grid-row: 3; min-width: 0; }
.shop-grid-wrap .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 32px; }

.shop-filters { display: flex; flex-wrap: wrap; gap: 4px 18px; font: 300 12px/1 "DM Sans", sans-serif; letter-spacing: .025em; }
.shop-filters button { min-height: 36px; padding: 0; border: 0; background: none; color: var(--muted); }
.shop-filters button:hover { color: var(--text); }
.shop-filters button[aria-pressed="true"] { color: var(--text); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: .5px; }

.shop-grid .caption { grid-template-columns: 1fr auto; }
.shop-grid .caption .price { grid-column: 2; grid-row: 1; font: 300 13px/1.45 "DM Sans", sans-serif; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.shop-grid .caption p { grid-column: 1 / -1; }
.shop-note { font: 300 13px/1.6 "DM Sans", sans-serif; color: var(--muted); }

footer .footer-links { display: inline-flex; gap: 24px; flex-wrap: wrap; }

.product { padding-top: 28px; }
.crumbs { margin: 0 0 40px; font: 300 12px/1 "DM Sans", sans-serif; letter-spacing: .025em; color: var(--muted); }
.crumbs a:hover { color: var(--text); }


.product-meta { margin: 0 0 12px; font: 300 11px/1.4 "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #9A9A94; }
.product-info h1 { margin: 0; font: 300 clamp(36px, 3.4vw, 52px)/1.05 "Cormorant Garamond", Georgia, serif; letter-spacing: -.015em; }
.product-price { margin: 14px 0 0; font: 300 15px/1 "DM Sans", sans-serif; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.product-price small { margin-left: 6px; font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.product-summary { margin: 24px 0 0; font: 200 14px/1.8 "DM Sans", sans-serif; letter-spacing: .012em; color: #55554F; }

.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.product-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; font: 300 13px/1 "DM Sans", sans-serif; letter-spacing: .04em; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.product-actions .buy { flex: 1 1 160px; background: #1A1A18; color: #FCFBF8; border: .5px solid #1A1A18; }
.product-actions .buy:hover { background: #3A3A36; }
.product-actions .demo { flex: 1 1 140px; border: .5px solid #C9C8C1; color: var(--text); }
.product-actions .demo:hover { border-color: #1A1A18; }
.product-fine { margin: 10px 0 0; min-height: 1em; font: 300 11px/1.5 "DM Sans", sans-serif; letter-spacing: .02em; color: var(--muted); }



.product-more { margin-top: 120px; }
.product-more h2 { margin: 0 0 32px; font: 300 26px/1.1 "Cormorant Garamond", Georgia, serif; }
.product-more .projects { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 28px; }

.product-missing { max-width: 520px; padding-block: 80px; font: 300 14px/1.8 "DM Sans", sans-serif; }
.product-missing a { border-bottom: .5px solid currentColor; }

.thanks { max-width: 640px; padding-block: 120px 40px; }
.thanks h1 { margin: 0 0 24px; font: 300 clamp(32px, 3vw, 44px)/1.15 "Cormorant Garamond", Georgia, serif; }
.thanks .product-actions a { flex: 0 0 auto; }

@media (max-width: 1100px) {
  .shop-grid-wrap .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 28px; }
  .product-more .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .shop-page .portfolio-layout { display: block; }
  .shop-page .studio-intro { padding: 48px 0 8px; }
  .shop-grid-wrap .projects { grid-template-columns: 1fr; gap: 40px; }
  .shop-page .studio-statement { font-size: 28px !important; }
  .crumbs { margin-bottom: 28px; }
  .product-more { margin-top: 80px; }
  footer { flex-wrap: wrap; }
}

.wedding { margin-top: 140px; padding-top: 56px; border-top: .5px solid #E6E5E0; }
.wedding-head { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); align-items: end; margin-bottom: 48px; }
.wedding-head > div:first-child { grid-column: 1 / span 7; }
.wedding-copy { grid-column: 8 / -1; max-width: 640px; }
.wedding-copy .studio-description { margin-top: 0; }
.wedding h2 { margin: 0; font: italic 300 clamp(44px, 4.4vw, 68px)/1 "Cormorant Garamond", Georgia, serif; letter-spacing: -.02em; }
.wedding-plans { margin: 14px 0 0; font: 300 12px/1.8 "DM Sans", sans-serif; letter-spacing: .02em; color: #55554F; }
.wedding-plans span + span::before { content: "·"; margin: 0 10px; color: #B5B4AE; }
.wedding .product-actions { margin-top: 20px; }
.wedding .product-actions .demo { flex: 0 0 auto; }
.wedding-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.wedding-grid a, .wedding-grid .wedding-card { display: block; }
.wedding-grid .media { aspect-ratio: 4 / 5; }
.wedding-grid .media img { object-position: top; }
.wedding-grid a:is(:hover, :focus-visible) .media { filter: grayscale(0); }
.wedding-grid .caption { grid-template-columns: 1fr; }
.wedding-grid .caption h3 { margin: 0; font: 500 16px/1.4 "Cormorant Garamond", Georgia, serif; }
.wedding-soon { font-style: italic; }
@media (max-width: 1100px) {
  .wedding-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
}
@media (max-width: 700px) {
  .wedding { margin-top: 96px; padding-top: 40px; }
  .wedding-head { display: block; margin-bottom: 32px; }
  .wedding-copy { margin-top: 20px; }
  .wedding-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
}

.shop-page .studio-intro h1 { margin: 0 0 24px; font: 300 clamp(26px, 2.2vw, 32px)/1.1 "Cormorant Garamond", Georgia, serif; letter-spacing: -.005em; }
.shop-grid, .wedding-grid { counter-reset: work; }
.shop-grid > li, .wedding-grid > li { counter-increment: work; }
.shop-grid .caption, .wedding-grid .caption { display: grid !important; grid-template-columns: 26px minmax(0, 1fr) auto; column-gap: 8px; align-items: baseline; }
.shop-grid .caption::before, .wedding-grid .caption::before { content: counter(work, decimal-leading-zero); grid-column: 1; grid-row: 1; font: 300 11px/1 "DM Sans", sans-serif; letter-spacing: .06em; color: #A5A59F; }
.shop-grid .caption h2, .wedding-grid .caption h3 { grid-column: 2; grid-row: 1; margin: 0; font: italic 400 19px/1.1 "Cormorant Garamond", Georgia, serif !important; }
.shop-grid .caption .price { grid-column: 3; grid-row: 1; white-space: nowrap; }
.shop-grid .caption p, .wedding-grid .caption p { grid-column: 2 / -1; grid-row: 2; margin: 6px 0 0 !important; font-size: 10.5px !important; letter-spacing: .12em !important; text-transform: uppercase; }

.product-actions .buy[aria-disabled="true"] { background: transparent; color: #8A8A85; border-color: #D8D7D1; cursor: default; font-style: italic; }
.product-actions .buy[aria-disabled="true"]:hover { background: transparent; }
.shop-grid .caption .price.is-soon { color: #8A8A85; }

.shop-layout { display: block; }
.shop-layout .shop-intro { padding: 88px 0 0; max-width: 640px; }
.shop-layout > .collection-head { display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding-block: 72px 36px; border-bottom: .5px solid #E6E5E0; margin-bottom: 40px; }
.shop-layout .shop-grid-wrap .projects { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 64px 32px; }
@media (max-width: 1100px) {
  .shop-layout .shop-grid-wrap .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 28px; }
}
@media (max-width: 860px) {
  .shop-layout .shop-grid-wrap .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
}
@media (max-width: 700px) {
  .shop-layout .shop-intro { padding-top: 48px; }
  .shop-layout > .collection-head { padding-block: 48px 24px; margin-bottom: 32px; }
  .shop-layout .shop-grid-wrap .projects { grid-template-columns: 1fr; gap: 40px; }
}
.wedding-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
.wedding-head > div:first-child { grid-column: 1; }
.wedding-copy { grid-column: 2; }
@media (max-width: 700px) {
  .shop-layout > .collection-head { flex-direction: column; align-items: flex-start; }
  .shop-layout > .collection-head .page-title { text-align: left; }
}

.shop-layout .shop-grid .media,
.product-more .shop-grid .media {
  aspect-ratio: auto; overflow: visible; filter: none;
  padding: 9% 8%; background: #EFEDE8; transition: background .25s ease;
}
.shop-layout .shop-grid .media img,
.product-more .shop-grid .media img {
  aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top;
  box-shadow: 0 14px 28px -14px rgba(40,38,30,.28), 0 1px 3px rgba(40,38,30,.08);
  transition: transform .35s cubic-bezier(.22,.7,.25,1);
}
.shop-grid .project:is(:hover, :focus-visible) .media { background: #E8E6E0; }
.shop-grid .project:is(:hover, :focus-visible) .media img { transform: translateY(-3px); }
.shop-grid .caption { grid-template-columns: minmax(0, 1fr) auto !important; column-gap: 16px; padding-top: 16px; }
.shop-grid .caption::before { content: none !important; }
.shop-page .shop-grid .caption h2 { grid-column: 1; grid-row: 1; font: 400 21px/1.2 "Cormorant Garamond", Georgia, serif !important; }
.shop-page .shop-grid .caption .price { grid-column: 2; grid-row: 1; align-self: center; font: 300 13px/1 "DM Sans", sans-serif; color: var(--text); }
.shop-page .shop-grid .caption .price.is-soon { color: #6E6E69; }
.shop-page .shop-grid .caption p { grid-column: 1 / -1; grid-row: 2; margin: 6px 0 0 !important; font: 300 10.5px/1.5 "DM Sans", sans-serif !important; letter-spacing: .14em !important; text-transform: uppercase; color: #8A8A85; }
.shop-page .media, .shop-page .project .media { filter: none !important; }
.wedding-grid .caption { grid-template-columns: 1fr !important; }
.wedding-grid .caption::before { content: none !important; }
.shop-page .wedding-grid .caption h3 { grid-column: 1; font: 400 18px/1.25 "Cormorant Garamond", Georgia, serif !important; }
.shop-page .wedding-grid .caption p { grid-column: 1; }
.shop-layout .shop-grid .media,
.product-more .shop-grid .media { padding: 0; background: none; }
.shop-layout .shop-grid .media img,
.product-more .shop-grid .media img { box-shadow: none; outline: .5px solid #E3E2DC; outline-offset: -.5px; }
.shop-grid .project:is(:hover, :focus-visible) .media { background: none; }

.setup-tiers { display: grid; gap: 12px; margin-top: 18px; }
.setup-tier { padding: 16px 18px; border: .5px solid #DAD9D3; background: #FFFFFF80; }
.setup-tier h3 { margin: 0; font: 400 15px/1.3 "DM Sans", sans-serif; }
.setup-price { margin: 4px 0 10px; font: 300 12px/1.4 "DM Sans", sans-serif; letter-spacing: .04em; color: var(--muted); }
.setup-tier ul { margin: 0; padding-left: 16px; font: 300 12.5px/1.75 "DM Sans", sans-serif; color: #3A3A36; }

.product-layout { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: clamp(40px, 5vw, 84px); align-items: start; }
.product-info { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; scrollbar-width: none; font-family: "DM Sans", sans-serif; font-weight: 300; }
.product-info::-webkit-scrollbar { display: none; }
.product-info .product-summary { margin-top: 18px; font-weight: 300; }
.product-info .product-price { margin-top: 22px; font-size: 16px; }
.product-info .product-actions { margin-top: 18px; }
.product-actions .buy[aria-disabled="true"] + .demo { background: #1A1A18; border-color: #1A1A18; color: #FCFBF8; }
.product-actions .buy[aria-disabled="true"] + .demo:hover { background: #3A3A36; }
.product-details { margin-top: 24px; border-top: .5px solid #E6E5E0; font: 300 13px/1.75 "DM Sans", sans-serif; color: #3A3A36; }
.product-details details { border-bottom: .5px solid #E6E5E0; }
.product-details summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; list-style: none; font-size: 14px; color: var(--text); }
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::after { content: "+"; font-size: 18px; line-height: 1; }
.product-details details[open] > summary::after { content: "–"; }
.product-details summary:focus-visible { outline-offset: -2px; }
.product-details details > div { padding: 2px 0 20px; }
.product-details p { margin: 0 0 10px; }
.product-details :is(p, ol, ul):empty { display: none; }
.product-details p:last-child { margin-bottom: 0; }
.product-details ul, .product-details ol { margin: 0 0 10px; padding: 0; list-style: none; }
.product-details ul:last-child, .product-details ol:last-child { margin-bottom: 0; }
.product-details li { padding: 2px 0; }
.product-details ol { counter-reset: step; }
.product-details ol li { counter-increment: step; display: grid; grid-template-columns: 26px minmax(0, 1fr); }
.product-details ol li::before { content: counter(step, decimal-leading-zero); font-size: 11px; line-height: 2.1; color: #83837D; }
.product-details details a { border-bottom: .5px solid currentColor; }
.product-details .setup-tiers { margin: 0 0 14px; }
.product-details .setup-tiers:empty { display: none; }
.product-details .setup-tier ul { margin: 0; }
.product-details .product-note { margin: 18px 0 0; padding: 12px 14px; background: #F4F3EF; font-size: 12px; color: #55554F; }

@media (min-width: 861px) { .product-layout .product-info { top: var(--info-top, 24px); max-height: none; overflow: visible; } }
.product-layout .product-meta { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding-bottom: 14px; border-bottom: .5px solid #1A1A18; color: #6E6E69; letter-spacing: .1em; }
.product-layout h1 { margin: 30px 0 0 -.04em; font-size: clamp(72px, 6.6vw, 104px); line-height: .88; letter-spacing: -.035em; }
.product-layout h1.is-long { font-size: clamp(52px, 4.4vw, 68px); line-height: .95; letter-spacing: -.025em; }
.product-layout .product-summary { margin: 30px 0 0; font: 300 23px/1.34 "Cormorant Garamond", Georgia, serif !important; letter-spacing: -.003em; color: #2E2E2A; }
.palettes { display: grid; grid-template-columns: repeat(var(--count, 3), minmax(0, 1fr)); gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.palette { display: flex; height: 64px; border: .5px solid #DAD9D2; }
.palette i { flex: 1; }
.palette-name { display: block; margin-top: 8px; font: italic 300 17px/1.2 "Cormorant Garamond", Georgia, serif; color: #55554F; }
.product-layout .product-price { margin-top: 30px; }
.product-layout .product-actions { margin-top: 34px; gap: 0; }
.product-layout .product-actions a { flex: 1 1 100%; min-height: 60px; }
.buy-price { font: 300 16px/1 "DM Sans", sans-serif; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.buy-price small { margin-left: 6px; font-size: 11px; letter-spacing: .06em; color: var(--soft); }
.product-layout .product-actions .buy[aria-disabled="true"] { justify-content: space-between; padding: 0; border-width: .5px 0; border-color: #1A1A18; font: italic 300 24px/1 "Cormorant Garamond", Georgia, serif; letter-spacing: 0; color: #55554F; }
.product-layout .product-actions .buy[aria-disabled="true"] + .demo { margin: 18px 0 14px; }
.product-layout .product-details { margin-top: 0; border-top: 0; }
.product-layout .product-details details { border-color: #DAD9D2; }
.product-layout .product-details summary { position: relative; justify-content: flex-start; gap: 8px; min-height: 58px; padding-right: 28px; font: 300 23px/1.1 "Cormorant Garamond", Georgia, serif; transition: padding-left .25s ease; }
.product-layout .product-details summary:hover, .product-layout .product-details details[open] > summary { font-style: italic; }
.product-layout .product-details summary small { align-self: flex-start; margin-top: 15px; font: 300 11px/1 "DM Sans", sans-serif; color: #83837D; }
.product-layout .product-details summary::before, .product-layout .product-details summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 13px; height: 0; border-top: 1px solid #55554F; transition: transform .25s ease; }
.product-layout .product-details summary::after { transform: rotate(90deg); }
.product-layout .product-details details[open] > summary::after { content: ""; transform: none; }
.product-layout .product-details details > div { padding: 0 0 26px; }
.product-layout .product-details [data-field="features"] li { padding: 9px 0; font: 300 14px/1.5 "DM Sans", sans-serif; }
.product-layout .product-details [data-field="features"] li + li { border-top: .5px solid #E6E5E0; }
.product-layout .page-index { columns: 2; column-gap: 24px; }
.product-layout .page-index li { break-inside: avoid; padding: 0; line-height: 2.1; }
.product-layout .product-details .product-note { margin-top: 24px; padding: 0; background: none; font: italic 300 17px/1.45 "Cormorant Garamond", Georgia, serif; color: #6E6E69; }
.product-layout .product-details details { position: relative; }
.product-layout .product-details details::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.5px; border-bottom: .5px solid #1A1A18; transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.22,.7,.25,1); pointer-events: none; }
.palette i { position: relative; transition: flex-grow .45s cubic-bezier(.22,.7,.25,1); }
.palette-name { transition: color .25s ease; }
.product-layout .product-actions .demo { transition: letter-spacing .3s ease, background .3s ease; }
.page-wall.is-two .frame { transition: outline-color .3s ease, box-shadow .45s ease; }
.page-wall.is-two .page-name { display: flex; justify-content: space-between; }
.page-wall.is-two .page-name::after { content: "View"; font: italic 300 18px/1 "Cormorant Garamond", Georgia, serif; color: var(--text); opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .4s cubic-bezier(.22,.7,.25,1); }
.page-wall.is-two .page-tile:focus-visible .page-name::after { opacity: 1; transform: none; }
.product-details details a { transition: opacity .2s ease; }
@media (hover: hover) {
  .product-layout .product-details details:has(> summary:hover)::after { transform: scaleX(1); }
  .product-layout .product-details summary:hover { padding-left: 10px; }
  .product-layout .product-details details:not([open]) > summary:hover::before { transform: rotate(90deg); }
  .product-layout .product-details details:not([open]) > summary:hover::after { transform: rotate(180deg); }
  .palette i:hover { flex-grow: 3.2; }
  .palettes li:hover .palette-name { color: #1A1A18; }
  .product-layout .product-actions .demo:hover { letter-spacing: .1em; }
  .page-wall.is-two .page-tile:hover .frame { outline-color: #8A8A85; box-shadow: 0 26px 44px -26px rgba(40,38,30,.3); }
  .page-wall.is-two .page-tile:hover .page-name { color: var(--text); }
  .page-wall.is-two .page-tile:hover .page-name::after { opacity: 1; transform: none; }
  .product-details details a:hover { opacity: .6; }
}
@media (hover: none) { .page-wall.is-two .page-name::after { content: none; } }
.product-layout { --ink: #F6F3EC; --body: #E6E3DC; --soft: #DADCDD; --line: rgba(246,243,236,.3); --edge: clamp(20px, 2.2vw, 40px); }
.product-layout.is-pale { --ink: #1E252B; --body: #283037; --soft: #333C44; --line: rgba(30,37,43,.28); }
.product-layout .product-info { background: var(--panel, #121211) var(--texture, none) 0 0 / var(--texture-size, 360px); background-blend-mode: soft-light; color: var(--ink); }
.product-layout .product-head, .product-layout .product-details { --text: var(--ink); color: var(--ink); }
.product-layout .product-meta { color: var(--soft); border-color: var(--ink); }
.product-layout h1, .product-layout .product-price { color: var(--ink); }
.product-layout .product-info .product-summary, .product-layout .product-details .setup-tier ul { color: var(--body); }
.product-layout .product-price small, .product-layout .setup-price { color: var(--soft); }
.product-layout .palette { border-color: var(--line); }
.product-layout .palette-name { color: var(--soft); }
.product-layout .palettes li:hover .palette-name { color: var(--ink); }
.product-layout .product-actions .buy[aria-disabled="true"], .product-layout .product-actions .buy[aria-disabled="true"]:hover { border-color: var(--ink); color: var(--body); }
.product-layout .product-actions .buy:not([aria-disabled="true"]), .product-layout .product-actions .buy[aria-disabled="true"] + .demo { background: var(--ink); border-color: var(--ink); color: var(--panel, #121211); }
.product-layout .product-actions .buy[aria-disabled="true"] + .demo:hover { background: var(--body); }
.product-layout .product-actions .demo { border-color: var(--line); color: var(--ink); }
.product-layout .product-details details { border-color: var(--line); }
.product-layout .product-details details::after { border-color: var(--ink); }
.product-layout .product-details summary::before, .product-layout .product-details summary::after { border-color: var(--ink); }
.product-layout .product-details summary small, .product-layout .product-details ol li::before { color: var(--soft); }
.product-layout .product-details li, .product-layout .product-details details p { color: var(--body); }
.product-layout .product-details [data-field="features"] li + li { border-color: var(--line); }
.product-layout .setup-tier { background: none; border-color: var(--line); }
.product-layout .product-details .product-note { color: var(--soft); }
.product-layout .product-info :focus-visible { outline-color: var(--ink); }
.product-layout.is-pale h1 { text-shadow: 0 1px 0 rgba(255,255,255,.45); }
@media (min-width: 861px) {
  .product-layout { grid-template-columns: minmax(340px, 30vw) minmax(0, 1fr); gap: clamp(36px, 4vw, 64px); margin-left: calc(var(--edge) * -1); }
  .product-layout .product-info { top: var(--info-top, 0px); min-height: 100vh; padding: 44px clamp(28px, 2.6vw, 44px) 44px var(--edge); box-sizing: border-box; }
}
@media (max-width: 700px) { .product-layout { --edge: 16px; } }
@media (max-width: 860px) {
  .product-layout .product-head, .product-layout .product-details { margin-inline: calc(var(--edge) * -1); padding: 36px var(--edge); background: var(--panel, #121211) var(--texture, none) 0 0 / var(--texture-size, 360px); background-blend-mode: soft-light; }
  .product-layout .product-details { margin-top: 24px; padding-block: 20px 40px; }
}
@media (prefers-reduced-motion: reduce) { .product-layout *, .product-layout *::before, .product-layout *::after { transition: none !important; } }

.product-gallery { min-width: 0; }
.product-gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
.page-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin-top: 32px; }
.page-wall:first-child { margin-top: 0; }
.page-tile .frame { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #F4F3EF; outline: .5px solid #DAD9D2; outline-offset: -.5px; }
.page-tile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.page-tile .frame.is-wide { display: flex; align-items: center; }
.page-tile .is-wide img { height: auto; }
.page-tile .frame.is-phone { padding: 9% 22% 0; }
.page-tile .is-phone img { height: auto; outline: .5px solid #DAD9D2; }
.page-name { display: block; padding-top: 10px; font: 300 13px/1.4 "DM Sans", sans-serif; letter-spacing: .02em; color: #55554F; }
.page-wall.is-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-wall.is-wide .frame { aspect-ratio: 4 / 3; }
.page-wall.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 6vw, 96px) clamp(32px, 4vw, 64px); }
.page-wall.is-two .page-name { padding-top: 16px; }
.page-wall.is-two .frame.is-wide { padding: 0 7%; }
.page-wall.is-two .frame.is-wide img { outline: .5px solid #DAD9D2; }
.page-wall.is-two .frame.is-phone { padding: 10% 26% 0; }
.page-wall.is-two .page-tile:last-child:nth-child(odd):has(.is-phone) { grid-column: 1 / -1; }
.page-wall.is-two .page-tile:last-child:nth-child(odd) .frame.is-phone { aspect-ratio: 16 / 9; padding: 4% 38% 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .page-tile .frame:not(.is-wide):not(.is-phone) img { transition: object-position .6s ease; }
  .page-tile:is(:hover, :focus-visible) .frame:not(.is-wide):not(.is-phone) img { object-position: bottom; transition: object-position 4s linear; }
}

.page-viewer { width: min(1180px, 94vw); height: 92vh; height: 92dvh; max-width: none; max-height: none; padding: 0; border: 0; background: #fff; color: var(--text); overflow: hidden; }
.page-viewer::backdrop { background: rgba(40,38,30,.42); }
.page-viewer-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 56px; padding: 0 12px; border-bottom: .5px solid #E6E5E0; font: 300 14px/1.2 "DM Sans", sans-serif; }
.page-viewer-bar button { min-width: 44px; min-height: 44px; padding: 0 12px; border: 0; background: none; font: inherit; }
.page-viewer-bar > button { justify-self: end; }
.page-viewer-track { display: flex; height: calc(100% - 56px); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.page-viewer-track::-webkit-scrollbar { display: none; }
.page-viewer-slide { flex: 0 0 100%; height: 100%; overflow-y: auto; scroll-snap-align: start; scroll-snap-stop: always; overscroll-behavior-y: contain; }
.page-viewer-slide:focus { outline: none; }
.page-viewer-slide img { display: block; width: 100%; height: auto; }
.page-viewer-slide.is-phone { background: #F4F3EF; }
.page-viewer-slide.is-phone img { width: min(390px, 100%); margin: 28px auto; }

@media (max-width: 860px) {
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .product-info { display: contents; }
  .product-gallery { order: 2; }
  .product-details { order: 3; margin-top: 8px; }
  .product-info .product-head { font-family: "DM Sans", sans-serif; font-weight: 300; }
}
@media (max-width: 700px) {
  .page-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; margin-top: 22px; }
  .page-wall.is-wide { grid-template-columns: minmax(0, 1fr); }
  .page-wall.is-two { gap: 36px 18px; }
  .page-wall.is-two .page-name { padding-top: 10px; }
  .page-wall.is-two .page-tile:last-child:nth-child(odd) .frame.is-phone { aspect-ratio: 5 / 4; padding: 6% 32% 0; }
  .page-viewer { width: 100vw; height: 100vh; height: 100dvh; }
}
