/* Harvey Lane Vintage & Resale
   Palette and type drawn from the hanging-sign photograph:
   sun-warmed cream sign, wrought iron, window green, lamp gold, leaf moss. */

:root {
  --cream: #F6EFE2;
  --sign: #EDE2CB;
  --parchment: #E6D8BC;
  --iron: #2E241C;
  --ink: #3A2E24;
  --ink-soft: #5C4D3F;
  --rust: #8A5A3B;
  --gold: #A9844A;
  --gold-soft: rgba(169, 132, 74, .45);
  --lamp: #E3BF7E;
  --forest: #2D3A2B;
  --forest-deep: #232E22;
  --moss: #56603A;
  --line: rgba(46, 36, 28, .16);

  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --caps: "Cinzel", "Trajan Pro", "Cormorant Garamond", serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --body: "EB Garamond", Garamond, Georgia, serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; color: var(--iron); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--iron); color: var(--cream); padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Type helpers */
.caps { font-family: var(--caps); font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--rust); font-weight: 400; }
.script { font-family: var(--script); font-weight: 400; color: var(--rust); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; display: block; }
.title { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 300; letter-spacing: .005em; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.8; }

/* Ornament: a line, a small fleuron, a line, echoing the divider on the sign */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px auto; max-width: 280px; color: var(--iron); }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .55; }
.ornament svg { width: 22px; height: 22px; flex: none; }
.ornament--light { color: var(--lamp); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 34px; font-family: var(--caps); font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--forest); background: var(--forest); color: var(--cream); transition: background .25s ease, color .25s ease; cursor: pointer; }
.btn:hover { background: transparent; color: var(--forest); }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--cream); }
.btn--lamp { background: var(--lamp); border-color: var(--lamp); color: var(--forest-deep); }
.btn--lamp:hover { background: transparent; color: var(--lamp); }
.textlink { font-family: var(--caps); font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold); padding: 6px 0 4px; color: var(--iron); }
.textlink:hover { color: var(--rust); }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; justify-content: center; margin-top: 34px; }

/* Header */
.topbar { background: var(--forest-deep); color: var(--sign); text-align: center; font-family: var(--caps); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; padding: 10px var(--gutter); }
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 92px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; justify-self: center; }
.brand img { width: 58px; height: auto; }
.brand-name { display: none; }
.nav { display: flex; gap: 30px; }
.nav a { font-family: var(--caps); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--iron); padding: 8px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav--left { justify-self: start; }
.nav--right { justify-self: end; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-left: -10px; cursor: pointer; color: var(--iron); justify-self: start; }
.menu-toggle svg { width: 26px; height: 26px; }
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { min-height: 76px; }
  .brand img { width: 50px; }
  .mobile-nav { display: block; background: var(--cream); border-top: 1px solid var(--line); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { display: block; padding: 16px var(--gutter); font-family: var(--display); font-size: 1.5rem; text-decoration: none; color: var(--iron); border-bottom: 1px solid var(--line); }
}

/* Hero: the photograph is the hero, nothing laid over it */
.hero-photo { position: relative; background: var(--iron); }
.hero-photo picture, .hero-photo img { width: 100%; }
.hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 54% 50%; }
@media (min-width: 700px) { .hero-photo img { aspect-ratio: 2056 / 765; max-height: 82vh; } }
.hero-photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(237, 226, 203, .55); pointer-events: none; }
@media (min-width: 700px) { .hero-photo::after { inset: 26px; } }

.hero-text { text-align: center; padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(64px, 9vw, 112px); }
.hero-text h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-style: italic; font-weight: 300; max-width: 900px; margin: 0 auto; }
.hero-text .lede { max-width: 580px; margin: 0 auto; }

/* Sections */
.section { padding: var(--section) 0; }
.section--sign { background: var(--sign); }
.section--parchment { background: var(--parchment); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(44px, 6vw, 68px); }
.section-head .lede { margin-top: 16px; }

/* Category plates: framed typographic plates, like shop placards */
.plates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .plates { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.plate { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 210px; padding: 36px 18px; background: var(--cream); text-decoration: none; color: var(--iron); border: 1px solid var(--gold-soft); transition: background .3s ease; }
@media (min-width: 900px) { .plate { min-height: 270px; } }
.plate::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--line); pointer-events: none; transition: border-color .3s ease; }
.plate:hover { background: #FBF6EC; }
.plate:hover::before { border-color: var(--gold); }
.plate-num { font-family: var(--caps); font-size: .7rem; letter-spacing: .3em; color: var(--gold); margin-bottom: 14px; }
.plate h3 { font-size: clamp(1.45rem, 2.4vw, 2.05rem); font-weight: 400; font-style: italic; line-height: 1.15; }
.plate p { margin: 12px 0 0; font-size: .98rem; color: var(--ink-soft); line-height: 1.5; max-width: 26ch; display: none; }
@media (min-width: 900px) { .plate p { display: block; } }
.plate-go { margin-top: 18px; font-family: var(--caps); font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--rust); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 14px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 56px 28px; } }
.card { display: block; text-decoration: none; color: inherit; }
.card-img { position: relative; aspect-ratio: 4 / 5; background: var(--parchment); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-img::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(246, 239, 226, .65); pointer-events: none; }
.card-noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-family: var(--script); font-size: 2rem; color: var(--gold); }
.card-sold { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--iron); color: var(--cream); font-family: var(--caps); font-size: .62rem; letter-spacing: .24em; padding: 6px 10px; }
.card-body { text-align: center; padding-top: 16px; }
.card-meta { font-family: var(--caps); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--rust); margin: 0 0 8px; }
.card-title { font-family: var(--display); font-size: 1.22rem; font-weight: 500; line-height: 1.28; color: var(--iron); margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { font-size: 1.05rem; letter-spacing: .04em; margin: 0; }
.card-where { display: block; margin-top: 8px; font-family: var(--caps); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }

/* Empty state */
.empty { text-align: center; padding: 56px 24px; border: 1px solid var(--gold-soft); position: relative; background: var(--cream); }
.empty::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--line); pointer-events: none; }
.empty h3 { font-style: italic; font-size: 1.9rem; font-weight: 300; margin-bottom: 12px; }
.empty p { color: var(--ink-soft); max-width: 520px; margin: 0 auto 26px; }

/* Shop page controls */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.chip { font-family: var(--caps); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; padding: 11px 16px; background: transparent; color: var(--iron); border: 1px solid var(--line); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding: 16px 0; margin-bottom: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toolbar label { font-family: var(--caps); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-right: 10px; }
.toolbar input, .toolbar select { font: inherit; font-size: 1rem; color: var(--iron); background: var(--cream); border: 1px solid var(--line); padding: 10px 12px; min-height: 46px; border-radius: 0; }
.toolbar input { width: min(320px, 100%); }
.count { font-family: var(--caps); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }

/* Three promises */
.promises { display: grid; gap: 36px; text-align: center; }
@media (min-width: 800px) { .promises { grid-template-columns: repeat(3, 1fr); gap: 0; } .promise + .promise { border-left: 1px solid var(--gold-soft); } }
.promise { padding: 0 30px; }
.promise h3 { font-size: 1.6rem; margin-bottom: 8px; font-weight: 400; }
.promise p { color: var(--ink-soft); font-size: 1.02rem; max-width: 30ch; margin: 0 auto; }

/* Story */
.story { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .story { grid-template-columns: 1fr 1fr; gap: 88px; } }
.story-img { position: relative; }
.story-img img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 7% 50%; width: 100%; }
.story-img::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(237, 226, 203, .6); pointer-events: none; }
.story-text { text-align: center; }
.story-text p { color: var(--ink-soft); }
.signoff { font-family: var(--script); font-size: 2.6rem; color: var(--rust); display: block; margin: 8px 0 30px; }

/* Consignment band */
.consign { position: relative; background: var(--forest); color: var(--sign); text-align: center; padding: clamp(84px, 11vw, 132px) var(--gutter); }
.consign::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(227, 191, 126, .4); pointer-events: none; }
@media (min-width: 700px) { .consign::before { inset: 32px; } }
.consign .script { color: var(--lamp); }
.consign h2 { color: var(--cream); font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 300; max-width: 760px; margin: 0 auto; }
.consign p { color: rgba(246, 239, 226, .86); max-width: 600px; margin: 0 auto 34px; }

/* Where to find us */
.shops { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Content pages */
.page-head { text-align: center; padding: clamp(64px, 9vw, 108px) var(--gutter) 24px; }
.page-head h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); font-weight: 300; font-style: italic; }
.prose { font-size: 1.18rem; line-height: 1.85; color: var(--ink); padding-bottom: var(--section); }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 400; text-align: center; margin: 2.2em 0 .8em; }
.prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .8em; padding-left: .3em; }
.prose li::marker { font-family: var(--caps); color: var(--rust); }
.prose a { color: var(--rust); }
.note { border: 1px solid var(--gold-soft); padding: 26px 28px; background: var(--sign); font-size: 1.05rem; }

/* Footer */
.site-footer { background: var(--iron); color: rgba(246, 239, 226, .82); padding: 72px 0 36px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { font-family: var(--script); font-size: 2.6rem; color: var(--sign); line-height: 1; display: block; margin-bottom: 10px; }
.site-footer h3 { font-family: var(--caps); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--lamp); margin-bottom: 16px; font-weight: 400; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(246, 239, 226, .86); text-decoration: none; }
.site-footer a:hover { color: var(--lamp); }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(227, 191, 126, .22); font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-img img, .btn, .plate { transition: none; }
  .card:hover .card-img img { transform: none; }
}

/* Item page */
.crumbs { padding-top: 28px; padding-bottom: 8px; font-family: var(--caps); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { border-bottom-color: var(--gold); }
.item { display: grid; gap: 36px; padding-top: 18px; padding-bottom: var(--section); }
@media (min-width: 960px) { .item { grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; } .item-gallery { position: sticky; top: 120px; } }
.item-main { position: relative; background: var(--parchment); aspect-ratio: 4 / 5; overflow: hidden; }
.item-main img { width: 100%; height: 100%; object-fit: contain; }
.item-main::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(246, 239, 226, .65); pointer-events: none; }
.item-thumbs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.item-dot { width: 40px; height: 40px; font-family: var(--caps); font-size: .72rem; color: var(--iron); background: transparent; border: 1px solid var(--line); cursor: pointer; }
.item-dot[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.item-info .caps { margin: 0 0 12px; }
.item-title { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 300; line-height: 1.15; }
.item-price { font-size: 1.6rem; letter-spacing: .04em; margin: 18px 0 0; color: var(--iron); }
.item-info .ornament { justify-content: flex-start; }
.btn--wide { width: 100%; min-height: 56px; }
.item-ask { display: inline-block; margin-top: 20px; }
.item-note { font-size: 1rem; color: var(--ink-soft); font-style: italic; margin: 16px 0 0; }
.item-details { margin: 32px 0 0; border-top: 1px solid var(--line); }
.item-details div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.item-details dt { font-family: var(--caps); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--rust); padding-top: 4px; }
.item-details dd { margin: 0; text-align: right; }
.item-desc { margin-top: 36px; }
.item-desc h2 { font-size: 1.7rem; font-weight: 400; margin-bottom: 12px; }
.item-desc p { color: var(--ink-soft); }
