* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  color: #1c2520;
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

:root {
  /* Inspire Signs Green Palette */
  --green-950: #102d10;
  --green-900: #1a4518;
  --green-800: #2f7d2b;
  --green-700: #43a43b;
  --green-600: #50ba48;
  --green-500: #67c95f;
  --green-100: #edf9ec;

  --ink: #16211b;
  --muted: #5f6f66;
  --line: #dfe7e2;
  --soft: #f5f7f5;
  --white: #fff;

  --shadow: 0 22px 70px rgba(80, 186, 72, 0.18);
  --radius: 24px;
  --max: 1180px;
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: auto;
}

/* Top bar */

.topbar {
  background: var(--green-600);
  color: #fff;
  font-size: 0.92rem;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.55rem 0;
}

.topbar__links {
  display: flex;
  gap: 1.3rem;
  flex-wrap: wrap;
}

.topbar a:hover {
  opacity: 0.85;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  z-index: 20;
  border-bottom: 1px solid rgba(8, 38, 29, 0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem 0;
}

.logo img {
  height: 100px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav ul {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  font-weight: 650;
  font-size: 0.95rem;
  color: #24302a;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--green-600);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.nav-cta {
  background: var(--green-600);
  color: #fff !important;
  padding: 0.65rem 1.1rem;
  box-shadow: 0 12px 30px rgba(80, 186, 72, 0.28);
}

.nav-cta:hover {
  background: var(--green-700);
}

/* Hero */

.hero {
  position: relative;
  min-height: 660px;
  color: #fff;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

/* Blurred background image */
.hero::before {
  content: "";
  position: absolute;
  inset: -12px;
  background: url("../img/exhibition.avif") center/cover no-repeat;
  filter: blur(5px);
  transform: scale(1.03);
  z-index: -3;
}

/* Dark overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 18, 14, 0.9) 0%,
    rgba(5, 18, 14, 0.68) 43%,
    rgba(5, 18, 14, 0.28) 100%
  );
  z-index: -2;
}

/* Fade into page */
.hero .hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(transparent, #fff);
  z-index: -1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 7rem 0 8.4rem;
}

.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-500);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 0.96;
  margin: 0.8rem 0 1.2rem;
  max-width: 850px;
  letter-spacing: -0.06em;
}

.hero h1 span {
  color: var(--green-600);
}

.hero p {
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  max-width: 680px;
  color: #edf6f1;
}

.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  color: #fff;
  box-shadow: 0 18px 46px rgba(80, 186, 72, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.56);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Quick links */

.quicklinks {
  position: relative;
  z-index: 4;
  margin-top: -70px;
}

.quicklinks__grid {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.quicklinks a {
  padding: 1.35rem;
  border-right: 1px solid var(--line);
}

.quicklinks a:last-child {
  border-right: 0;
}

.quicklinks a:hover {
  background: var(--green-100);
}

.quicklinks strong {
  display: block;
  color: var(--green-700);
  font-size: 1.05rem;
}

.quicklinks span {
  color: var(--muted);
  font-size: 0.93rem;
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.section h2,
.subhero h1 {
  font-size: clamp(2rem, 3vw, 3.45rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  margin: 0.4rem 0 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 780px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.3rem;
}

.split > div:first-child {
  width: 100%;
}

.split .cards {
  max-width: none;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
}

.split .cards .card {
  width: 100%;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.55rem;
  box-shadow: 0 12px 38px rgba(11, 34, 26, 0.06);
}

.card h3 {
  margin: 0.2rem 0 0.55rem;
  font-size: 1.25rem;
  color: var(--green-700);
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  padding-left: 1.1rem;
  margin: 0.7rem 0 0;
}

.image-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd;
}

.image-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
}

.gallery img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  transition: 0.25s ease;
}

.gallery figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 800;
  font-size: 0.85rem;
}

.gallery figure:hover img {
  transform: scale(1.05);
  opacity: 0.86;
}

/* Subhero */

.subhero {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: #fff;
  padding: 4.5rem 0;
}

.subhero p {
  color: #eaf8e8;
  max-width: 780px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
}

.form input,
.form textarea {
  width: 100%;
  max-width: none;
  padding: 12px 14px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
}

.form textarea {
  min-height: 180px;
}

.form p {
  margin-bottom: 1rem;
}

/* Footer */

.footer {
  background: var(--green-600);
  color: #fff;
  padding: 3rem 0 1.3rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer h3 {
  color: #fff;
  margin-top: 0;
}

.footer p {
  color: rgba(255, 255, 255, 0.92);
}

.footer a {
  color: #fff;
  font-weight: 700;
}

.footer a:hover {
  text-decoration: underline;
}

.footer small {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  margin-top: 2rem;
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.site-credit {
  text-align: center;
  margin-top: 0.35rem;
  padding-top: 0;
}

.site-credit small {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.9);
}

.site-credit a {
  color: #fff;
  font-weight: 800;
}

/* Mobile menu */

.menu-toggle {
  display: none;
}

/* Responsive */

@media (max-width: 900px) {
  .header .container {
    position: relative;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 18px 1.2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    border-bottom: 1px solid var(--line);
  }

  .nav.nav-open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .nav-cta {
    margin-top: 1rem;
  }

  .menu-toggle {
    display: block;
    background: var(--green-600);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-weight: 800;
    cursor: pointer;
  }

  .hero {
    min-height: 560px;
  }

  .hero::before {
    filter: blur(4px);
  }

  .quicklinks__grid,
  .cards,
  .gallery,
  .split,
  .contact-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .quicklinks a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quicklinks a:last-child {
    border-bottom: 0;
  }

  .topbar .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo img {
    height: 58px;
  }

  .image-card img {
    height: 300px;
  }
}
