/* ===========================================================
   Lavone Art Collection — design system
   Editorial gallery: ivory ground, ink text, brass accent
   =========================================================== */

:root {
  --ink:      #1a1714;
  --ink-soft: #43403b;
  --ink-mute: #6f6a63;
  --line:     #e0dacf;
  --paper:    #f6f2e9;
  --paper-2:  #efe9dc;
  --card:     #fffdf8;
  --brass:    #a9843f;
  --brass-dk: #8a6a2f;
  --white:    #ffffff;
  --shadow:   0 18px 50px -24px rgba(40, 32, 20, .35);
  --shadow-sm:0 8px 24px -16px rgba(40, 32, 20, .4);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.5rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brass-dk);
  display: inline-block;
}
.serif-italic { font-family: var(--serif); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .95rem 1.7rem; border-radius: 2px; cursor: pointer;
  border: 1px solid var(--ink); transition: all .25s ease;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--brass-dk); border-color: var(--brass-dk); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-brass { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn-brass:hover { background: var(--brass-dk); border-color: var(--brass-dk); }
.btn svg { width: 15px; height: 15px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 242, 233, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 28px;
  height: 74px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; flex-direction: row; align-items: center; gap: .72rem; line-height: 1; }
.brand-logo {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(169, 132, 63, .3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name { font-family: var(--serif); font-size: 1.42rem; font-weight: 500; letter-spacing: .01em; }
.brand .brand-sub { font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-mute); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brass-dk); }
.nav-links a.nav-cta {
  border: 1px solid var(--ink); padding: .6rem 1.15rem; color: var(--ink); border-radius: 2px;
}
.nav-links a.nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.5rem; color: var(--ink); }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  background: linear-gradient(105deg, #22201c 0%, #2f2a22 55%, #3a3125 100%);
  color: #f4efe4; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; opacity: .34;
  background-size: cover; background-position: center;
  filter: saturate(1.05);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,17,14,.86) 0%, rgba(20,17,14,.5) 50%, rgba(20,17,14,.2) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; width: 100%; }
.hero-content { max-width: 660px; }
.hero .eyebrow { color: #d9b978; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 1.02; margin: 1.1rem 0 .4rem;
}
.hero h1 em { font-style: italic; color: #e7c98a; }
.hero-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: #d8d0c2; margin-bottom: 2.1rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-ghost { color: #f4efe4; border-color: rgba(244,239,228,.5); }
.hero .btn-ghost:hover { background: #f4efe4; color: var(--ink); border-color: #f4efe4; }
.hero-meta { display: flex; gap: 2.6rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-meta .num { font-family: var(--serif); font-size: 2rem; color: #e7c98a; line-height: 1; }
.hero-meta .lbl { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #b7ad9c; margin-top: .4rem; }

/* ---------- Sections ---------- */
section { padding: 5.5rem 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); margin-top: 1rem; font-size: 1.05rem; }
.bg-alt { background: var(--paper-2); }
.bg-ink { background: #201d18; color: #ece6da; }
.bg-ink h2, .bg-ink h3 { color: #f4efe4; }
.bg-ink .eyebrow { color: #d9b978; }
.bg-ink p { color: #bcb3a3; }

/* ---------- About teaser (split) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.split .prose p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.split-media { aspect-ratio: 4/5; background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-note {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; color: var(--ink-mute); font-size: .82rem; letter-spacing: .05em;
  background: repeating-linear-gradient(45deg, #efe9dc, #efe9dc 12px, #eae3d3 12px, #eae3d3 24px);
}

/* ---------- Collections grid ---------- */
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.col-card {
  position: relative; display: block; aspect-ratio: 3/4; overflow: hidden;
  border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.col-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.col-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.col-card:hover img { transform: scale(1.05); }
.col-card .col-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.3rem 1.2rem;
  background: linear-gradient(0deg, rgba(20,16,12,.9) 0%, rgba(20,16,12,.45) 65%, transparent 100%);
  color: #f6f2e9;
}
.col-card .col-label h3 { font-size: 1.35rem; color: #fff; }
.col-card .col-label span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #d9b978; }

/* ---------- Featured / artwork cards ---------- */
.art-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.art-card {
  background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.art-thumb { aspect-ratio: 1/1; background: #f0ece2; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.art-thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.art-artist { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dk); margin-bottom: .35rem; min-height: .9rem; }
.art-title { font-family: var(--serif); font-size: 1.08rem; line-height: 1.25; color: var(--ink); margin-bottom: .7rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.art-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.art-price { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.art-buy {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--brass);
  padding: .55rem .85rem; border-radius: 2px; transition: background .2s; white-space: nowrap;
}
.art-buy:hover { background: var(--brass-dk); }
.art-buy svg { width: 13px; height: 13px; }

/* ---------- Gallery controls ---------- */
.gallery-head { padding: 3.5rem 0 1.5rem; }
.controls { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2.2rem; }
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500;
  padding: .5rem .95rem; border: 1px solid var(--line); background: var(--card);
  color: var(--ink-soft); border-radius: 2px; cursor: pointer; transition: all .2s;
}
.pill:hover { border-color: var(--brass); color: var(--brass-dk); }
.pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.controls-right { display: flex; gap: .7rem; align-items: center; }
.search-box, .sort-box {
  font-family: var(--sans); font-size: .82rem; color: var(--ink);
  padding: .6rem .85rem; border: 1px solid var(--line); background: var(--card); border-radius: 2px;
}
.search-box { min-width: 190px; }
.count-note { font-size: .8rem; color: var(--ink-mute); letter-spacing: .04em; margin-bottom: 1.4rem; }
.load-more-wrap { text-align: center; margin-top: 3rem; }
.empty { text-align: center; padding: 4rem 0; color: var(--ink-mute); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.svc-card { padding: 2.2rem 2rem; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.svc-card .svc-ico { width: 46px; height: 46px; color: var(--brass-dk); margin-bottom: 1.1rem; }
.svc-card .svc-ico svg { width: 100%; height: 100%; stroke-width: 1.3; }
.svc-card h3 { margin-bottom: .6rem; }
.svc-card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Contact / CTA band ---------- */
.cta-band { text-align: center; padding: 5.5rem 0; }
.cta-band h2 { max-width: 620px; margin: 0 auto 1rem; }
.cta-band p { max-width: 520px; margin: 0 auto 2rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-list { list-style: none; }
.contact-list li { padding: 1.2rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; align-items: center; }
.contact-list .c-ico { width: 22px; height: 22px; color: var(--brass-dk); flex-shrink: 0; }
.contact-list a:hover { color: var(--brass-dk); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .5rem; }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: .95rem; color: var(--ink);
  padding: .85rem 1rem; border: 1px solid var(--line); background: var(--card); border-radius: 2px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); }

/* ---------- Footer ---------- */
.footer { background: #1a1714; color: #b7ad9c; padding: 4rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid #38332b; }
.footer-logo { width: 74px; height: 74px; border-radius: 50%; margin-bottom: 1.1rem; box-shadow: 0 0 0 1px rgba(169, 132, 63, .35); }
.footer .brand-name { color: #f4efe4; font-family: var(--serif); font-size: 1.5rem; }
.footer p { font-size: .9rem; margin-top: 1rem; max-width: 340px; }
.footer h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #d9b978; margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .6rem; }
.footer ul a { font-size: .9rem; color: #b7ad9c; transition: color .2s; }
.footer ul a:hover { color: #f4efe4; }
.footer-bottom { padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .78rem; color: #7d7568; }
.footer-bottom a:hover { color: #f4efe4; }

/* ---------- Page header (interior pages) ---------- */
.page-head { background: #201d18; color: #f4efe4; padding: 4.5rem 0 4rem; text-align: center; }
.page-head .eyebrow { color: #d9b978; }
.page-head h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; margin-top: .8rem; }
.page-head p { color: #bcb3a3; max-width: 560px; margin: 1rem auto 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .art-grid { grid-template-columns: repeat(3, 1fr); }
  .col-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { display: block; position: fixed; inset: 74px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s ease; z-index: 99; }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu ul { list-style: none; padding: 1rem 28px 1.6rem; }
  .mobile-menu li a { display: block; padding: .85rem 0; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
  .art-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .svc-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { gap: 2.5rem; }
  section { padding: 4rem 0; }
  .controls { flex-direction: column; align-items: stretch; }
  .search-box { min-width: 0; flex: 1; }
}
@media (max-width: 440px) {
  .art-grid { grid-template-columns: 1fr 1fr; }
  .col-grid { grid-template-columns: 1fr; }
  .brand-logo { width: 42px; height: 42px; }
  .brand .brand-name { font-size: 1.14rem; }
  .brand .brand-sub { font-size: .52rem; letter-spacing: .24em; }
}
