/* AS Design / gallery direction. Official palette and Manrope are unchanged. */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --motion-feedback: 160ms;
  --motion-change: 200ms;
  --gallery-gutter: clamp(24px, 4.2vw, 88px);
}
body { -webkit-font-smoothing: antialiased; }
.header {
  padding: 21px var(--gallery-gutter);
  min-height: 100px;
  border-bottom: 0;
}
.brand { padding: 0; }
.brand img { width: 100px; }
.header nav { gap: clamp(24px, 3vw, 54px); font-size: 12px; }
.header nav > a { position: relative; border: 0; }
.header nav > a:hover, .header nav > a[aria-current] { border: 0; }
.header nav > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-change) var(--ease-out);
}
.header nav > a[aria-current]::after { transform: scaleX(1); }
.header nav > a:focus-visible::after { transform: scaleX(1); }
.languages { gap: 12px; margin-left: 12px; font-size: 11px; }
.text-link {
  gap: 28px;
  padding: 12px 0 10px;
  font-size: 12px;
  transition: opacity var(--motion-change) ease;
}
.text-link > span[aria-hidden] {
  display: inline-block;
  transition: transform var(--motion-feedback) var(--ease-out);
}
.text-link:active { opacity: .65; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  min-height: calc(100svh - 100px);
  padding: 8px var(--gallery-gutter) 40px;
  align-items: stretch;
}
.hero-copy {
  grid-column: 1 / 5;
  grid-row: 1;
  z-index: 1;
  padding: 0 28px 110px 0;
  align-self: end;
}
.hero-copy .eyebrow { font-size: 10px; letter-spacing: .16em; }
.hero h1 {
  font-size: clamp(48px, 5.15vw, 82px);
  line-height: 1.03;
  letter-spacing: -.065em;
  margin: 36px 0 28px;
}
.hero-intro { font-size: 13px; line-height: 1.85; max-width: 270px; }
.hero-copy > .text-link { margin-top: 28px; }
.hero-exhibition {
  grid-column: 5 / -1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  max-width: none;
  padding-left: clamp(12px, 3vw, 58px);
}
.slides { display: grid; isolation: isolate; touch-action: pan-y; }
.slide { grid-area: 1 / 1; min-width: 0; }
.slide[hidden] { display: none; }
.slide.is-active { animation: none; z-index: 1; }
.slide[data-leaving] { pointer-events: none; z-index: 0; }
.slide > a { overflow: hidden; }
.slide img {
  width: 100%;
  height: calc(100svh - 240px);
  min-height: 400px;
  max-height: 950px;
  object-fit: contain;
  transform-origin: center;
}
.slide figcaption { margin-top: 12px; justify-content: flex-end; }
.slide figcaption .text-link { font-size: 11px; gap: 34px; }
.slideshow-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  border-top: 1px solid #d6d3ca;
  margin-top: 14px;
  gap: 12px;
}
.slide-arrows { gap: 2px; }
.slide-arrows button {
  width: 44px;
  padding: 0;
  font-size: 22px;
  transition: opacity var(--motion-feedback) ease, transform var(--motion-feedback) var(--ease-out);
}
.slide-arrows button:active { transform: scale(.97); }
.slide-select { justify-content: center; flex-wrap: nowrap; gap: 0; min-width: 0; }
.slide-select button { flex: 1 1 14px; min-width: 10px; max-width: 22px; width: 22px; min-height: 44px; }
.slide-select button span {
  width: 4px;
  height: 4px;
  border: 0;
  background: #222422;
  opacity: .25;
  transition: opacity var(--motion-change) ease, transform var(--motion-change) var(--ease-out);
}
.slide-select button[aria-pressed=true] span { opacity: 1; transform: scale(1.5); }
.pause { font-size: 10px; white-space: nowrap; margin-left: 0; padding: 0; }
.section { padding: clamp(80px, 9vw, 150px) var(--gallery-gutter); }
.section-heading { gap: 40px; }
.section-heading h2 { font-size: clamp(40px, 4.5vw, 72px); }
.collection-section { position: relative; padding-top: 70px; padding-bottom: 70px; }
.collection-section .section-heading { margin-bottom: 0; grid-template-columns: 1fr 1.6fr 1.15fr; }
.collection-section .section-heading > p:last-child { font-size: 13px; line-height: 1.85; }
.collection-all { margin-left: calc(100% * 2.6 / 3.75 + 15px); margin-top: 24px; }
.craft { gap: 9%; grid-template-columns: 1.3fr 1fr; }
.craft-images { gap: clamp(16px, 2.5vw, 44px); }
.craft-images img:last-child { margin-top: 130px; }
.craft-copy h2 { font-size: clamp(42px, 4.5vw, 72px); margin: 30px 0; }
.craft-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.9; max-width: 400px; }
[data-page=home] .about-teaser {
  background: #222422;
  color: #f3f0e9;
  border-top: 0;
  padding-top: clamp(80px, 10vw, 160px);
  padding-bottom: clamp(80px, 10vw, 160px);
}
[data-page=home] .about-teaser h2 {
  max-width: 1180px;
  font-size: clamp(32px, 4.3vw, 68px);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -.045em;
  margin: 44px 0 36px;
}
[data-page=home] .about-teaser .text-link { border-color: #f3f0e9; }
.inquiry { padding-top: 95px; padding-bottom: 95px; gap: 40px; }
.inquiry h2 { font-size: clamp(36px, 3.5vw, 56px); }
.inquiry > div { font-size: 13px; line-height: 1.85; }
.footer { padding: 60px var(--gallery-gutter) 28px; font-size: 12px; }
.footer img { width: 140px; }
.page-intro { padding: 95px var(--gallery-gutter) 75px; }
.page-intro h1 { font-size: clamp(52px, 6.6vw, 104px); }
.collection-full { padding-top: 10px; }
.collection-full .piece-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px 7%; }
.collection-full .piece-image img { max-height: 760px; background: none; }
.piece-meta { padding-top: 24px; }
.piece-meta h2, .piece-meta h3 { line-height: 1.2; letter-spacing: -.04em; }
.piece-meta h2 { font-size: clamp(26px, 2.4vw, 38px); max-width: 540px; }
.piece-image img { transition: opacity var(--motion-change) ease; }
.product-hero { padding: 30px var(--gallery-gutter) 90px; gap: 7%; }
.product-title h1 { font-size: clamp(40px, 4.8vw, 76px); line-height: 1.06; }
.product-title > p:not(.byline) { font-size: 15px; line-height: 1.85; }
.editorial { gap: 10%; }
.editorial > div > p:not(.eyebrow) { font-size: 15px; line-height: 1.85; }
.contact-page { padding-left: var(--gallery-gutter); padding-right: var(--gallery-gutter); }
@media (hover: hover) and (pointer: fine) {
  .header nav > a:hover::after { transform: scaleX(1); }
  .text-link:hover > span[aria-hidden] { transform: translate(2px, -2px); }
  .slide-arrows button:hover { opacity: .55; }
  .slide-select button:hover span { opacity: .65; }
}
@media (min-width: 1800px) {
  .footer { padding-left: max(var(--gallery-gutter), calc((100vw - 1649px) / 2)); padding-right: max(var(--gallery-gutter), calc((100vw - 1649px) / 2)); }
}
@media (max-width: 1100px) and (min-width: 701px) {
  .hero-copy { grid-column: 1 / 6; padding-right: 20px; }
  .hero-exhibition { grid-column: 6 / -1; padding-left: 0; }
  .hero h1 { font-size: clamp(44px, 5.8vw, 62px); }
  .slideshow-controls { grid-template-columns: 1fr auto; gap: 0 12px; }
  .slideshow-controls .slide-select { order: 3; grid-column: 1 / -1; width: 100%; }
  .slide img { min-height: 360px; }
  .collection-section .section-heading { grid-template-columns: 1fr 2fr; }
  .collection-section .section-heading > p:last-child { grid-column: 2; }
  .collection-all { margin-left: calc((100% + 40px) / 3); }
  .craft-copy h2 { font-size: 44px; }
}
@media (max-width: 700px) {
  :root { --gallery-gutter: 24px; }
  .header { min-height: 90px; padding: 18px var(--gallery-gutter); }
  .header nav { padding-left: var(--gallery-gutter); padding-right: var(--gallery-gutter); font-size: 14px; }
  .header nav > a { font-size: 24px; }
  .hero { display: flex; flex-direction: column; padding: 4px var(--gallery-gutter) 48px; gap: 0; min-height: 0; }
  .hero-exhibition { order: -1; padding-left: 0; }
  .slide img { height: 62svh; min-height: 300px; max-height: 700px; }
  .slide figcaption { margin-top: 8px; }
  .slideshow-controls { grid-template-columns: 1fr auto; gap: 0 12px; margin-top: 12px; }
  .slideshow-controls .slide-select { order: 3; grid-column: 1 / -1; width: 100%; justify-content: center; }
  .slide-select button { max-width: 24px; }
  .hero-copy { padding: 40px 0 0; align-self: stretch; }
  .hero h1 { font-size: clamp(42px, 10vw, 64px); margin: 24px 0; }
  .hero-intro { font-size: 14px; max-width: 360px; }
  .hero-copy > .text-link { margin-top: 18px; }
  .section { padding: 64px var(--gallery-gutter); }
  .section-heading { gap: 24px; }
  .collection-section .section-heading { display: block; }
  .collection-section .section-heading h2 { margin: 24px 0; font-size: 42px; }
  .collection-section .section-heading > p:last-child { margin-top: 0; font-size: 14px; }
  .collection-all { margin-left: 0; margin-top: 24px; }
  .craft { gap: 48px; }
  .craft-images img:last-child { margin-top: 64px; }
  .craft-copy h2 { font-size: 44px; }
  [data-page=home] .about-teaser { padding-top: 76px; padding-bottom: 76px; }
  [data-page=home] .about-teaser h2 { font-size: clamp(30px, 7vw, 42px); margin: 32px 0; }
  .inquiry h2 { font-size: 40px; }
  .inquiry > div { font-size: 14px; }
  .footer { padding: 45px var(--gallery-gutter) 24px; gap: 28px; }
  .footer > div { padding-left: 0; }
  .page-intro { padding: 50px var(--gallery-gutter); }
  .page-intro h1 { font-size: clamp(44px, 10vw, 64px); }
  .collection-full { padding-top: 0; }
  .collection-full .piece-grid { grid-template-columns: 1fr; gap: 56px; }
  .piece-meta h2 { font-size: 30px; }
  .product-hero { padding: 24px var(--gallery-gutter) 56px; gap: 32px; }
  .product-title h1 { font-size: clamp(36px, 9vw, 54px); }
  .product-hero > figure { order: -1; }
  .product-hero > figure img { max-height: 65svh; }
  .editorial { gap: 32px; }
  .contact-page { padding: 50px var(--gallery-gutter) 70px; }
  .contact-number { font-size: clamp(24px, 7vw, 32px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header nav > a::after, .text-link > span[aria-hidden], .slide-select button span, .slide-arrows button:active { transform: none; }
  .header nav > a::after { opacity: 0; }
  .header nav > a[aria-current]::after, .header nav > a:focus-visible::after { opacity: 1; }
  .text-link, .piece-image img, .slide-arrows button, .slide-select button span { transition: opacity 200ms ease !important; }
}
