:root {
  --site-text: #171717;
  --site-muted: #5e5e5e;
  --site-line: #dedede;
  --site-accent: #7e4964;
  --site-bg: #ffffff;
  --site-max: 1240px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--site-text);
  background: var(--site-bg);
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
body, button, input, textarea, select { letter-spacing: 0 !important; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

.site-header {
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.97);
}
.site-header__inner {
  width: min(calc(100% - 40px), var(--site-max));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-brand {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 600;
  text-decoration: none;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav a {
  min-height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--site-accent); }
.site-nav__order {
  border: 1px solid var(--site-text);
  border-radius: 3px;
}
.site-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.site-menu-toggle span,
.site-menu-toggle::before,
.site-menu-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.site-menu-toggle[aria-expanded="true"] span { opacity: 0; }
.site-menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.site-menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

h1, h2, h3, h4, h5, h6,
.t-title, .t-heading, .t-name, .t-descr, .t-text {
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  letter-spacing: 0 !important;
}
h1, .t-title_xl, .t-title_xxl { font-size: clamp(34px, 5vw, 64px) !important; line-height: 1.08 !important; font-weight: 500 !important; }
h2, .t-title_lg, .t-title_md { font-size: clamp(28px, 3.4vw, 44px) !important; line-height: 1.15 !important; font-weight: 500 !important; }
h3, .t-name_xl, .t-name_lg { font-size: clamp(22px, 2.4vw, 30px) !important; line-height: 1.25 !important; font-weight: 500 !important; }
.t-text, .t-descr, p { line-height: 1.55 !important; }

.t-btn, button, input[type="submit"] {
  min-height: 48px;
  border-radius: 3px !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  letter-spacing: 0 !important;
}

/* Preserve each artwork's natural aspect ratio while making galleries readable. */
.t979__grid {
  display: block !important;
  width: min(calc(100% - 20px), 1600px) !important;
  height: auto !important;
  margin: 0 auto !important;
  column-count: 3;
  column-gap: 22px;
}
.t979__grid-sizer { display: none !important; }
.t979__grid-item {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  break-inside: avoid;
  transform: none !important;
}
.t979__image, .t979__image-wrapper, .t979__image-container {
  width: 100% !important;
  height: auto !important;
}
.t979__image { display: block; object-fit: contain !important; }

.t-form__inputsbox { max-width: 760px; }
.t-input, .t-select, .t-input-block textarea {
  min-height: 50px;
  border-radius: 3px !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
}
.site-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.4;
}
.site-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; }
.site-form-status { min-height: 24px; margin-top: 12px; font-size: 15px; }
.site-form-status[data-kind="success"] { color: #267642; }
.site-form-status[data-kind="error"] { color: #a32929; }
.site-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

#tildacopy, .t-tildalabel { display: none !important; }

@media (max-width: 980px) {
  .site-header__inner { min-height: 68px; }
  .site-menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 12px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border-bottom: 1px solid var(--site-line);
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { justify-content: flex-start; padding: 0 8px; }
  .site-nav__order { justify-content: center !important; margin-top: 8px; }
  .t979__grid { column-count: 2; column-gap: 16px; }
  .t979__grid-item { margin-bottom: 16px !important; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header__inner { width: min(calc(100% - 28px), var(--site-max)); }
  .site-brand { max-width: 220px; font-size: 18px; }
  .t979__grid { column-count: 1; }
  .t-container { max-width: calc(100% - 28px) !important; }
  .t-btn, button, input[type="submit"] { max-width: 100%; }
}
