:root {
  --bg: #f7f5f1;
  --paper: #fffdfa;
  --ink: #1d1c19;
  --muted: #666158;
  --line: #ded8ce;
  --warm: #9f6b42;
  --warm-dark: #6f4427;
  --sage: #7b8a78;
  --soft: #ebe6dd;
  --shadow: 0 18px 44px rgba(41, 31, 20, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 250, 0.96);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 92px;
  min-height: 34px;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.nav-drawer-header,
.menu-overlay,
.nav-contact {
  display: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.language-switch button {
  min-width: 34px;
  min-height: 32px;
  padding: 5px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.language-switch button:hover,
.language-switch button:focus {
  color: var(--ink);
  background: var(--soft);
}

.language-switch button.active {
  background: var(--ink);
  color: var(--paper);
}

.nav a,
.filter {
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 6px;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus,
.filter:hover,
.filter:focus {
  color: var(--ink);
  background: var(--soft);
}

.favorite-count {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  margin-left: 5px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 0;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: width 160ms ease;
}

.menu-toggle:hover span:nth-child(2),
.menu-toggle:focus-visible span:nth-child(2) {
  width: 18px;
}

.menu-close {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.menu-close:hover,
.menu-close:focus {
  background: #e2dbd0;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.page-section {
  scroll-margin-top: 86px;
}

.hero {
  display: grid;
  width: min(1380px, calc(100% - 80px));
  grid-template-columns: minmax(0, 680px) minmax(420px, 1fr);
  gap: clamp(72px, 5vw, 100px);
  align-items: start;
  min-height: calc(100vh - 77px);
  padding-top: 72px;
  padding-bottom: 76px;
}

.hero-copy {
  max-width: 560px;
  padding-top: 10px;
}

.hero-copy h1 {
  margin: 0 0 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1.06;
  font-weight: 500;
}

.hero-copy p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-copy .eyebrow {
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--warm-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: var(--paper);
  color: var(--ink);
}

.button:hover,
.button:focus {
  box-shadow: 0 0 0 4px rgba(159, 107, 66, 0.16);
}

.artwork-placeholder,
.interior-photo {
  position: relative;
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(159, 107, 66, 0.22), rgba(123, 138, 120, 0.14)),
    repeating-linear-gradient(90deg, #ede7dd 0 18px, #f8f5ef 18px 36px);
  border: 12px solid var(--paper);
  outline: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--muted);
}

.artwork-placeholder::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(111, 68, 39, 0.35);
}

.artwork-placeholder span,
.interior-photo span {
  position: relative;
  z-index: 1;
  padding: 6px 10px;
  background: rgba(255, 253, 250, 0.76);
  border-radius: 4px;
  font-size: 14px;
}

.artwork-placeholder.large {
  aspect-ratio: 4 / 3;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.page-title,
.cta h2,
.about-page h2,
.contact-page h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 500;
}

.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.art-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.art-card button,
.heart-button {
  min-height: 44px;
}

.art-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: #f2eee7;
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  outline: 0;
}

.art-image-wrap img,
.hero-photo img,
.favorite-thumb img,
.selected-thumb img,
.frame-option img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.art-image-wrap img,
.favorite-thumb img,
.selected-thumb img {
  object-fit: contain;
}

.hero-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #f2eee7;
  border: 10px solid var(--paper);
  border-radius: 4px;
  outline: 1px solid #cfc6b9;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 44px rgba(41, 31, 20, 0.13);
}

@media (max-width: 1280px) {
  .hero {
    width: min(1160px, calc(100% - 40px));
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 54px;
  }

  .hero-copy h1 {
    font-size: 56px;
  }
}

.hero-photo img {
  object-fit: cover;
}

.art-card-body {
  padding: 18px;
}

.art-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.art-card h3 {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.25;
}

.art-card p {
  margin: 0;
  color: var(--muted);
}

.artwork-code {
  margin-top: 6px !important;
  color: var(--warm-dark) !important;
  font-size: 14px;
  font-weight: 700;
}

.card-meta {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.card-meta div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
}

.card-meta dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.card-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.heart-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.heart-button span:first-child {
  font-size: 15px;
}

.heart-button.active {
  background: #edf3ea;
  border-color: var(--sage);
  color: #3f6040;
}

.order-button {
  min-width: 94px;
  justify-content: center;
}

.cta {
  display: grid;
  gap: 36px;
  align-items: center;
}

.cta {
  grid-template-columns: 1fr auto;
  background: var(--paper);
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1160px) / 2));
  padding-right: max(20px, calc((100vw - 1160px) / 2));
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 42px;
}

.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pagination-status {
  display: none;
  min-width: 76px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.pagination-button {
  min-width: 46px;
  min-height: 46px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.pagination-button:hover,
.pagination-button:focus {
  border-color: var(--ink);
}

.pagination-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.pagination-button:disabled {
  cursor: default;
  opacity: 0.42;
}

.pagination-direction {
  min-width: 82px;
}

.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  white-space: nowrap;
}

.filter.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.details-layout,
.about-page,
.contact-page {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: start;
}

.detail-image {
  aspect-ratio: 4 / 3;
}

.details-panel,
.form-shell,
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 36px);
}

dl {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
}

dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.similar {
  margin-top: 48px;
}

.similar h3 {
  font-size: 24px;
}

.favorites-list,
.selected-box {
  display: grid;
  gap: 14px;
}

.favorite-item,
.selected-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.favorite-thumb,
.selected-thumb {
  overflow: hidden;
  background: #f2eee7;
  aspect-ratio: 4 / 3;
  min-height: 72px;
  border: 6px solid var(--paper);
  box-shadow: none;
}

.empty-state {
  padding: 28px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 13px 14px;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

select {
  min-height: 49px;
}

.framing-section {
  border-top: 1px solid var(--line);
}

.framing-section .split p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.frame-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 36px);
}

.frame-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.frame-preview-large {
  gap: 28px;
  margin-top: 34px;
}

.frame-option {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.frame-option img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f2eee7;
}

.frame-preview-large .frame-option img {
  aspect-ratio: 3 / 4;
}

.frame-option figcaption {
  display: grid;
  gap: 12px;
  padding: 14px;
  color: var(--muted);
  font-size: 14px;
}

.frame-order-button {
  justify-self: start;
}

.full,
.form button {
  grid-column: 1 / -1;
}

.form button {
  justify-self: start;
}

.about-text p {
  color: var(--muted);
}

.values {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.values article {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.values h3 {
  margin: 0 0 6px;
}

.interior-photo {
  min-height: 520px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.25), rgba(41, 31, 20, 0.08)),
    linear-gradient(90deg, #d8d0c4 0 26%, #f5f1e9 26% 36%, #c7b9a5 36% 38%, #eee8dd 38% 70%, #b5a38b 70%);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-intro {
  max-width: 560px;
  margin: 0 0 24px;
  color: var(--muted);
}

.contact-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-section .contact-page {
  grid-template-columns: minmax(320px, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

.contact-details {
  display: flex;
  min-height: 480px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 0;
}

.contact-details .contact-list {
  margin-top: 0;
}

.map-wrap {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-weight: 700;
}

.map-link:hover,
.map-link:focus {
  background: var(--soft);
}

.catalog-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.catalog-tab {
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.catalog-tab.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.catalog-viewer {
  height: min(76vh, 900px);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.catalog-viewer object {
  width: 100%;
  height: 100%;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.policy-page {
  min-height: calc(100vh - 180px);
}

.policy-section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.policy-section p {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 920px) {
  body.menu-open {
    overflow: hidden;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    z-index: 42;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(88vw, 380px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 24px 24px;
    background: var(--paper);
    border-top: 2px solid #d8cfc3;
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 50px rgba(29, 28, 25, 0.14);
    overflow-y: auto;
    transform: translateX(105%);
    visibility: hidden;
    transition:
      transform 240ms ease,
      visibility 240ms ease;
  }

  .nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-drawer-header {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 6px;
    padding: 8px 0 12px;
    border-bottom: 1px solid var(--line);
  }

  .nav-drawer-header img {
    display: block;
    width: 74px;
    max-height: 34px;
    height: auto;
    object-fit: contain;
    object-position: left center;
  }

  .nav > a {
    position: relative;
    display: flex;
    min-height: 56px;
    align-items: center;
    gap: 15px;
    padding: 12px 10px 12px 50px;
    border-bottom: 1px solid rgba(222, 216, 206, 0.72);
    border-radius: 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    transition:
      color 160ms ease,
      padding-left 160ms ease,
      background 160ms ease;
  }

  .nav > a:hover,
  .nav > a:focus {
    padding-left: 56px;
    color: var(--warm-dark);
    background: #f5f0e8;
  }

  .nav > a::before {
    content: "";
    position: absolute;
    left: 16px;
    width: 22px;
    height: 22px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.72;
  }

  .nav > a:nth-of-type(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666158' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
  }

  .nav > a:nth-of-type(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666158' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E");
  }

  .nav > a:nth-of-type(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666158' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2Z'/%3E%3C/svg%3E");
  }

  .nav > a:nth-of-type(4)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666158' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M7 8h10M7 12h10M7 16h6'/%3E%3C/svg%3E");
  }

  .nav > a:nth-of-type(5)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666158' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3h5v5'/%3E%3Cpath d='M21 3 13 11'/%3E%3Cpath d='M8 7H3v14h14v-5'/%3E%3C/svg%3E");
  }

  .nav > a:nth-of-type(6)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666158' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E");
  }

  .nav-contact {
    display: grid;
    gap: 5px;
    margin-top: auto;
    padding: 24px 4px 4px;
    border-top: 1px solid var(--line);
  }

  .language-switch {
    width: fit-content;
    margin: 2px 0 14px;
  }

  .nav-contact p {
    margin: 0 0 7px;
    color: var(--warm-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .nav-contact a {
    width: fit-content;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-color: #c7b6a5;
    text-underline-offset: 4px;
  }

  .nav-contact a:hover,
  .nav-contact a:focus {
    padding: 0;
    background: transparent;
    color: var(--warm-dark);
  }

  .menu-overlay {
    position: fixed;
    z-index: 41;
    inset: 0;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(29, 28, 25, 0.42);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition:
      opacity 240ms ease,
      visibility 240ms ease;
  }

  .menu-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .hero,
  .cta,
  .details-layout,
  .about-page {
    grid-template-columns: 1fr;
  }

  .contact-section .contact-page {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-section .contact-page > * {
    min-width: 0;
  }

  .contact-details {
    min-height: 0;
    gap: 30px;
    padding: 0;
  }

  .hero {
    gap: 38px;
    min-height: 0;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero-copy {
    max-width: 640px;
    padding-top: 0;
  }

  .hero-copy h1 {
    font-size: 50px;
  }

  .split {
    align-items: stretch;
    flex-direction: column;
  }

  .art-grid,
  .compact-grid,
  .frame-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta .button {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .section {
    width: min(100% - 28px, 1160px);
    padding: 52px 0;
  }

  .site-header {
    padding: 14px;
  }

  .hero {
    position: relative;
    display: flex;
    width: 100%;
    min-height: calc(100svh - 75px);
    margin: 0;
    align-items: flex-end;
    padding: 300px 28px 42px;
    overflow: hidden;
    background: #2b261f;
  }

  .hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        rgba(20, 17, 14, 0) 35%,
        rgba(20, 17, 14, 0.2) 52%,
        rgba(20, 17, 14, 0.86) 100%
      );
    pointer-events: none;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    order: initial;
    width: 100%;
    max-width: none;
    padding: 0;
    color: #fff;
    text-shadow: 0 2px 14px rgba(20, 16, 12, 0.25);
  }

  .hero-copy h1 {
    max-width: 500px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 44px;
    line-height: 1.04;
  }

  .hero-copy p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-copy .eyebrow {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
  }

  .hero-photo {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
  }

  .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% center;
  }

  .art-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .frame-preview,
  .form {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading h2,
  .page-title,
  .cta h2,
  .about-page h2,
  .contact-page h2 {
    font-size: 34px;
  }

  .filters {
    width: calc(100vw - 14px);
    margin-right: -14px;
    padding: 2px 14px 8px 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .art-card {
    border-radius: 6px;
  }

  .art-card-image {
    aspect-ratio: 1 / 1;
  }

  .art-card-body {
    padding: 11px;
  }

  .art-card h3 {
    margin-bottom: 0;
    font-size: 16px;
  }

  .card-meta {
    gap: 5px;
    margin-top: 9px;
    padding-top: 9px;
  }

  .card-meta div {
    display: block;
  }

  .card-meta dt {
    font-size: 11px;
  }

  .card-meta dd {
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.3;
  }

  .favorite-item,
  .selected-item {
    grid-template-columns: 92px 1fr;
  }

  .favorite-item .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .footer {
    display: block;
  }

  .catalog-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pagination {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
  }

  .pagination-pages {
    display: none;
  }

  .pagination-status {
    display: inline-flex;
  }

  .pagination-direction {
    flex: 1 1 100px;
    max-width: 140px;
  }

  .catalog-viewer {
    display: block;
    height: 70svh;
    min-height: 480px;
  }

  .catalog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .catalog-open,
  .catalog-download {
    display: flex;
    width: 100%;
  }

  .contact-section .contact-page {
    width: 100%;
    gap: 24px;
  }

  .contact-section {
    overflow: hidden;
  }

  .contact-section .section-heading {
    margin-bottom: 24px;
  }

  .contact-details {
    width: 100%;
    gap: 18px;
  }

  .contact-intro {
    max-width: none;
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
  }

  .contact-list {
    width: 100%;
    gap: 10px;
  }

  .contact-list p {
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    overflow-wrap: anywhere;
  }

  .contact-list strong {
    display: inline-block;
    margin-bottom: 3px;
    font-size: 13px;
    color: var(--muted);
  }

  .map-wrap {
    grid-template-rows: 250px auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 0;
    border-radius: 6px;
  }

  .map-wrap iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
  }

  .map-link {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 12px;
    text-align: center;
  }

  .footer p {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .section {
    width: min(100% - 22px, 1160px);
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .map-wrap {
    grid-template-rows: 220px auto;
  }

  .contact-list p {
    padding: 12px;
  }
}

@media (min-width: 921px) {
  .hero {
    position: relative;
    display: flex;
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 77px);
    margin: 0;
    align-items: center;
    padding: 72px max(72px, calc((100vw - 1160px) / 2));
    overflow: hidden;
    background: #332d25;
  }

  .hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
      linear-gradient(
        90deg,
        rgba(22, 19, 16, 0.68) 0%,
        rgba(22, 19, 16, 0.48) 27%,
        rgba(22, 19, 16, 0.12) 53%,
        rgba(22, 19, 16, 0) 72%
      );
    pointer-events: none;
  }

  .hero-photo {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
  }

  .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: min(510px, 44vw);
    max-width: none;
    padding: 0;
    color: #fff;
    text-shadow: 0 2px 18px rgba(20, 16, 12, 0.2);
  }

  .hero-copy .eyebrow {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
  }

  .hero-copy h1 {
    margin-bottom: 28px;
    color: #fff;
    font-size: clamp(52px, 4.5vw, 72px);
    line-height: 1.03;
  }

  .hero-copy p {
    max-width: 470px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.7;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 100px;
    min-height: 100px;
    padding: 0 26px;
    background: #fff;
  }

  .site-header .logo {
    width: 108px;
    min-height: 0;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    padding: 9px;
    gap: 6px;
  }

  .menu-toggle span {
    width: 28px;
    height: 2px;
  }

  .hero {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    margin: 0;
    align-items: flex-end;
    padding: 42px 28px;
    overflow: hidden;
    background: #211d18;
  }

  .hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        rgba(12, 10, 8, 0) 38%,
        rgba(12, 10, 8, 0.12) 50%,
        rgba(12, 10, 8, 0.55) 68%,
        rgba(12, 10, 8, 0.82) 100%
      );
    pointer-events: none;
  }

  .hero-photo,
  .hero-photo picture {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
  }

  .hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% center;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    order: initial;
    width: 100%;
    max-width: 580px;
    padding: 0;
    color: #fff;
    text-shadow: 0 2px 14px rgba(20, 16, 12, 0.24);
  }

  .hero-copy .eyebrow {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 13px;
  }

  .hero-copy h1 {
    max-width: 560px;
    margin: 0 0 18px;
    color: #fff;
    font-size: 40px;
    line-height: 1.06;
  }

  .hero-copy p {
    max-width: 570px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.65;
  }

  #gallery.section {
    width: 100%;
    margin: 0;
    padding: 54px 24px 60px;
    background: #fbfaf8;
  }

  #gallery .section-heading {
    gap: 24px;
    margin-bottom: 34px;
  }

  #gallery .section-heading .eyebrow {
    margin-bottom: 12px;
    font-size: 13px;
  }

  #gallery .section-heading h2 {
    font-size: 42px;
    line-height: 1.08;
  }

  #gallery .filters {
    width: calc(100vw - 24px);
    margin-right: -24px;
    padding: 2px 24px 8px 0;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  #gallery .filters::-webkit-scrollbar {
    display: none;
  }

  #gallery .filter {
    flex: 0 0 auto;
    min-height: 50px;
    padding: 11px 20px;
    border-radius: 999px;
    background: transparent;
    white-space: nowrap;
  }

  #gallery .filter.active {
    background: var(--ink);
    color: var(--paper);
  }

  #gallery .art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  #gallery .art-card {
    min-width: 0;
    border-color: #e4ddd3;
    border-radius: 8px;
    background: #fff;
  }

  #gallery .art-card-image {
    aspect-ratio: 1 / 1;
    border-bottom-color: #e4ddd3;
    background: #f2eee7;
  }

  #gallery .art-card-body {
    padding: 12px;
  }

  #gallery .art-card h3 {
    font-size: 15px;
  }

  #gallery .card-meta {
    gap: 5px;
    margin-top: 9px;
    padding-top: 9px;
  }

  #gallery .card-meta div {
    display: block;
  }

  #gallery .card-meta dt {
    font-size: 10px;
  }

  #gallery .card-meta dd {
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.3;
  }

  #gallery .pagination {
    margin-top: 32px;
  }

  #gallery .gallery-more {
    margin-top: 30px;
  }

  #gallery .gallery-more .button {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 920px) {
  .site-header {
    height: 92px;
    min-height: 92px;
    padding: 0 36px;
    background: #fff;
  }

  .hero {
    position: relative;
    display: flex;
    width: 100%;
    min-height: calc(100svh - 92px);
    margin: 0;
    align-items: flex-end;
    padding: 64px 52px;
    overflow: hidden;
    background: #211d18;
  }

  .hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        rgba(12, 10, 8, 0) 34%,
        rgba(12, 10, 8, 0.18) 52%,
        rgba(12, 10, 8, 0.82) 100%
      );
    pointer-events: none;
  }

  .hero-photo,
  .hero-photo picture {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
  }

  .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: min(570px, 75vw);
    max-width: none;
    padding: 0;
    color: #fff;
    text-shadow: 0 2px 14px rgba(20, 16, 12, 0.24);
  }

  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy p {
    color: #fff;
  }

  .hero-copy h1 {
    margin-bottom: 20px;
    font-size: 52px;
    line-height: 1.04;
  }

  .hero-copy p {
    max-width: 540px;
    font-size: 16px;
    line-height: 1.65;
  }
}

@media (max-width: 390px) {
  .site-header {
    height: 92px;
    min-height: 92px;
    padding: 0 20px;
  }

  .site-header .logo {
    width: 94px;
  }

  .hero {
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 30px 22px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  #gallery.section {
    padding-right: 18px;
    padding-left: 18px;
  }

  #gallery .section-heading h2 {
    font-size: 38px;
  }

  #gallery .filters {
    width: calc(100vw - 18px);
    margin-right: -18px;
    padding-right: 18px;
  }

  #gallery .filter {
    min-height: 48px;
    padding-right: 17px;
    padding-left: 17px;
  }

  #gallery .art-grid {
    gap: 12px 10px;
  }
}

/* Gallery lightbox */
.lightbox-trigger {
  position: relative;
  width: 100%;
  padding: 0;
  color: inherit;
  cursor: zoom-in;
  appearance: none;
}

.art-zoom-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(17, 15, 12, 0);
  opacity: 0;
  transition:
    background-color 220ms ease,
    opacity 220ms ease;
  pointer-events: none;
}

.art-zoom-overlay svg {
  width: 52px;
  height: 52px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(20, 18, 15, 0.55);
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scale(0.88);
  transition: transform 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .lightbox-trigger:hover .art-zoom-overlay,
  .lightbox-trigger:focus-visible .art-zoom-overlay {
    background: rgba(17, 15, 12, 0.34);
    opacity: 1;
  }

  .lightbox-trigger:hover .art-zoom-overlay svg,
  .lightbox-trigger:focus-visible .art-zoom-overlay svg {
    transform: scale(1);
  }
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 88px 62px;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition:
    opacity 240ms ease,
    visibility 240ms ease;
  touch-action: pan-y;
}

.gallery-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-image.is-visible {
  opacity: 1;
  transform: scale(1);
}

.lightbox-caption {
  position: absolute;
  right: 80px;
  bottom: 24px;
  left: 80px;
  color: rgba(255, 255, 255, 0.78);
  font: 500 14px/1.4 Arial, Helvetica, sans-serif;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-previous {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-counter {
  position: absolute;
  top: 32px;
  left: 50%;
  color: rgba(255, 255, 255, 0.82);
  font: 500 14px/1 Arial, Helvetica, sans-serif;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .art-zoom-overlay {
    display: none;
  }

  .gallery-lightbox {
    padding: 64px 12px 52px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox-counter {
    top: 29px;
  }

  .lightbox-nav {
    display: none;
  }

  .lightbox-caption {
    right: 20px;
    bottom: 18px;
    left: 20px;
  }
}

@media (max-width: 520px) {
  #gallery .filters {
    display: grid;
    width: 100%;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
  }

  #gallery .filter {
    width: 100%;
    min-width: 0;
    padding: 10px 8px;
    font-size: 14px;
    text-align: center;
  }
}

/* Contact presentation */
.contact-section {
  width: min(1400px, calc(100% - 80px));
  padding-top: 82px;
  padding-bottom: 82px;
}

.contact-section .contact-page {
  grid-template-columns: minmax(330px, 0.78fr) minmax(620px, 1.42fr);
  gap: clamp(56px, 6vw, 100px);
  align-items: center;
}

.contact-details {
  min-height: 610px;
  justify-content: flex-start;
  padding: 16px 0;
}

.contact-details .section-heading {
  margin-bottom: 28px;
}

.contact-details .section-heading h2 {
  font-size: clamp(44px, 4vw, 62px);
}

.contact-accent {
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 30px;
  background: var(--warm);
}

.contact-intro {
  max-width: 520px;
  margin: 0 0 42px;
  font-size: 17px;
  line-height: 1.75;
}

.contact-list {
  gap: 0;
  margin: 0;
}

.contact-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #f0ebe3;
  color: var(--warm-dark);
}

.contact-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item p {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin: 0;
}

.contact-item strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.contact-item a,
.contact-item span {
  color: var(--ink);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-item a:hover,
.contact-item a:focus {
  color: var(--warm-dark);
}

.contact-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.contact-visual > img {
  display: block;
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: center;
}

.location-card {
  position: absolute;
  right: 5%;
  bottom: 28px;
  left: 15%;
  display: grid;
  min-height: 290px;
  grid-template-columns: minmax(250px, 0.82fr) minmax(320px, 1.18fr);
  overflow: hidden;
  border: 1px solid rgba(222, 216, 206, 0.9);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.96);
  box-shadow: 0 18px 44px rgba(29, 28, 25, 0.14);
}

.location-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px;
}

.location-copy h3 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
}

.location-copy p {
  margin: 0 0 28px;
  line-height: 1.65;
}

.location-card .map-wrap {
  display: block;
  height: 100%;
  min-height: 290px;
  border: 0;
  border-radius: 0;
}

.location-card .map-link {
  min-height: 48px;
  padding: 11px 16px;
  border: 0;
  border-radius: 6px;
  background: var(--warm-dark);
  color: #fff;
}

.location-card .map-link:hover,
.location-card .map-link:focus {
  background: #57331f;
}

@media (min-width: 921px) {
  .nav > a {
    position: relative;
    transition:
      color 160ms ease,
      background 160ms ease;
  }

  .nav > a.active,
  .nav > a[aria-current="page"] {
    color: var(--ink);
    background: #f4f0e9;
    font-weight: 700;
  }

  .nav > a.active::after,
  .nav > a[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 4px;
    left: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--warm);
  }
}

@media (max-width: 1100px) {
  .contact-section {
    width: min(100% - 40px, 1160px);
  }

  .contact-section .contact-page {
    grid-template-columns: minmax(290px, 0.75fr) minmax(520px, 1.25fr);
    gap: 40px;
  }

  .location-card {
    left: 7%;
    grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  }
}

@media (max-width: 920px) {
  .nav > a.active,
  .nav > a[aria-current="page"] {
    position: relative;
    padding-left: 56px;
    background: #f2eee7;
    color: var(--warm-dark);
    font-weight: 700;
  }

  .nav > a.active::before,
  .nav > a[aria-current="page"]::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 34px;
    width: 3px;
    border-radius: 3px;
    background: var(--warm);
  }

  .contact-section {
    width: min(100% - 40px, 760px);
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .contact-section .contact-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .contact-details {
    min-height: 0;
    padding: 0;
  }

  .contact-visual {
    min-height: 650px;
  }

  .location-card {
    right: 20px;
    bottom: 20px;
    left: 20px;
    grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.1fr);
  }
}

@media (max-width: 620px) {
  .contact-section {
    width: 100%;
    padding: 56px 18px;
  }

  .contact-details .section-heading h2 {
    font-size: 38px;
  }

  .contact-intro {
    margin-bottom: 26px;
    font-size: 15px;
  }

  .contact-item {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
  }

  .contact-icon {
    width: 48px;
    height: 48px;
  }

  .contact-item p {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .contact-visual {
    min-height: 620px;
  }

  .contact-visual > img {
    height: 350px;
  }

  .location-card {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
  }

  .location-copy {
    padding: 24px;
  }

  .location-card .map-wrap {
    min-height: 250px;
  }
}

/* Final mobile contact layout */
@media (max-width: 620px) {
  .contact-section {
    width: 100%;
    padding: 0 0 56px;
    overflow: visible;
  }

  .contact-section .contact-page {
    position: relative;
    display: flex;
    gap: 0;
    flex-direction: column;
  }

  .contact-details {
    display: contents;
  }

  .contact-details .section-heading,
  .contact-intro {
    position: absolute;
    z-index: 3;
    right: 28px;
    left: 28px;
    color: #fff;
    text-shadow: 0 2px 14px rgba(16, 13, 10, 0.3);
  }

  .contact-details .section-heading {
    top: 330px;
    margin: 0;
  }

  .contact-details .section-heading .eyebrow {
    color: #d7ad77;
  }

  .contact-details .section-heading h2 {
    color: #fff;
    font-size: 42px;
    line-height: 1.08;
  }

  .contact-accent {
    margin-top: 22px;
    background: rgba(255, 255, 255, 0.9);
  }

  .contact-intro {
    top: 465px;
    max-width: none;
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 16px;
    line-height: 1.65;
  }

  .contact-list {
    position: relative;
    z-index: 5;
    order: 2;
    width: calc(100% - 36px);
    margin: -60px auto 32px;
    padding: 16px 28px;
    border: 1px solid rgba(222, 216, 206, 0.8);
    border-radius: 24px;
    background: #fff;
    box-shadow: none;
  }

  .contact-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    padding: 20px 0;
  }

  .contact-icon {
    width: 56px;
    height: 56px;
  }

  .contact-item p {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .contact-item strong {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
  }

  .contact-item a,
  .contact-item span {
    font-size: 16px;
    line-height: 1.5;
  }

  .contact-visual {
    display: contents;
  }

  .contact-visual > img {
    position: relative;
    z-index: 0;
    order: 1;
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: center;
  }

  .contact-page::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    height: 650px;
    background:
      linear-gradient(
        180deg,
        rgba(13, 10, 8, 0) 44%,
        rgba(13, 10, 8, 0.2) 58%,
        rgba(13, 10, 8, 0.9) 100%
      );
    pointer-events: none;
  }

  .location-card {
    position: static;
    z-index: 4;
    order: 3;
    display: flex;
    flex-direction: column;
    width: calc(100% - 36px);
    min-height: 0;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 14px;
  }

  .location-copy {
    display: contents;
  }

  .location-copy h3,
  .location-copy p {
    display: none;
  }

  .location-card .map-wrap {
    order: 1;
    height: 280px;
    min-height: 280px;
  }

  .location-card .map-link {
    order: 2;
    display: flex;
    min-height: 64px;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: var(--paper);
    color: var(--warm-dark);
    font-size: 17px;
  }

  .location-card .map-link:hover,
  .location-card .map-link:focus {
    background: var(--soft);
    color: var(--warm-dark);
  }
}

@media (max-width: 390px) {
  .contact-details .section-heading,
  .contact-intro {
    right: 22px;
    left: 22px;
  }

  .contact-details .section-heading {
    top: 308px;
  }

  .contact-details .section-heading h2 {
    font-size: 36px;
  }

  .contact-intro {
    top: 430px;
    font-size: 15px;
  }

  .contact-visual > img,
  .contact-page::after {
    height: 610px;
  }

  .contact-list,
  .location-card {
    width: calc(100% - 24px);
  }

  .contact-list {
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* Final mobile contact positioning */
@media (max-width: 768px) {
  .contact-details .section-heading {
    top: 352px;
  }

  .contact-intro {
    top: 492px;
  }

  .contact-list {
    position: relative;
    z-index: 5;
    margin-top: -60px !important;
    margin-bottom: 32px;
    border-radius: 24px;
    background: #fff;
    box-shadow: none;
  }
}

@media (max-width: 390px) {
  .contact-details .section-heading {
    top: 330px;
  }

  .contact-intro {
    top: 452px;
  }
}

/* Catalog page hero */
.catalogs-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #eee7dd;
}

.catalogs-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.catalogs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(249, 247, 243, 1) 0%,
    rgba(249, 247, 243, 0.98) 25%,
    rgba(249, 247, 243, 0.82) 39%,
    rgba(249, 247, 243, 0.2) 58%,
    rgba(249, 247, 243, 0) 72%
  );
}

.catalogs-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1380px, calc(100% - 80px));
  min-height: 360px;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 46px 0;
}

.catalogs-hero .eyebrow {
  margin: 0 0 12px;
  color: var(--warm-dark);
}

.catalogs-hero .page-title {
  max-width: 620px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 4.3vw, 68px);
  font-weight: 500;
  line-height: 1.05;
}

.catalogs-hero-accent {
  width: 48px;
  height: 1px;
  margin: 24px 0;
  background: var(--warm);
}

.catalogs-hero-intro {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.catalog-content {
  padding-top: 58px;
}

.frames-hero > img {
  object-position: center 46%;
}

.frames-hero .catalogs-hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(249, 247, 243, 1) 0%,
    rgba(249, 247, 243, 0.98) 26%,
    rgba(249, 247, 243, 0.84) 40%,
    rgba(249, 247, 243, 0.22) 59%,
    rgba(249, 247, 243, 0) 73%
  );
}

.frame-content {
  padding-top: 58px;
}

.frame-content .section-heading {
  margin-bottom: 32px;
}

.frame-content .section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .catalogs-hero {
    min-height: 480px;
  }

  .catalogs-hero > img {
    object-position: 58% center;
  }

  .catalogs-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(249, 247, 243, 0.02) 20%,
        rgba(249, 247, 243, 0.72) 58%,
        rgba(249, 247, 243, 0.98) 86%,
        rgba(249, 247, 243, 1) 100%
      );
  }

  .catalogs-hero-content {
    width: calc(100% - 40px);
    min-height: 480px;
    justify-content: flex-end;
    padding: 42px 0;
  }

  .catalogs-hero .page-title {
    font-size: 42px;
  }

  .catalogs-hero-accent {
    margin: 18px 0;
  }

  .catalogs-hero-intro {
    max-width: 520px;
    font-size: 16px;
  }

  .catalog-content {
    padding-top: 38px;
  }

  .frames-hero > img {
    object-position: 56% center;
  }

  .frames-hero .catalogs-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(249, 247, 243, 0.02) 20%,
        rgba(249, 247, 243, 0.72) 58%,
        rgba(249, 247, 243, 0.98) 86%,
        rgba(249, 247, 243, 1) 100%
      );
  }

  .frame-content {
    padding-top: 38px;
  }

  .frame-content .section-heading {
    align-items: flex-start;
  }
}
