/* Hadesbet — lightweight, responsive museum gallery styling */
:root {
  --ink: #1c1a19;
  --ink-soft: #332d2a;
  --bronze: #9b7044;
  --bronze-light: #c49a68;
  --cream: #f3ead9;
  --paper: #fffaf0;
  --burgundy: #6a2631;
  --burgundy-dark: #451720;
  --mist: #ded2bf;
  --line: rgba(155, 112, 68, .3);
  --shadow: 0 22px 50px rgba(28, 26, 25, .12);
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 99;
  padding: .7rem 1rem;
  color: var(--paper);
  background: var(--burgundy);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 10;
  color: var(--paper);
  background: var(--ink);
  border-bottom: 1px solid rgba(196, 154, 104, .24);
}
.nav-wrap {
  width: min(var(--content), calc(100% - 2.5rem));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  color: var(--paper);
  text-decoration: none;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: .065em;
  line-height: 1;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--bronze-light);
  border: 1px solid var(--bronze);
  border-radius: 50%;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}
.brand-subtitle {
  display: block;
  margin-top: .36rem;
  color: var(--mist);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 0;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(243, 234, 217, .35);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  content: '';
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  position: relative;
  padding: .55rem 0;
  color: var(--mist);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: .12rem;
  left: 0;
  height: 1px;
  background: var(--bronze-light);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current='page']::after { transform: scaleX(1); }
.site-nav a[aria-current='page'] { color: var(--paper); }

main { overflow: hidden; }
.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  color: var(--paper);
  background: var(--ink);
  isolation: isolate;
}
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(24, 22, 21, .94) 0%, rgba(24, 22, 21, .73) 40%, rgba(24, 22, 21, .2) 80%, rgba(24, 22, 21, .36) 100%);
  content: '';
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-content {
  width: min(var(--content), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5rem 0;
}
.kicker,
.section-kicker {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.05rem;
  color: var(--bronze-light);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.kicker::before,
.section-kicker::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: '';
}
h1, h2, h3, h4 {
  margin-top: 0;
  color: inherit;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.08;
}
h1 { max-width: 760px; margin-bottom: 1.3rem; font-size: clamp(3.3rem, 7vw, 6.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.3rem, 4.2vw, 4rem); letter-spacing: -.035em; }
h3 { font-size: 1.65rem; }
p { margin: 0 0 1.1rem; }
.hero-copy { max-width: 590px; color: rgba(255, 250, 240, .86); font-size: clamp(1rem, 1.4vw, 1.17rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .75rem 1.15rem;
  color: var(--ink);
  background: var(--bronze-light);
  border: 1px solid var(--bronze-light);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.button:hover { color: var(--paper); background: var(--burgundy); border-color: var(--burgundy); transform: translateY(-2px); }
.button--outline { color: var(--paper); background: transparent; border-color: rgba(243, 234, 217, .6); }
.button--outline:hover { color: var(--ink); background: var(--paper); border-color: var(--paper); }

.museum-note {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  width: min(var(--content), calc(100% - 2.5rem));
  margin: -1px auto 0;
  padding: 1.5rem 0;
  color: var(--paper);
  background: var(--burgundy);
}
.museum-note > *:first-child { margin-left: 2rem; }
.museum-note > *:last-child { margin-right: 2rem; }
.museum-note strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 1.1rem; font-weight: 400; }
.museum-note p { margin: 0; color: rgba(255, 250, 240, .84); font-size: .93rem; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--paper { background: var(--paper); }
.section--ink { color: var(--paper); background: var(--ink); }
.section--mist { background: #e9ddca; }
.container { width: min(var(--content), calc(100% - 2.5rem)); margin: 0 auto; }
.section-heading { max-width: 680px; margin-bottom: 2.9rem; }
.section-heading p:not(.section-kicker) { max-width: 610px; color: #5a5149; }
.section--ink .section-heading p:not(.section-kicker) { color: var(--mist); }
.rule { width: 70px; height: 1px; margin: 1.4rem 0 1.6rem; background: var(--bronze); }

.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.collection-card { display: flex; flex-direction: column; min-width: 0; background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.collection-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.collection-card__image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-soft); }
.collection-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.collection-card:hover .collection-card__image img { transform: scale(1.035); }
.collection-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.4rem 1.4rem 1.55rem; }
.collection-card__count { margin: 0 0 .65rem; color: var(--burgundy); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.collection-card h3 { margin-bottom: .8rem; font-size: 1.55rem; }
.collection-card p { color: #63594f; font-size: .94rem; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; margin-top: auto; padding-top: .7rem; color: var(--burgundy); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.text-link::after { content: '→'; font-size: 1.1rem; line-height: 0; }
.text-link:hover { color: var(--bronze); }

.split-feature { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; background: var(--ink); }
.split-feature__image { min-height: 520px; }
.split-feature__image img { width: 100%; height: 100%; object-fit: cover; }
.split-feature__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.8rem, 6vw, 6rem); color: var(--paper); }
.split-feature__content p:not(.section-kicker) { max-width: 470px; color: var(--mist); }
.split-feature__content .button { align-self: flex-start; margin-top: 1rem; }

.ornament { display: flex; align-items: center; gap: .7rem; margin: 1.2rem 0 1.4rem; color: var(--bronze); }
.ornament::before, .ornament::after { width: 34px; height: 1px; background: currentColor; content: ''; }
.ornament span { font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; }

.page-hero { position: relative; color: var(--paper); background: var(--ink); }
.page-hero .container { padding: clamp(4rem, 8vw, 7rem) 0; }
.page-hero .container::before { display: block; width: 64px; height: 1px; margin-bottom: 1.4rem; background: var(--bronze); content: ''; }
.page-hero h1 { max-width: 760px; margin-bottom: 1.25rem; font-size: clamp(3.15rem, 6vw, 5.5rem); }
.page-hero p { max-width: 640px; margin: 0; color: var(--mist); font-size: 1.12rem; }
.page-hero--burgundy { background: var(--burgundy-dark); }

.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.two-column__aside { padding-top: .55rem; }
.aside-note { padding: 1.3rem 0 1.3rem 1.3rem; color: #63594f; border-left: 2px solid var(--bronze); font-family: Georgia, 'Times New Roman', serif; font-size: 1.22rem; line-height: 1.45; }
.rich-copy { max-width: 650px; font-size: 1.05rem; }
.rich-copy h2 { margin-top: 2rem; font-size: clamp(2rem, 3.3vw, 3rem); }
.rich-copy h2:first-child { margin-top: 0; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3rem; background: var(--line); }
.principle { padding: 2rem 1.8rem; background: var(--paper); }
.principle__number { display: block; margin-bottom: 1rem; color: var(--bronze); font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; }
.principle h3 { margin-bottom: .75rem; }
.principle p { margin: 0; color: #63594f; font-size: .94rem; }

.collection-list { display: grid; gap: 2.3rem; }
.collection-row { display: grid; grid-template-columns: .93fr 1.07fr; min-height: 370px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.collection-row:nth-child(even) { grid-template-columns: 1.07fr .93fr; }
.collection-row:nth-child(even) .collection-row__media { order: 2; }
.collection-row__media { min-height: 100%; overflow: hidden; background: var(--ink-soft); }
.collection-row__media img { width: 100%; height: 100%; min-height: 370px; object-fit: cover; }
.collection-row__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.collection-row__index { margin-bottom: .75rem; color: var(--burgundy); font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; }
.collection-row h2 { margin-bottom: 1rem; font-size: clamp(2.1rem, 3.7vw, 3.4rem); }
.collection-row p { max-width: 500px; color: #5e544a; }
.collection-row__tag { margin-top: 1rem; color: var(--bronze); font-size: .71rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2.5rem, 8vw, 8rem); align-items: start; }
.contact-details { padding-top: .5rem; }
.contact-details h2 { font-size: clamp(2.25rem, 4vw, 3.6rem); }
.contact-email { display: inline-block; margin: 1.1rem 0 1.35rem; padding-bottom: .18rem; color: var(--burgundy); border-bottom: 1px solid var(--bronze); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.25rem, 2vw, 1.7rem); text-decoration: none; }
.contact-email:hover { color: var(--bronze); }
.contact-note { color: #665b50; font-size: .92rem; }
.form-panel { padding: clamp(1.7rem, 4vw, 3rem); background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.form-panel h2 { margin-bottom: .8rem; font-size: 2.25rem; }
.form-intro { margin-bottom: 1.6rem; color: #665b50; font-size: .94rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: .4rem; color: #4d433b; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; padding: .78rem .85rem; color: var(--ink); background: #fffdf8; border: 1px solid #cdbda5; border-radius: 0; outline: none; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(106, 38, 49, .1); }
.form-status { min-height: 1.5rem; margin: 1rem 0 0; color: var(--burgundy); font-size: .9rem; }

.policy { max-width: 820px; }
.policy h2 { margin: 2.5rem 0 .9rem; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.policy h2:first-of-type { margin-top: 0; }
.policy p, .policy li { color: #5d5349; }
.policy ul { padding-left: 1.2rem; }
.policy a { color: var(--burgundy); text-decoration-color: var(--bronze); }
.policy a:hover { color: var(--bronze); }

.cta-band { padding: 3.2rem 0; color: var(--paper); background: var(--burgundy); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.cta-band p { margin: .45rem 0 0; color: rgba(255,250,240,.78); }
.cta-band .button { flex: 0 0 auto; color: var(--ink); background: var(--paper); border-color: var(--paper); }
.cta-band .button:hover { color: var(--paper); background: transparent; }

.site-footer { color: var(--mist); background: #151414; }
.footer-main { display: grid; grid-template-columns: 1.35fr .75fr .9fr; gap: 3rem; padding: 3.8rem 0 3rem; }
.footer-brand { margin-bottom: 1.1rem; }
.footer-text { max-width: 360px; color: #b9aa95; font-size: .9rem; }
.footer-heading { margin: .35rem 0 1rem; color: var(--paper); font-family: Georgia, 'Times New Roman', serif; font-size: 1.1rem; font-weight: 400; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: .45rem; }
.footer-links a { color: #b9aa95; font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: var(--bronze-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid rgba(243, 234, 217, .12); color: #928675; font-size: .75rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--paper); }

@media (max-width: 900px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .split-feature { grid-template-columns: 1fr; }
  .split-feature__image { min-height: 390px; }
  .collection-row, .collection-row:nth-child(even) { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1.25fr .8fr; }
  .footer-main > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .nav-wrap { min-height: 72px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: .75rem 1.25rem 1.25rem; background: var(--ink); border-bottom: 1px solid rgba(196, 154, 104, .24); }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: grid; gap: .2rem; }
  .site-nav a { display: block; padding: .75rem .1rem; }
  .site-nav a::after { display: none; }
  .hero { min-height: 620px; }
  .hero::after { background: linear-gradient(90deg, rgba(24, 22, 21, .94), rgba(24, 22, 21, .55)), linear-gradient(0deg, rgba(24, 22, 21, .65), transparent); }
  .hero-content { padding: 4rem 0; }
  .museum-note { grid-template-columns: 1fr; gap: .45rem; padding: 1.2rem 0; }
  .museum-note > *:first-child, .museum-note > *:last-child { margin: 0 1.25rem; }
  .section { padding: 4.2rem 0; }
  .two-column, .contact-layout { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .collection-row, .collection-row:nth-child(even) { grid-template-columns: 1fr; }
  .collection-row:nth-child(even) .collection-row__media { order: 0; }
  .collection-row__media img { min-height: 280px; }
  .cta-band .container { display: block; }
  .cta-band .button { margin-top: 1.5rem; }
}

@media (max-width: 510px) {
  .nav-wrap, .container, .hero-content, .museum-note { width: min(100% - 2rem, var(--content)); }
  .brand { font-size: 1.28rem; }
  .brand-subtitle { font-size: .53rem; }
  h1 { font-size: clamp(2.9rem, 15vw, 4rem); }
  .hero { min-height: 575px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .collection-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-main > :last-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom > * + * { display: inline-block; margin-top: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
