/* ====== Reset / base ====== */
:root{
  --bg: #0b0f14;
  --panel: #0f1620;
  --text: #e9eef5;
  --muted: rgba(233,238,245,.72);
  --line: rgba(233,238,245,.14);
  --accent: #7ee6d2;
  --shadow: 0 10px 35px rgba(0,0,0,.35);

  --radius: 18px;
  --radius-sm: 14px;

  --container: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% 0%, rgba(126,230,210,.12), transparent 60%),
              radial-gradient(1200px 700px at 90% 10%, rgba(126,230,210,.10), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
p{ margin: .7rem 0; }
h1,h2,h3{ line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6rem; }
h1{ font-size: clamp(2rem, 3vw, 3rem); }
h2{ font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
h3{ font-size: 1.1rem; }

.container{
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

.muted{ color: var(--muted); }
.kicker{
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .6rem;
}
.lead{ font-size: 1.05rem; color: var(--muted); max-width: 65ch; }
.spacer{ height: 10px; }

.skip-link{
  position: absolute; left: -999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus{
  left: 16px; top: 16px;
  width: auto; height: auto;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  z-index: 9999;
}

/* ====== Nav ====== */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,15,20,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav{
  width: min(var(--container), 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.nav__brand{ display: flex; flex-direction: column; gap: 2px; }
.brand{ display: inline-flex; align-items: center; gap: 10px; }
.brand__dot{
  width: 12px; height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), rgba(126,230,210,.35));
  box-shadow: 0 0 0 4px rgba(126,230,210,.10);
}
.brand__text{ font-weight: 700; letter-spacing: -.01em; }
.brand__sub{ font-size: .85rem; color: var(--muted); }

.nav__menu{ display: flex; align-items: center; gap: 10px; }
.nav__link{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
}
.nav__link:hover{
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,.03);
}
.nav__link--cta{
  color: #06221d;
  background: var(--accent);
  border-color: rgba(126,230,210,.4);
}
.nav__link--cta:hover{ filter: brightness(1.03); }

.nav__toggle{
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}
.nav__toggleLine{
  display:block;
  width: 20px; height: 2px;
  margin: 4px 0;
  background: var(--text);
  opacity: .85;
}

/* ====== Hero ====== */
.hero{
  position: relative;
  padding: 76px 0 46px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(to bottom, rgba(11,15,20,.35), rgba(11,15,20,.85)),
    var(--hero-image) center/cover no-repeat;
}
.hero__inner{ max-width: 1000px; }
.hero__badge{
  display:inline-block;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15,22,32,.55);
  color: var(--muted);
  font-size: .9rem;
}
.hero__title{ margin-top: 14px; }
.hero__lead{ max-width: 70ch; color: rgba(233,238,245,.82); }

.hero__cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin: 22px 0;
}
.card{
  border: 1px solid var(--line);
  background: rgba(15,22,32,.62);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
}
.card__kicker{ color: var(--muted); font-size: .9rem; }
.card__value{ font-weight: 700; margin-top: 6px; }

.hero__actions{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor: pointer;
  transition: transform .08s ease, filter .15s ease, background .15s ease;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: var(--accent);
  color: #06221d;
  border-color: rgba(126,230,210,.45);
}
.btn--ghost:hover{ background: rgba(255,255,255,.05); }
.btn--primary:hover{ filter: brightness(1.03); }

.hero__note{ margin-top: 12px; font-size: .95rem; }

/* ====== Sections ====== */
.section{ padding: 52px 0; }
.section--alt{
  background: linear-gradient(to bottom, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--tight{ padding: 30px 0 0; }
.section__head{
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.grid-2{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start;
}
.panel{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15,22,32,.55);
  padding: 18px;
  box-shadow: var(--shadow);
}
.text-link{
  color: var(--accent);
  text-decoration: none;
}
.text-link:hover{ text-decoration: underline; }

.thumbs{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.thumb{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(15,22,32,.55);
  box-shadow: var(--shadow);
}
.thumb img{ aspect-ratio: 4/3; object-fit: cover; }
.thumb__meta{ padding: 12px; }
.thumb__title{ font-weight: 700; }
.thumb__sub{ font-size: .95rem; }

/* ====== Pages ====== */
.page{ min-height: calc(100vh - 120px); }
.page-hero{
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(to bottom, rgba(11,15,20,.40), rgba(11,15,20,.92)),
    var(--hero-image) center/cover no-repeat;
}
.page-hero--small{ padding: 44px 0; }
.page-hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
}
.page-hero__media{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(15,22,32,.55);
  box-shadow: var(--shadow);
}
.caption{ margin-top: 10px; font-size: .92rem; }

.facts{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.fact{
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(15,22,32,.55);
}
.fact__label{ font-size: .9rem; color: var(--muted); }
.fact__value{ font-weight: 700; margin-top: 6px; }

.prose{ max-width: 78ch; }
.callout{
  margin: 18px 0;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(126,230,210,.35);
  background: rgba(126,230,210,.08);
}

/* ====== Location ====== */
.dl{
  margin: 0;
  display: grid;
  gap: 12px;
}
.dl > div{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.dl dt{ color: var(--muted); }
.dl dd{ margin: 0; font-weight: 700; }

.list{ margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

.map{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(15,22,32,.55);
  box-shadow: var(--shadow);
}
.map iframe{
  width: 100%;
  height: 420px;
  border: 0;
}

/* ====== Gallery ====== */
.section__tools{ display:flex; gap: 10px; align-items: center; }
.search{
  display:flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(15,22,32,.55);
}
.search__label{ font-size: .85rem; color: var(--muted); }
.search input{
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  width: min(360px, 70vw);
}

.artworks{
  display: grid;
  gap: 18px;
}
.artwork{
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15,22,32,.50);
  box-shadow: var(--shadow);
}
.artwork__img img{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(233,238,245,.12);
  background: rgba(0,0,0,.2);
}
.artwork__info{
  position: sticky;
  top: 90px;
  align-self: start;
  padding: 6px 2px 2px;
}
.artwork__title{ margin-bottom: 8px; }
.artwork__meta{ display:grid; gap: 8px; margin-bottom: 10px; }
.tags{ display:flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.tag{
  font-size: .85rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}
.artwork__actions{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* ====== Footer ====== */
.footer{
  border-top: 1px solid var(--line);
  padding: 36px 0 18px;
  background: rgba(0,0,0,.10);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 18px;
  align-items: start;
}
.footer__title{ font-weight: 800; margin-bottom: 6px; }
.footer__label{ color: var(--muted); margin-bottom: 8px; }
.footer__link{ display:block; padding: 6px 0; color: var(--text); }
.footer__link:hover{ color: var(--accent); }
.footer__bottom{
  width: min(var(--container), 92vw);
  margin: 18px auto 0;
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* ====== Responsive ====== */
@media (max-width: 980px){
  .hero__cards{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .thumbs{ grid-template-columns: 1fr; }
  .page-hero__grid{ grid-template-columns: 1fr; }
  .facts{ grid-template-columns: 1fr; }
  .artwork{ grid-template-columns: 1fr; }
  .artwork__info{ position: static; }
  .footer__grid{ grid-template-columns: 1fr; }
  .nav__toggle{ display: inline-flex; }
  .nav__menu{
    display:none;
    position:absolute;
    top: 60px;
    right: 4vw;
    left: 4vw;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(11,15,20,.95);
    backdrop-filter: blur(10px);
  }
  .nav__menu.is-open{ display:flex; flex-direction: column; align-items: stretch; }
  .nav__link{ width: 100%; }
  .search input{ width: 100%; }
}
