:root {
  --paper: #f6f3ec;
  --ink: #1c1915;
  --ink-soft: #3a342c;
  --muted: #6f675c;
  --gold: #8d7340;
  --gold-line: rgba(141, 115, 64, 0.55);
  --serif: "Bodoni Moda", "Didot", "Bodoni MT", "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.75rem;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1rem 1.75rem 0.9rem;
  border-bottom: 1px solid var(--gold-line);
  flex-wrap: wrap;
}

.site-header.is-home {
  justify-content: center;
}

.brand {
  display: block;
  line-height: 0;
}

.brand img {
  width: 196px;
  mix-blend-mode: multiply;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
}

nav a {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 0;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--gold);
}

nav a:focus-visible,
.actions a:focus-visible,
.footer-legal a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.home {
  width: min(880px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.25rem 0 4.5rem;
  text-align: center;
}

.home-logo {
  width: min(540px, 100%);
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.location {
  margin: 0.15rem 0 1.6rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lede {
  max-width: 40rem;
  margin: 0 auto 1rem;
  color: var(--ink-soft);
}

.auction-card {
  width: min(40rem, 100%);
  margin: 2.4rem auto 2rem;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--gold);
}

.ornament::before,
.ornament::after {
  content: "";
  width: 4.25rem;
  height: 1px;
  background: currentColor;
}

.ornament i {
  width: 0.42rem;
  height: 0.42rem;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.eyebrow {
  margin: 0.9rem 0 0.35rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.auction-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  column-gap: 0.65rem;
  width: min(40rem, 100%);
  margin: 0 auto 0.9rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.35vw, 1.65rem);
  font-weight: 500;
  line-height: 1.25;
}

.auction-title span:first-child {
  text-align: right;
}

.auction-title span:last-child {
  text-align: left;
}

.auction-mark {
  text-align: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.actions a,
button {
  display: inline-block;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 0.85rem 1.15rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.actions a:hover,
button:hover {
  background: var(--ink);
  color: var(--paper);
}

.page {
  width: min(42rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.25rem 0 4.5rem;
}

.page h1,
.legal h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.35rem, 5vw, 3.35rem);
  line-height: 1.05;
}

.page-intro {
  margin: 1.15rem 0 0;
}

.page p,
.legal li {
  color: var(--ink-soft);
}

.page .ornament {
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.about-page h1,
.auctions-page h1 {
  text-align: center;
}

.about-page .ornament,
.auctions-page .ornament {
  justify-content: center;
}

.auctions-page p {
  text-align: center;
}

.categories {
  list-style: none;
  margin: 1.4rem 0 1.6rem;
  padding: 0;
}

.categories li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--gold-line);
  color: var(--ink);
}

.categories li:last-child {
  border-bottom: 1px solid var(--gold-line);
}

form {
  display: grid;
  gap: 1.15rem;
  margin-top: 2rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  background: transparent;
  color: var(--ink);
  border: none;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.55rem 0;
}

textarea {
  min-height: 9rem;
  border: 1px solid var(--ink);
  padding: 0.75rem;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

input[type="file"] {
  border-bottom: none;
  padding: 0.35rem 0;
  font-size: 0.95rem;
}

.file-fields input + input {
  margin-top: 0.7rem;
}

.field-error {
  min-height: 1.2rem;
  margin: 0.3rem 0 0;
  color: #7a2e24;
  font-size: 0.88rem;
}

.hint,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.contact-list li {
  margin: 0.35rem 0;
}

.contact-list a {
  color: var(--ink);
}

.legal h2 {
  margin: 2rem 0 0.45rem;
  font-size: 1.55rem;
}

.notice {
  margin: 0 0 0.5rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 0.98rem;
}

.site-footer {
  border-top: 1px solid var(--gold-line);
  padding: 1.8rem 1.25rem 2.2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-name {
  margin: 0 0 0.2rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.site-footer p {
  margin: 0.15rem 0;
}

.site-footer a {
  color: var(--ink-soft);
}

.footer-legal {
  margin-top: 0.85rem !important;
}

.footer-legal a {
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
}

.footer-legal span {
  margin: 0 0.45rem;
  color: var(--gold);
}

.footer-copy {
  margin-top: 0.85rem !important;
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  .auction-title {
    display: block;
    width: 100%;
    text-align: center;
  }

  .auction-title span {
    text-align: center;
  }

  .site-header {
    justify-content: center;
    padding: 0.85rem 1rem 0.7rem;
  }

  nav {
    justify-content: center;
  }

  .page .ornament {
    justify-content: center;
  }

  .page h1 {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
