/* =========================
   Diversity Museum Website
   Minimal / Editorial / Gallery Aesthetic
   ========================= */

:root{
  --bg: #ffffff;
  --text: #0e0f12;
  --muted: #5b616b;
  --line: rgba(14,15,18,.10);

  --pink: #ff3ea5;   /* CTA */
  --orange: #ff7a18; /* Construction highlight */
  --blue: #2b6cff;   /* Links */

  --maxw: 1400px;

  --pad-top: 120px;  /* top section padding */
  --sec-gap: 100px;  /* section spacing */
  --el-gap: 40px;    /* element spacing */

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);

  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --serif: ui-serif, Georgia, "Times New Roman", Times, serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img{ max-width: 100%; height: auto; display: block; }
a{ color: var(--blue); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--maxw), calc(100% - 64px));
  margin: 0 auto;
}

.section{
  padding: var(--sec-gap) 0;
}
.section--top{
  padding-top: var(--pad-top);
}

.hr{
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.kicker{
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.h1, h1{
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 10px 0 0 0;
  font-size: clamp(40px, 5vw, 74px);
}

.h2, h2{
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 14px 0;
  font-size: clamp(28px, 3vw, 42px);
}

.p{
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.lead{
  font-size: 18px;
  color: var(--muted);
  max-width: 70ch;
}

.grid{
  display: grid;
  gap: 24px;
}

.grid-2{
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
}

.grid-3{
  grid-template-columns: repeat(3, 1fr);
}

.grid-4{
  grid-template-columns: repeat(4, 1fr);
}

.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}

.card__body{
  padding: 18px 18px 20px;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
}

.btn-row{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.btn{
  appearance: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: rgba(14,15,18,.18);
}
.btn--pink{
  background: var(--pink);
  border-color: var(--pink);
  color: white;
}
.btn--ghost{
  background: transparent;
}
.btn--orange{
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

/* =========================
   Header / Nav
   ========================= */

.header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav{
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo{
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--text);
}
.logo span{
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.navlinks{
  display: flex;
  gap: 18px;
  align-items: center;
}
.navlinks a{
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 10px;
}
.navlinks a:hover{
  background: rgba(14,15,18,.04);
}
.navlinks .donate{
  color: white;
  background: var(--pink);
  padding: 10px 14px;
  border-radius: 999px;
}
.navlinks .donate:hover{
  filter: brightness(.95);
  background: var(--pink);
}

.hamburger{
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.hamburger svg{ display:block; }

.mobile-panel{
  display: none;
  border-top: 1px solid var(--line);
}
.mobile-panel a{
  display: block;
  padding: 14px 18px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.mobile-panel a:hover{
  background: rgba(14,15,18,.04);
}
.mobile-panel a.donate{
  color: var(--pink);
}

/* =========================
   Hero
   ========================= */

.hero{
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: end;
  padding: 0 0 46px 0;
  position: relative;
  overflow: hidden;
}

.hero__bg{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(255,62,165,.12), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(43,108,255,.12), transparent 60%),
    linear-gradient(to bottom, rgba(255,255,255,.65), rgba(255,255,255,.92)),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.03);
}

.hero__content{
  position: relative;
  padding-top: var(--pad-top);
}

.hero__panel{
  width: min(920px, 100%);
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px 26px 24px;
  backdrop-filter: blur(10px);
}

.hero__meta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero__tagline{
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}

/* =========================
   Media blocks / gallery
   ========================= */

.media{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fafafa;
}

.media img{
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.fullbleed{
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.fullbleed .container{
  padding: 30px 0;
}

/* =========================
   Artists
   ========================= */

.artist-card{
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.artist-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.artist-card .thumb{
  height: 260px;
  object-fit: cover;
  width: 100%;
}
.artist-name{
  font-family: var(--serif);
  font-weight: 600;
  margin: 0 0 6px 0;
  font-size: 18px;
}
.small{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   Construction Progress
   ========================= */

.progress-box{
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: white;
}

.progress-row{
  display:flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px 0 8px;
  gap: 12px;
}
.progress-row strong{
  font-size: 14px;
}
.progress-row span{
  color: var(--muted);
  font-size: 13px;
}

.bar{
  height: 10px;
  background: rgba(14,15,18,.08);
  border-radius: 999px;
  overflow: hidden;
}
.bar > i{
  display:block;
  height: 100%;
  width: 0%;
  background: var(--orange);
  border-radius: 999px;
  transition: width 900ms ease;
}

/* =========================
   Forms
   ========================= */

.form{
  display: grid;
  gap: 14px;
  max-width: 760px;
}
.input, textarea{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}
.input:focus, textarea:focus{
  border-color: rgba(43,108,255,.5);
  box-shadow: 0 0 0 4px rgba(43,108,255,.12);
}
textarea{ min-height: 140px; resize: vertical; }

/* =========================
   Footer
   ========================= */

.footer{
  border-top: 1px solid var(--line);
  padding: 46px 0;
  background: white;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 22px;
}
.footer h3{
  margin: 0 0 10px 0;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer a{
  display: inline-block;
  padding: 6px 0;
  color: var(--text);
  text-decoration: none;
}
.footer a:hover{ text-decoration: underline; }
.subtle{ color: var(--muted); }

/* =========================
   Page Hero (inner)
   ========================= */

.page-hero{
  padding: var(--pad-top) 0 44px;
}
.page-hero .h1{ max-width: 18ch; }
.page-hero .lead{ margin-top: 14px; }

/* =========================
   Responsive
   ========================= */

@media (max-width: 1100px){
  .grid-4{ grid-template-columns: repeat(3, 1fr); }
  .grid-2{ grid-template-columns: 1fr; }
  .media img{ height: 460px; }
}

@media (max-width: 860px){
  .navlinks{ display: none; }
  .hamburger{ display: inline-flex; }
  .mobile-panel.open{ display: block; }

  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .container{ width: min(var(--maxw), calc(100% - 36px)); }
  .media img{ height: 380px; }
}

@media (max-width: 520px){
  .grid-4{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .hero__panel{ padding: 18px; }
}