@import url("tokens.css");
@import url("layout.css");
@import url("interface-icons.css");
@import url("currency-prices.css");

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font: var(--font-regular) var(--type-body-size) / var(--type-body-leading) var(--gallery-family, Arial, sans-serif);
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, p, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: var(--focus-width) solid var(--focus-color); outline-offset: var(--focus-offset); }
::selection { background: var(--surface-selection); }
.skip-link {
  position: fixed;
  z-index: 3;
  inset: 12px auto auto var(--layout-gutter);
  padding: 10px 16px;
  background: var(--surface-page);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: var(--divider-width) solid var(--stroke-subtle); }
.header-row {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-28);
}
.wordmark {
  width: fit-content;
  font-size: var(--type-small-size);
  font-weight: var(--font-semibold);
  line-height: 1.2;
  letter-spacing: .2em;
  white-space: nowrap;
}
.desktop-nav, .header-tools, .locale-switch {
  display: flex;
  align-items: center;
}
.desktop-nav { gap: clamp(20px, 3vw, 50px); }
.desktop-nav a, .locale-switch button, .menu-button {
  display: inline-flex;
  min-height: var(--control-min-height);
  align-items: center;
  font-size: var(--type-nav-size);
  font-weight: var(--font-medium);
}
.desktop-nav a { white-space: nowrap; }
.header-tools { gap: var(--space-20); justify-self: end; }
.locale-switch { gap: var(--space-08); }
.locale-switch button {
  justify-content: center;
  min-width: 34px;
  color: var(--text-secondary);
  padding: 0 3px;
  border: 0;
  background: none;
  cursor: pointer;
}
.locale-switch button[aria-pressed="true"] {
  color: var(--text-action);
  text-decoration: underline;
  text-underline-offset: .32em;
}
.locale-separator { width: 1px; height: 12px; background: var(--stroke-subtle); }
.menu-button {
  display: none;
  gap: var(--space-08);
  padding: 0 0 0 4px;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-icon { display: grid; width: 16px; height: 8px; align-content: space-between; }
.menu-icon::before, .menu-icon::after { content: ""; border-top: 1px solid; }
.menu-button[aria-expanded="true"] .menu-icon::before { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon::after { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; }
.link-hover { transition: color var(--motion-ui) var(--motion-ui-easing); }
.link-hover:hover { color: var(--text-link-hover); text-decoration: underline; text-underline-offset: .28em; }
.eyebrow, .footer-label, .figure-note, .compare-label {
  font-size: var(--type-eyebrow-size);
  font-weight: var(--font-semibold);
  line-height: var(--type-eyebrow-leading);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow, .footer-label, .figure-note, .compare-label { color: var(--text-secondary); }
.hero { padding-block: clamp(42px, 5.2vw, 77px) clamp(66px, 7.8vw, 112px); }
.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 244px);
  align-items: end;
  gap: var(--space-28);
  margin-bottom: clamp(27px, 3.2vw, 47px);
}
.hero-title {
  margin-top: 11px;
  font-size: clamp(2.56rem, 5.25vw, 5.125rem);
  line-height: 1.04;
  font-weight: var(--display-weight, 400);
  letter-spacing: var(--display-tracking, -.05em);
  text-wrap: balance;
}
.hero-text { padding-bottom: 2px; }
.hero-text p { max-width: 29ch; font-size: .9375rem; }
.action {
  display: inline-flex;
  gap: var(--space-20);
  align-items: center;
  width: fit-content;
  min-height: var(--control-min-height);
  margin-top: 5px;
  font-size: var(--type-action-size);
  font-weight: var(--font-medium);
}
.action-label { border-bottom: var(--divider-width) solid var(--stroke-action); }
.action svg {
  width: var(--action-icon-size);
  height: var(--action-icon-size);
  flex: none;
  transition: transform var(--motion-ui) var(--motion-ui-easing);
}
.action:hover .action-label { border-color: var(--stroke-action-hover); }
.action:hover svg { transform: translateY(var(--motion-action-offset)); }
.gallery-figure { scroll-margin-top: var(--space-16); }
.art-stage {
  background: var(--surface-secondary);
  display: grid;
  place-items: center;
  padding: clamp(24px, 3.15vw, 48px) clamp(18px, 8vw, 120px);
}
.art-stage img {
  display: block;
  width: min(100%, 680px);
  height: auto;
  object-fit: contain;
  animation: appear 440ms ease-out both;
}
@keyframes appear { from { opacity: .55; } to { opacity: 1; } }
.art-caption {
  padding-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  font-size: var(--type-action-size);
}
.caption-artist { font-weight: var(--font-semibold); }
.caption-title { font-style: normal; }
.caption-source { display: block; color: var(--text-secondary); font-size: var(--type-caption-size); }
.figure-note { padding-top: 3px; text-align: right; }
.site-footer { background: var(--surface-secondary); }
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  padding-block: 50px 45px;
}
.footer-main > * { min-width: 0; }
.footer-brand p { margin-top: 13px; color: var(--text-secondary); font-size: var(--type-small-size); }
.footer-links { display: grid; justify-items: start; margin-top: var(--space-12); }
.footer-links a, .footer-links button, .contact-placeholder {
  font-size: var(--type-small-size);
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}
.footer-links button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: start;
}
.contact-placeholder { margin-top: var(--space-12); color: var(--text-secondary); overflow-wrap: anywhere; }
.footer-meta {
  border-top: var(--divider-width) solid var(--stroke-subtle);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-block: 17px;
  font-size: var(--type-caption-size);
  color: var(--text-secondary);
}
.preview-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 14px; }
.preview-note a { min-height: 28px; display: inline-flex; align-items: center; }
dialog {
  width: min(440px, calc(100% - 40px));
  max-height: 85vh;
  padding: 28px;
  border: 1px solid var(--stroke-subtle);
  color: var(--text-primary);
  background: var(--surface-page);
}
dialog::backdrop { background: var(--dialog-scrim); }
dialog h2 { margin-bottom: 10px; font-size: 1.375rem; font-weight: var(--font-medium); }
.dialog-close {
  min-height: var(--control-min-height);
  margin-top: var(--space-12);
  border: 0;
  padding: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
.compare-main { padding-block: clamp(48px, 8vw, 112px); }
.compare-main h1 {
  margin: 12px 0 16px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.06;
  letter-spacing: -.055em;
  font-weight: 400;
}
.compare-intro { max-width: 58ch; color: var(--text-secondary); }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--divider-width) solid var(--stroke-subtle);
  border-bottom: var(--divider-width) solid var(--stroke-subtle);
  margin-top: 48px;
}
.compare-card { padding: clamp(20px, 3.2vw, 46px) 0; }
.compare-card:first-child {
  padding-right: clamp(16px, 3.2vw, 46px);
  border-right: 1px solid var(--stroke-subtle);
}
.compare-card:last-child { padding-left: clamp(16px, 3.2vw, 46px); }
.compare-card h2 { margin: 8px 0 6px; font-size: 1.125rem; font-weight: var(--font-medium); }
.compare-sample {
  margin-top: 18px;
  font-size: clamp(1.75rem, 4.3vw, 3.75rem);
  line-height: 1.1;
  font-weight: var(--display-weight, 400);
  letter-spacing: var(--display-tracking, -.05em);
  font-family: var(--gallery-family);
}
.compare-sample span { display: block; }
.compare-open {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: var(--control-min-height);
  margin-top: 22px;
  text-decoration: underline;
  text-underline-offset: .3em;
}
@media (max-width: 760px) {
  .header-row { min-height: var(--header-height-compact); grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-08); }
  .wordmark { font-size: var(--type-action-size); letter-spacing: .145em; }
  .header-tools { gap: 13px; }
  .locale-switch { gap: 2px; }
  .locale-switch button { min-width: 29px; }
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: grid; }
  .mobile-nav { padding-block: 4px 12px; border-top: var(--divider-width) solid var(--stroke-subtle); }
  .mobile-nav a { display: flex; align-items: center; min-height: var(--control-menu-row); font-size: var(--type-small-size); }
  .hero-title { font-size: clamp(2.5rem, 7.2vw, 3.5rem); }
  .hero-intro { grid-template-columns: 1fr; gap: 13px; }
  .hero-text p { max-width: 35ch; }
  .art-stage { padding: 18px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 20px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 455px) {
  .hero-title { text-wrap: initial; }
  .art-caption { grid-template-columns: 1fr; gap: 4px; }
  .figure-note { text-align: left; }
  .footer-meta { display: grid; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-card:first-child { border-right: 0; border-bottom: var(--divider-width) solid var(--stroke-subtle); padding-right: 0; }
  .compare-card:last-child { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
