:root {
  --ink: #201c18;
  --paper: #f6f0e6;
  --clay: #b64d31;
  --sand: #dbc49f;
  --olive: #5d6650;
  --line: rgba(32, 28, 24, 0.2);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.brand span {
  color: var(--clay);
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
}

.primary-nav a,
.header-note,
.footer-nav a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:hover,
.footer-nav a:hover {
  color: var(--clay);
}

.header-note {
  justify-self: end;
  color: var(--olive);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  min-height: 660px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 6vw, 7rem) 8vw 3rem 4vw;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.93;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.6rem;
  font-size: clamp(4rem, 8vw, 8.2rem);
}

h2 {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-copy > div > p:not(.eyebrow),
.intro-copy p {
  max-width: 39rem;
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: "↗";
  font-size: 1.1rem;
}

.hero-image {
  min-height: 660px;
  background: #41332c;
}

.hero-image img {
  height: 100%;
  object-fit: cover;
}

.marquee {
  overflow: hidden;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.marquee span {
  display: inline-block;
  padding-left: 2rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.section {
  padding: clamp(4rem, 8vw, 9rem) 4vw;
}

.collections-intro {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 410px);
  gap: 3rem;
  align-items: end;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 1.4rem;
  margin-top: 3.5rem;
}

.collection-card {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 1.25rem;
  color: #fffaf1;
  background: #4c473d center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.collection-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 12, 0.1), rgba(15, 15, 12, 0.72));
  content: "";
}

.collection-card > * {
  position: relative;
}

.collection-card:nth-child(1) {
  min-height: 610px;
  background-image: url("../images/mosaic-lanterns.jpg");
}

.collection-card:nth-child(2) {
  background-image: url("../images/ceramic-gift-display.jpg");
}

.collection-card:nth-child(3) {
  background-image: url("../images/textile-market.jpg");
}

.card-count {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.collection-card h3 {
  max-width: 10ch;
  margin: auto 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.4vw, 3.8rem);
  font-weight: 400;
  line-height: 0.95;
}

.collection-card a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
  background: var(--sand);
}

.split-story img {
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 8rem);
}

.story-copy p {
  max-width: 38rem;
}

.object-notes {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.object-notes > div {
  padding: 3rem 0;
}

.object-notes > div + div {
  border-left: 1px solid var(--line);
  padding-left: 3rem;
}

.note-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.note-list p {
  font-size: 0.93rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  padding: clamp(3rem, 7vw, 7rem) 4vw;
  color: #fffaf1;
  background: var(--olive);
}

.cta-panel h2 {
  max-width: 11ch;
  margin-bottom: 0;
}

.cta-panel .text-link {
  border-color: #fffaf1;
}

.site-footer {
  padding: 4rem 4vw 1.5rem;
  color: #fffaf1;
  background: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-top .brand {
  align-self: start;
  font-size: 2.3rem;
}

.footer-title {
  margin-bottom: 1rem;
  color: #c9bfae;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  gap: 0.6rem;
}

.footer-nav a,
.footer-contact {
  color: #fffaf1;
}

.footer-contact {
  margin: 0;
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 250, 241, 0.24);
  color: #c9bfae;
  font-size: 0.78rem;
}

.page-hero {
  padding: clamp(4rem, 9vw, 10rem) 4vw 4rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 12ch;
  margin: 0;
}

.page-hero p:last-child {
  max-width: 39rem;
  margin: 2rem 0 0 auto;
  font-size: 1.08rem;
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.catalogue-item {
  padding: 1.25rem;
  background: var(--paper);
}

.catalogue-item img {
  height: min(54vw, 500px);
  object-fit: cover;
}

.catalogue-item h2 {
  margin: 1.1rem 0 0.4rem;
  font-size: clamp(2rem, 3.3vw, 3.5rem);
}

.catalogue-item p {
  max-width: 34rem;
}

.prose {
  max-width: 790px;
  margin: 0 auto;
}

.prose h2 {
  margin: 3rem 0 1rem;
  font-size: 2.7rem;
}

.prose p,
.prose li {
  font-size: 1.03rem;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--sand);
}

.visit-grid > div {
  padding: clamp(3rem, 7vw, 8rem) 4vw;
}

.visit-grid > div + div {
  border-left: 1px solid var(--line);
}

.visit-grid address {
  font-style: normal;
  font-size: 1.15rem;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10;
  width: min(390px, calc(100% - 2rem));
  padding: 1.25rem;
  color: #fffaf1;
  background: var(--ink);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.cookie-banner p {
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
}

.cookie-banner a {
  color: #fffaf1;
}

.cookie-banner button {
  border: 1px solid #fffaf1;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: #fffaf1;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1.3rem 5vw;
  }
  .brand,
  .header-note {
    justify-self: center;
  }
  .hero,
  .split-story,
  .collections-intro,
  .object-notes,
  .cta-panel,
  .visit-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    min-height: 520px;
    padding: 4rem 6vw 2.5rem;
  }
  .hero-image,
  .hero-image img {
    min-height: 430px;
  }
  .collection-grid {
    grid-template-columns: 1fr;
  }
  .collection-card,
  .collection-card:nth-child(1) {
    min-height: 470px;
  }
  .object-notes > div + div,
  .visit-grid > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }
  .note-list,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .catalogue-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .primary-nav {
    gap: 0.8rem;
  }
  h1 {
    font-size: clamp(3.3rem, 17vw, 5.2rem);
  }
  .footer-bottom {
    flex-direction: column;
  }
}
