*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #fafafa;
  background: #0d0d0d;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #e8b923;
  text-decoration: none;
}

a:hover {
  color: #c99a12;
}

h1, h2, h3, h4 {
  font-family: Oswald, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); color: #e8b923; }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1rem; color: #ccc; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; color: #ccc; }
li { margin-bottom: 0.35rem; }

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #222;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo img {
  height: 52px;
  width: auto;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: Oswald, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}

.main-nav a:hover,
.main-nav a.active {
  color: #e8b923;
}

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(232, 185, 35, 0.12), transparent),
    #0d0d0d;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-title img {
  max-height: 120px;
  width: auto;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-family: Oswald, sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fafafa;
  margin-bottom: 1rem;
}

.hero-sub {
  color: #888;
  font-size: 1rem;
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  border-radius: 12px;
  max-height: 340px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-family: Oswald, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-gold {
  background: #e8b923;
  color: #0d0d0d;
  border: 2px solid #e8b923;
}

.btn-gold:hover {
  background: #c99a12;
  border-color: #c99a12;
  color: #0d0d0d;
}

.btn-outline {
  background: transparent;
  color: #e8b923;
  border: 2px solid #e8b923;
}

.btn-outline:hover {
  background: rgba(232, 185, 35, 0.12);
  color: #e8b923;
}

section {
  padding: 4.5rem 0;
}

section.alt {
  background: #141414;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head p {
  color: #888;
  max-width: 52ch;
  margin: 0.5rem auto 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.quote-box {
  border-left: 4px solid #e8b923;
  padding: 1.25rem 1.5rem;
  background: rgba(232, 185, 35, 0.06);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #ddd;
  margin-top: 1.5rem;
}

.callout {
  color: #e85d04;
  font-weight: 600;
  margin: 1rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-family: Oswald, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
}

.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:nth-child(1) { grid-column: span 7; }
.gallery-item:nth-child(2) { grid-column: span 5; }
.gallery-item:nth-child(3) { grid-column: span 4; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 4; }
.gallery-item:nth-child(6) { grid-column: span 6; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #141414;
  border: 1px solid #222;
}

.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.card-body {
  position: relative;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(13, 13, 13, 0.95));
}

.card-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: #e8b923;
  color: #0d0d0d;
  font-family: Oswald, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card h3 {
  margin-bottom: 0.35rem;
}

.card p {
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.card a.card-link {
  font-family: Oswald, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.programme {
  text-align: center;
}

.programme-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-block {
  padding: 1.25rem;
  border-radius: 12px;
  background: #141414;
  border: 1px solid #222;
}

.contact-block h3 {
  color: #e8b923;
  margin-bottom: 0.5rem;
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid #222;
  text-align: center;
}

.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.partners img {
  height: 48px;
  width: auto;
  opacity: 0.9;
}

.copyright {
  color: #666;
  font-size: 0.85rem;
}

.copyright b {
  color: #888;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .cards-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:nth-child(n) {
    grid-column: span 12;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 600px) {
  .main-nav ul {
    gap: 0.5rem 0.75rem;
  }

  .main-nav a {
    font-size: 0.75rem;
  }

  section {
    padding: 3rem 0;
  }
}

/* Inner pages */
.page-main section {
  padding: 3.5rem 0;
}

.page-hero {
  padding-top: 2.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(232, 185, 35, 0.1), transparent),
    #0d0d0d;
}

.page-hero h1 {
  color: #fafafa;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}

.page-intro {
  color: #888;
  max-width: 60ch;
  margin-top: 0.75rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.breadcrumb a {
  color: #888;
}

.breadcrumb a:hover {
  color: #e8b923;
}

.content-block {
  max-width: 760px;
}

.content-block h2 {
  margin-top: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  border-radius: 12px;
  overflow: hidden;
  background: #141414;
  border: 1px solid #222;
  transition: border-color 0.2s;
}

.project-card:hover {
  border-color: #e8b923;
}

.project-card-image {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-card-image img {
  transform: scale(1.04);
}

.project-card-body {
  padding: 1rem 1.15rem 1.25rem;
}

.project-card-body h3 {
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0.01em;
  margin: 0.35rem 0 0;
  line-height: 1.35;
}

.project-card-body h3 a {
  color: #fafafa;
}

.project-card-body h3 a:hover {
  color: #e8b923;
}

.project-meta {
  color: #888;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.project-detail p {
  font-size: 1.05rem;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}
