/* Kelly Tracht Gallery — shared styles */
:root {
  --ink: #12304a;        /* deep ocean */
  --ink-soft: #4a6275;
  --sand: #faf7f2;
  --white: #ffffff;
  --teal: #0f8a8f;
  --teal-dark: #0b6c70;
  --coral: #e8735a;
  --line: #e6e0d6;
  --max: 1160px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: var(--sand); }
.eyebrow {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--coral); font-weight: 600; margin-bottom: .6em;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 680px; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--teal); color: var(--white); text-decoration: none;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: background .2s;
}
.btn:hover { background: var(--teal-dark); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn.light { background: var(--white); color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header & nav (CSS-only mobile menu) */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600;
  letter-spacing: .12em; color: var(--ink); text-decoration: none; text-transform: uppercase;
}
.nav-toggle { display: none; }
.nav-btn { display: none; cursor: pointer; padding: 10px; margin-right: -10px; }
.nav-btn span, .nav-btn span::before, .nav-btn span::after {
  display: block; width: 24px; height: 2px; background: var(--ink); position: relative; content: "";
}
.nav-btn span::before { position: absolute; top: -7px; }
.nav-btn span::after { position: absolute; top: 7px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { color: var(--teal); }
.nav .btn { color: var(--white); padding: 9px 18px; }

@media (max-width: 860px) {
  .nav-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
  }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin: 14px 20px; text-align: center; border-top: 0; }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* Hero */
.hero { position: relative; min-height: min(75vh, 680px); display: flex; align-items: flex-end; color: var(--white); }
.hero img, .hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
@media (orientation: portrait) { .hero img, .hero video { object-position: 50% 0%; } }
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,30,48,.15) 0%, rgba(10,30,48,.35) 45%, rgba(10,30,48,.8) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding: 48px 20px 44px; width: 100%; }
.hero .eyebrow { color: #ffd2c4; }
.hero p { font-size: 1.2rem; max-width: 560px; }

/* Page header (inner pages) */
.page-head { padding: 64px 0 24px; }

/* Art grid */
.grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { text-decoration: none; color: inherit; }
.card .frame { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.card img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .5s; }
.card:hover img { transform: scale(1.04); }
.card h3 { font-size: 1.3rem; margin: 14px 0 2px; }
.card .meta { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.card .price { font-weight: 600; margin-top: 4px; }

/* Two column split */
.split { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr 1fr; }
.split img { width: 100%; border-radius: 4px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Feature trio */
.trio { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.trio > div { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } }

/* Lists: shows, awards, locations */
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.list li:first-child { border-top: 1px solid var(--line); }
.list strong { display: block; font-size: 1.05rem; }
.list .when { color: var(--coral); font-weight: 600; font-size: .9rem; }
.list .small { color: var(--ink-soft); font-size: .92rem; }
.month { font-family: var(--serif); font-size: 1.6rem; margin: 40px 0 8px; }
.tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--sand); padding: 2px 8px; border-radius: 4px; margin-left: 6px; color: var(--ink-soft); }

.cols-2 { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .cols-2 { grid-template-columns: 1fr; } }

.note { background: var(--sand); border-left: 3px solid var(--coral); padding: 16px 20px; font-size: .95rem; }

/* VIP band */
.vip { background: var(--ink); color: var(--white); text-align: center; }
.vip p { color: #cfdbe5; max-width: 560px; margin: 0 auto 24px; }

/* Footer */
.site-footer { background: #0c2236; color: #cfdbe5; padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: var(--white); }
.site-footer .cols { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr; }
.site-footer h4 { color: var(--white); margin: 0 0 10px; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; }
.site-footer .logo { color: var(--white); display: inline-block; margin-bottom: 10px; }
.site-footer .fine { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .82rem; color: #8ea3b5; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
