:root {
  /* Brand colours */
  --bg: #063532;                 /* Roehampton Dark Green */
  --bg-alt: #0A4A45;             /* Darker green for cards/sections */
  --accent: #00A06E;             /* Roehampton Bright Green */
  --accent-soft: rgba(0, 160, 110, 0.18);
  --accent-strong: #007A55;

  /* Text */
  --text-main: #ECEBEA;          /* Light grey */
  --text-muted: #C7C6C5;         /* Softer grey */

  /* Borders */
  --border-subtle: #0F5A54;

  /* Danger */
  --danger: #f97373;

  /* Typography */
  --font-main: "Roboto", sans-serif;
  --font-heading: "Roboto Slab", serif;
}







/* :root {
  --bg: #050810;
  --bg-alt: #0b1220;
  --accent: #3ddc84;
  --accent-soft: rgba(61, 220, 132, 0.15);
  --accent-strong: #00c46a;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2933;
  --danger: #f97373;
  --font-main: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
} */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, #102a43 0, #050810 45%, #020617 100%);
  color: var(--text-main);
  font-family: var(--font-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

/* Layout */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 5vw;
  background: rgba(5, 8, 16, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.main-nav a:hover {
  color: var(--text-main);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 1.1rem;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  padding: 4rem 5vw 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #020617;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn.secondary {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text-main);
}

.btn.secondary:hover {
  border-color: var(--accent);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags span {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.hero-media {
  position: relative;
}

/* .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  background: radial-gradient(circle at top left, rgba(61, 220, 132, 0.2), transparent 60%);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
} */



.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* keep the 16:9 shape */
  height: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  background: radial-gradient(circle at top left, rgba(61, 220, 132, 0.2), transparent 60%);
}

.video-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes the image look clean and intentional */
  border-radius: 1.25rem;
}



.video-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}



/* Sections */
.section-heading {
  text-align: center;
  padding: 3rem 5vw 1.5rem;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.section-heading p {
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}







/* .section-heading {
  text-align: center;
  padding: 3rem 5vw 1.5rem;
}

.section-heading h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.section-heading p {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
} */

/* About */



.about {
  padding-bottom: 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 0 5vw 2rem;
}

.about-card {
  background: var(--bg-alt);
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
}

.about-card h3 {
  font-family: var(--font-heading);
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--text-main);
  font-size: 1.1rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}



/* .about {
  padding-bottom: 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 0 5vw 2rem;
} */

/* .about-card {
  background: radial-gradient(circle at top left, rgba(61, 220, 132, 0.12), rgba(15, 23, 42, 0.95));
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
} */

/* projects */

.projects {
  padding: 1rem 0 3rem;
}

.project-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tab-button {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab-button.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.project-panels {
  padding: 0 5vw;
}

.project-panel {
  display: none;
}

.project-panel.active {
  display: block;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.project-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.project-card ul {
  padding-left: 1.1rem;
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Impact */

.impact {
  padding: 2rem 5vw 3rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.impact-card {
  background: radial-gradient(circle at top left, rgba(61, 220, 132, 0.18), rgba(15, 23, 42, 0.95));
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  text-align: center;
}

.impact-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

/* Team */

.team {
  padding: 2rem 5vw 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-member {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  text-align: center;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto 0.75rem;
  border: 2px solid var(--accent-soft);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  margin: 0.25rem 0 0.25rem;
  font-size: 1rem;
}

.team-member p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.evi-image.lazy-image.imgedit-profile-photo-frame-viewer__target-image.ember-view {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Media strip */

.media-strip {
  padding: 1.5rem 0 3rem;
}

.media-strip-inner {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 5vw 0.5rem;
}

.media-strip-inner img {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  flex: 0 0 auto;
  width: 260px;
  height: 170px;
  object-fit: cover;
}

/* Contact */

.contact {
  padding: 2rem 5vw 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-form {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

input,
select,
textarea {
  background: #020617;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.55rem 0.7rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(61, 220, 132, 0.4);
}

textarea {
  resize: vertical;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-info {
  padding: 0.5rem 0;
}

.contact-info h3 {
  margin-top: 0;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-info .small {
  font-size: 0.8rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1rem 5vw 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 1rem;
  }

  .main-nav {
    position: absolute;
    top: 56px;
    right: 1rem;
    flex-direction: column;
    background: rgba(5, 8, 16, 0.98);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-inline: 1.25rem;
  }

  .section-heading {
    padding-inline: 1.25rem;
  }

  .about-grid,
  .project-grid,
  .impact-grid,
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 1.25rem;
  }

  .project-panels {
    padding-inline: 1.25rem;
  }

  .contact {
    padding-inline: 1.25rem;
  }

  .media-strip-inner {
    padding-inline: 1.25rem;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Accordion Section */
.project-extra {
  padding: 2rem 5vw 3rem;
}

.accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1rem;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: rgba(61, 220, 132, 0.12);
  border: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: rgba(61, 220, 132, 0.25);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  margin: 1rem 0;
}


/* .accordion-content ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 1rem 1.25rem;
} */
.hero-large {
  position: relative;
  height: 60vh;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-large .hero-content {
  position: relative;
  text-align: center;
  max-width: 700px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 0 5vw;
}

.event-card {
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(148,163,184,0.25);
  border-radius: 1rem;
  padding: 1.5rem;
}

.event-date {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}


.social-links {
  margin-top: 1.5rem;
}

.social-links h3 {
  margin-bottom: 0.75rem;
}

.social-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text-main);
  font-size: 0.85rem;
  text-decoration: none;
  transition: 0.2s ease;
}

.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
}


/* Projects Styling */
/* Projects Section */
.projects {
  padding: 1rem 0 3rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 0 5vw;
}

.project-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.project-logo {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.project-logo img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
}

.project-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 960px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .project-grid {
    grid-template-columns: 1fr;
    padding-inline: 1.25rem;
  }
}


/* ============================================================
   ROEHAMPTON BRAND — ABOUT SECTION OVERRIDES
   ============================================================ */

/* Section heading */
.section-heading h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-main);
}

.section-heading p {
  font-family: var(--font-main);
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* About grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 0 5vw 2rem;
}

/* About cards */
.about-card {
  background: var(--bg-alt);              /* Roehampton deep green */
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border-subtle); /* Roehampton border */
}

.about-card h3 {
  font-family: var(--font-heading);
  color: var(--text-main);
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.about-card p {
  font-family: var(--font-main);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --------------------Team Photo Styles-------------------------- */
.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid var(--accent-soft);
}

.team-role {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.bio-full {
  display: none;
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* CTA Section */
.cta-section {
  background: radial-gradient(circle at top left, var(--accent-soft), rgba(0,0,0,0.25));
  border: 1px solid var(--border-subtle);
  border-radius: 1.5rem;
  padding: 3rem 5vw;
  margin: 3rem auto;
  max-width: 900px;
  text-align: center;
}

.cta-section h2 {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 42rem;
  margin: 0.75rem auto;
}

.cta-section a {
  color: var(--accent);
  text-decoration: underline;
}

.cta-section a:hover {
  color: var(--accent-strong);
}






