/* Interior pages share the approved homepage's type, paper, and spacing. */
.inner-page .navigation a[aria-current="page"]::after { transform: scaleX(1); }
.page-main { margin: 0 var(--gutter); padding: clamp(40px, 5.8vw, 96px) 0 clamp(90px, 10vw, 160px); }
.page-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 4.5vw, 72px); }
.page-heading h1 { font-size: clamp(90px, 13.5vw, 224px); line-height: 1; letter-spacing: -.012em; }
.inner-page .footer { margin: 0 var(--gutter); padding-left: 0; padding-right: 0; border-top: 1px solid var(--rule); }
.inner-page button { cursor: pointer; border-radius: 0; }
.looks-grid { --look-gap: clamp(18px, 5vw, 80px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 8vw, 128px) var(--look-gap); width: 74%; margin-inline: auto; }
.look-card { display: block; min-width: 0; }
.look-card--centered { grid-column: 1 / -1; width: calc((100% - var(--look-gap)) / 2); justify-self: center; }
.look-visual { display: block; overflow: hidden; background: #e9e8e4; aspect-ratio: 1000 / 1333; }
.look-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.25s var(--ease); }
.motion-ready .look-card.reveal { transition-delay: var(--stagger, 0ms); }
.motion-ready .look-card .look-visual { clip-path: inset(4% 0 0); transition: clip-path 1.3s var(--ease) var(--stagger, 0ms); }
.motion-ready .look-card.is-visible .look-visual { clip-path: inset(0); }
@media (hover: hover) {
  .look-card:hover .look-visual img { transform: scale(1.035); }
}
.look-card:focus-visible { outline-offset: 7px; }

/* The photograph moves from its place in the grid into a full-screen viewer. */
.look-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; color: var(--ink); background: var(--paper); overflow: hidden; }
.look-viewer[open] { display: grid; grid-template-rows: 80px minmax(0, 1fr) 76px; }
.look-viewer::backdrop { background: rgba(24, 25, 23, .16); }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); font-size: 28px; }
.viewer-close { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; border: 0; padding: 0 0 0 16px; background: transparent; font-size: 20px; }
.viewer-close span { font: 300 34px/1 Arial, sans-serif; transition: transform .4s var(--ease); }
.viewer-close:hover span { transform: rotate(90deg); }
.viewer-stage { min-width: 0; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 28px; touch-action: pan-y; }
.viewer-image { display: block; flex: none; max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; }
.viewer-image:not([src]), .viewer-image[hidden] { display: none; }
.viewer-error { font-size: 14px; }
.viewer-controls { display: flex; align-items: center; justify-content: center; gap: 28px; }
.viewer-controls button { display: grid; place-items: center; width: 48px; height: 48px; padding: 10px; border: 0; background: transparent; }
.viewer-controls svg { width: 26px; height: 26px; }
.viewer-prev svg { transform: rotate(180deg); }
.viewer-count { min-width: 80px; text-align: center; font-size: 19px; font-variant-numeric: tabular-nums; }

.catalog-filters { display: flex; flex-shrink: 0; gap: 32px; padding-bottom: 5px; }
.catalog-filters button { position: relative; border: 0; padding: 10px 4px; background: transparent; font-size: 25px; line-height: 1.1; color: var(--muted); }
.catalog-filters button::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.catalog-filters button[aria-pressed="true"] { color: var(--ink); }
.catalog-filters button[aria-pressed="true"]::after { transform: scaleX(1); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 46px 22px; }
.product-card { display: block; min-width: 0; }
.product-card[hidden] { display: none; }
.product-cover { overflow: hidden; background: #fff; }
.product-cover img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform 1.05s var(--ease); }
.product-caption { display: flex; align-items: center; gap: 10px; padding: 16px 0 12px; border-bottom: 1px solid var(--rule); }
.product-caption h2 { font-size: 27px; line-height: 1.1; }
.product-caption > span { color: var(--muted); font-size: 16px; margin-left: auto; }
.product-caption svg { width: 21px; height: 21px; margin-left: 6px; transition: transform .5s var(--ease); }
@media (hover: hover) {
  .product-card:hover .product-cover img { transform: scale(1.055); }
  .product-card:hover .product-caption svg { transform: translateX(4px); }
}
.product-back { margin-bottom: 35px; }
.back-link { display: inline-flex; align-items: center; gap: 14px; font-size: 19px; min-height: 40px; }
.back-link span { transition: transform .5s var(--ease); }
.back-link:hover span { transform: translateX(-5px); }
.product-details { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 9vw, 140px); padding: 38px 0 55px; border-top: 1px solid var(--rule); max-width: 1180px; margin-inline: auto; }
.product-description { font-size: 15px; line-height: 2.15; letter-spacing: .015em; }
.product-description p+p { margin-top: 20px; }
.product-specs { margin: 0; font-size: 20px; line-height: 1.65; }
.product-specs > div { display: grid; grid-template-columns: 95px minmax(0, 1fr); gap: 20px; padding: 0 0 21px; }
.product-specs dt { color: var(--muted); }
.product-specs dd { margin: 0; overflow-wrap: anywhere; }
.product-variants { width: min(100%, 800px); margin: 28px auto 0; }
.product-variant { margin: 0 0 clamp(65px, 8vw, 115px); }
.product-variant img { width: 100%; height: auto; }
.product-variant figcaption { display: block; text-align: center; padding: 22px 0 0; font-size: 25px; letter-spacing: .04em; }
.product-return { text-align: center; }
.store-directory { list-style: none; padding: 0; margin: 0; }
.store-row { display: grid; grid-template-columns: 1fr 2fr; gap: 7vw; padding: 45px 0 49px; border-top: 1px solid var(--rule); }
.store-region { font-size: clamp(23px, 2.4vw, 36px); line-height: 1.45; max-width: 320px; }
.store-detail h2 { font-family: var(--font-japanese); font-size: 19px; font-weight: 500; line-height: 1.7; }
.store-detail h2 a { display: flex; align-items: baseline; justify-content: space-between; gap: 25px; }
.store-detail h2 svg { align-self: center; flex-shrink: 0; width: 25px; height: 25px; transition: transform .5s var(--ease); }
.store-detail h2 a:hover svg { transform: translate(3px, -3px) rotate(-35deg); }
.store-detail p { margin-top: 18px; font-size: 14px; line-height: 1.9; }
.store-tel { display: inline-block; font-family: var(--font-japanese); font-size: 14px; line-height: 1.9; margin-top: 9px; }
.store-tel:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-details { gap: 40px; }
  .product-specs > div { grid-template-columns: 76px minmax(0, 1fr); gap: 15px; }
}
@media (max-width: 800px) {
  .page-main { padding-top: 38px; padding-bottom: 85px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 30px; margin-bottom: 32px; }
  .page-heading h1 { font-size: clamp(68px, 18vw, 124px); }
  .looks-grid { --look-gap: clamp(16px, 5vw, 40px); width: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .product-caption { gap: 5px; padding: 12px 0; }
  .product-caption h2 { font-size: 24px; }
  .product-caption > span { font-size: 15px; }
  .product-caption svg { width: 16px; height: 16px; margin-left: 0; }
  .catalog-filters { gap: 31px; padding-bottom: 6px; }
  .catalog-filters button { font-size: 23px; }
  .product-back { margin-bottom: 24px; }
  .product-details { grid-template-columns: 1fr; gap: 32px; padding: 28px 0 15px; }
  .product-specs { font-size: 19px; }
  .product-specs > div { grid-template-columns: 80px minmax(0, 1fr); padding-bottom: 14px; }
  .product-variant figcaption { font-size: 22px; padding-top: 15px; }
  .store-row { grid-template-columns: 1fr; gap: 28px; padding: 30px 0 35px; }
  .store-region:empty { display: none; }
  .store-region { max-width: none; font-size: 25px; }
  .store-detail h2 { font-size: 17px; }
  .store-detail h2 a { gap: 12px; }
  .store-detail h2 svg { width: 21px; height: 21px; }
  .store-detail p { margin-top: 14px; }
  .look-viewer[open] { grid-template-rows: 65px minmax(0, 1fr) 72px; }
  .viewer-bar { font-size: 25px; }
  .viewer-close { font-size: 18px; gap: 14px; }
  .viewer-stage { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .look-card .look-visual { clip-path: none; }
  .look-visual img, .product-cover img { transform: none !important; }
}
