:root {
  --green: #1f3d2b;
  --green-2: #2c5a3f;
  --amber: #c8862a;
  --amber-dark: #a86d1c;
  --cream: #f7f4ee;
  --paper: #ffffff;
  --ink: #1d231f;
  --muted: #5b655e;
  --line: #e2ddd2;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --wrap: 1120px;
  font-size: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); }
a:hover { color: var(--amber-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--green); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Header */
.site-header {
  background: var(--green);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; display: flex; align-items: center; gap: 10px; }
.brand:hover { color: #fff; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { color: #e8efe9; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2;
}
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-dark); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; border-color: var(--green); }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--green); }
.nav .btn { padding: 8px 14px; font-size: .95rem; }
@media (max-width: 640px) {
  .site-header { position: static; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .nav { gap: 2px; margin-left: -8px; }
  .nav a { padding: 6px 8px; font-size: .9rem; }
  .nav .btn { padding: 6px 12px; font-size: .9rem; margin-left: 4px; }
  .facts li { flex-direction: column; gap: 0; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero {
  position: relative; color: #fff;
  background: var(--green) url("../img/hero-1000.jpg") center 60% / cover no-repeat;
  padding: clamp(72px, 14vw, 160px) 0 clamp(56px, 10vw, 120px);
}
@media (min-width: 900px) { .hero { background-image: url("../img/hero-2000.jpg"); } }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,30,20,.35), rgba(15,30,20,.7)); }
.hero .wrap { position: relative; }
.hero h1 { color: #fff; margin-bottom: .2em; }
.hero .tagline { font-size: clamp(1.1rem, 2.4vw, 1.4rem); margin-bottom: 1.5em; opacity: .95; }

.page-head { background: var(--green); color: #fff; padding: 40px 0 36px; }
.page-head h1 { color: #fff; margin: 0; }
.page-head p { margin: .4em 0 0; opacity: .9; }

/* Sections */
section { padding: 56px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 70ch; }
.grid-2 { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1.3fr 1fr; align-items: start; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }

/* Auctioneers */
.people { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 0; padding: 0; list-style: none; }
.people li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.section-alt .people li { background: var(--cream); }
.people strong { display: block; color: var(--green); }
.people a { text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Auction card */
.auction-card { display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 860px) { .auction-card { grid-template-columns: 340px 1fr; } }
.auction-card .date-block { background: var(--green); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.date-block .month { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: #f1c787; }
.date-block .day { font-size: 3.5rem; font-weight: 800; line-height: 1; }
.date-block .year { font-size: 1.1rem; opacity: .85; }
.date-block .time { margin-top: 10px; font-weight: 600; }
.auction-card .body { padding: 28px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #e8f0ea; color: var(--green); margin-bottom: 10px; }
.badge.upcoming { background: #fdf0dc; color: #8a5a12; }
.badge.past { background: #ecebe8; color: #5b5b55; }
.facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.facts li { display: flex; gap: 10px; }
.facts b { min-width: 7.5em; color: var(--muted); font-weight: 600; }

.notice { border-left: 4px solid var(--amber); background: #fff8ec; padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.notice h3 { margin-bottom: .3em; color: #8a5a12; }
.notice p:last-child { margin: 0; }

/* Sale bill */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); text-decoration: none; font-weight: 600; font-size: .9rem; }
.consignor { margin-bottom: 28px; scroll-margin-top: 80px; }
.consignor h3 { border-bottom: 2px solid var(--line); padding-bottom: 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.consignor h3 small { font-weight: 600; font-size: .9rem; color: var(--muted); }
.consignor h3 small a { text-decoration: none; }
.items { margin: 0; padding-left: 1.2em; }
.items li { margin-bottom: 6px; }
.items li::marker { color: var(--amber); }
.terms { margin: 0; padding-left: 1.2em; }
.terms li { margin-bottom: 4px; }

/* Auction list rows */
.auction-list { display: grid; gap: 12px; }
.auction-row { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.auction-row:hover { border-color: var(--amber); color: var(--ink); }
.auction-row img, .auction-row-ph { width: 120px; height: 90px; object-fit: cover; border-radius: 6px; flex: none; background: #ddd8cc; }
.auction-row strong { display: block; color: var(--green); font-size: 1.05rem; line-height: 1.3; }
.auction-row-date { display: block; font-weight: 700; color: var(--amber-dark); font-size: .9rem; }
.auction-row-loc { display: block; color: var(--muted); font-size: .9rem; }
@media (max-width: 480px) { .auction-row img, .auction-row-ph { width: 88px; height: 66px; } }
.preview-banner { background: #fdf0dc; color: #6b4510; padding: 10px 16px; text-align: center; font-weight: 600; border-bottom: 1px solid #ecd3a7; }

/* Gallery */
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; } }
.gallery a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #ddd8cc; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.gallery .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: .85rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(10,14,12,.95); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 94vw; max-height: 84vh; object-fit: contain; }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lb figcaption { color: #e9e9e9; font-size: .95rem; text-align: center; padding: 0 16px; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 1.6rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb button:hover { background: rgba(255,255,255,.25); }
.lb .lb-close { top: 14px; right: 14px; }
.lb .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
form .row { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { form .row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
input, textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #cfc9bc; border-radius: 8px; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: 2px solid var(--amber); border-color: var(--amber); }
textarea { min-height: 140px; resize: vertical; }
.field { margin-bottom: 14px; }
.hint { font-size: .85rem; color: var(--muted); }
details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; color: var(--green); }
details p { margin: 10px 0 0; }

/* Footer */
.site-footer { background: #16291e; color: #c9d3cc; padding: 40px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font-size: 1.1rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 4px; }
.footer-grid li a { text-decoration: none; }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; font-size: .85rem; color: #93a199; }

@media print {
  .site-header, .site-footer, .gallery, .btn, .lb { display: none !important; }
  body { background: #fff; }
}
