/* Storefront, portfolio and Hamz use the same spacing and keep their own colors. */
.store-site, .work-page, .hamz-presentation {
  --presentation-gutter: clamp(18px, 4vw, 64px);
  --presentation-section: clamp(48px, 6vw, 88px);
  --presentation-blue: #104967;
  --presentation-ink: #12364b;
  --presentation-muted: #4a6576;
  --presentation-surface: #f2f7fa;
  --presentation-line: #dae6ed;
}

.store-site .store-wrap, .work-page .work-shell {
  width: min(1280px, calc(100% - 2 * var(--presentation-gutter)));
}

.store-site .store-header {
  background: #fff;
  border-block-end: 1px solid var(--presentation-line);
}

.store-site .store-head-main {
  min-height: 92px;
  column-gap: clamp(16px, 3vw, 40px);
}

.store-site .store-navigation { gap: clamp(14px, 2.4vw, 32px); }
.store-site .store-navigation .atelier-contact { background: var(--presentation-blue); color: #fff; }

.store-site .shop-hero.studio-opening {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: clamp(32px, 5vw, 72px) 0;
  overflow: visible;
  background: var(--presentation-surface);
  border-radius: 0;
}

.studio-opening-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(26px, 5vw, 76px);
}

.studio-opening .reel-copy {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
}

.studio-opening .studio-opening-brand {
  margin: 0 0 12px;
  color: var(--presentation-blue);
  font-size: 14px;
  font-weight: 600;
}

.studio-opening .reel-copy h1 {
  color: var(--presentation-ink);
  font-size: clamp(37px, 4.7vw, 69px);
  font-weight: 650;
  line-height: 1.35;
  margin: 0;
}

.studio-opening .studio-opening-description {
  max-width: 35ch;
  margin: 19px 0 0;
  color: var(--presentation-muted);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.95;
}

.studio-opening .reel-links { gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.studio-opening .reel-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 4px;
}
.studio-opening .reel-links .studio-secondary {
  border: 1px solid #a9c1d0;
  background: #fff;
}

.studio-reel-frame { min-width: 0; }
.studio-reel-frame .reel-media { border-radius: 7px; background: #0b344a; }
.studio-reel-frame .reel-stage video { max-height: none; }
.studio-reel-frame .reel-tools { min-height: 54px; padding: 8px 14px; }
.studio-reel-frame .reel-caption { font-size: 12px; }
.studio-reel-frame .reel-buttons button { min-height: 44px; }

.studio-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block-end: 1px solid var(--presentation-line);
}

.studio-paths a {
  display: grid;
  gap: 5px;
  padding: 22px clamp(12px, 2vw, 28px);
  color: var(--presentation-blue);
}
.studio-paths a + a { border-inline-start: 1px solid var(--presentation-line); }
.studio-paths a:hover { background: var(--presentation-surface); }
.studio-paths strong { font-size: 16px; font-weight: 600; }
.studio-paths span { font-size: 13px; line-height: 1.65; color: var(--presentation-muted); }
.studio-paths a:focus-visible { outline-offset: -4px; }

.store-site .store-section { padding-block: var(--presentation-section); }
.store-site .studio-services { padding-bottom: 18px; }
.studio-service-list a { padding-block: 18px; }
.studio-service-list img { width: 64px; height: 64px; }
.store-site .work-section { border-block-end: 0; }

.work-section .work-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  row-gap: 32px;
}
.work-section .work-grid > * { grid-column: span 3; min-width: 0; }
.work-section .work-grid > :first-child { grid-column: span 7; }
.work-section .work-grid > :nth-child(2) { grid-column: span 5; }
.work-section .work-piece-open { width: 100%; border-radius: 5px; background: var(--presentation-surface); }
.work-section .work-piece-open img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.work-section .work-grid > :nth-child(-n + 2) img { height: clamp(210px, 26vw, 360px); aspect-ratio: auto; }
.work-section .work-caption { padding-top: 11px; }

.store-site .catalog-refined {
  width: 100%;
  padding-inline: max(var(--presentation-gutter), calc((100% - 1280px) / 2));
  background: var(--presentation-surface);
}
.catalog-refined .shop-product { border: 1px solid var(--presentation-line); }
.catalog-refined .product-photo-dots button { min-width: 44px; min-height: 44px; }
.catalog-refined .catalog-tools { align-items: center; }
.catalog-refined .store-search { flex: 0 1 370px; }
.store-site .studio-story { padding-block: clamp(38px, 5vw, 72px); }
.studio-story .studio-story-link {
  gap: clamp(20px, 4vw, 58px);
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid var(--presentation-line);
  border-radius: 7px;
}
.store-site .store-last-call { border: 1px solid var(--presentation-line); }
.store-site .store-footer { background: var(--presentation-surface); }

.work-page .work-intro { column-gap: clamp(24px, 5vw, 74px); }
.work-page .work-intro h1 { max-width: 16ch; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.42; }
.work-page .work-intro figure { margin: 0; }
.work-page .work-intro figure img { height: clamp(215px, 30vw, 360px); }
.work-page .work-filters { border: 1px solid var(--presentation-line); }
.work-page .work-piece-open img { height: auto; aspect-ratio: 4 / 3; }

.hamz-presentation { --hamz-paper: #f3f7f2; --hamz-line: #dce7dd; }
.hamz-presentation .hero {
  background: var(--hamz-paper);
  border: 1px solid var(--hamz-line);
  border-radius: 12px;
  padding: clamp(24px, 5vw, 64px);
  gap: clamp(24px, 5vw, 64px);
}
.hamz-presentation .hero-copy h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.36; }
.hamz-presentation .hero-art { height: clamp(330px, 38vw, 500px); }
.hamz-presentation .hero-art::before { background: #e2ecdf; inset: 12% 3%; transform: none; }
.hamz-presentation .hero-art::after { content: none; }
.hamz-presentation .personalize-invite {
  background: #f3f7f2;
  border: 1px solid var(--hamz-line);
  padding: clamp(19px, 3vw, 36px);
}
.hamz-presentation .story-grid { gap: clamp(16px, 2.1vw, 28px); }
.hamz-presentation .personalize-details, .hamz-presentation .personalize-result {
  border-color: var(--hamz-line);
  border-radius: 9px;
}
.hamz-presentation .personalize-layout { gap: clamp(18px, 4vw, 52px); }

@media (max-width: 960px) {
  .store-site .store-head-main { min-height: 0; flex-wrap: wrap; row-gap: 8px; }
  .store-site .head-actions { margin-inline-start: auto; order: 2; }
  .store-site .store-navigation { flex-basis: 100%; order: 3; justify-content: space-between; }
}

@media (max-width: 800px) {
  .studio-opening-grid { grid-template-columns: 1fr; }
  .studio-opening .reel-copy h1 { font-size: clamp(37px, 7vw, 54px); }
  .studio-opening .reel-copy h1 br { display: none; }
  .studio-opening .studio-opening-description { max-width: 48ch; }
  .work-section .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-section .work-grid > *, .work-section .work-grid > :nth-child(-n + 2) { grid-column: auto; }
  .work-section .work-grid > :nth-child(-n + 2) img { height: auto; aspect-ratio: 4 / 3; }
  .catalog-refined .store-search { flex-basis: 100%; }
}

@media (max-width: 540px) {
  .store-site .store-navigation { column-gap: 12px; }
  .store-site .store-navigation .atelier-contact { color: var(--presentation-blue); background: transparent; }
  .studio-opening .reel-links { gap: 8px; margin-top: 20px; }
  .studio-opening .reel-links a { padding-inline: 12px; font-size: 13px; }
  .studio-paths a { padding: 13px 8px; }
  .studio-paths strong { font-size: 12px; line-height: 1.65; }
  .studio-paths span { display: none; }
  .studio-service-list img { width: 64px; height: 64px; }
  .work-section .work-kind, .work-page .work-kind { font-size: 10px; }
  .hamz-presentation .hero { padding: 22px 16px 12px; gap: 14px; }
  .hamz-presentation .hero-copy h1 { font-size: clamp(33px, 10vw, 45px); }
  .hamz-presentation .hero-art { height: 320px; }
}
