/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #020b08;
  color: #f5f7f6;
  line-height: 1.6;
}

/* Colours – loosely Welsh flag inspired */
:root {
  --vp-green: #007a3d;
  --vp-green-dark: #01522a;
  --vp-red: #c8102e;
  --vp-dark: #020b08;
  --vp-mid: #031713;
  --vp-light: #f5f7f6;
  --vp-muted: #a3b3ad;
  --vp-border: #14342c;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #020f0c;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 3vw, 3rem);
}

h2 {
  font-size: clamp(1.9rem, 2.4vw, 2.3rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--vp-light);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 11, 8, 0.97);
  border-bottom: 1px solid var(--vp-border);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vp-light);
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--vp-muted);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--vp-light);
  text-decoration: none;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--vp-green), var(--vp-red));
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(0, 122, 61, 0.3), transparent 55%),
    radial-gradient(circle at bottom right, rgba(200, 16, 46, 0.3), transparent 55%),
    url("../assets/banner-valley.png") center/cover no-repeat,
    var(--vp-dark);
  color: var(--vp-light);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      120deg,
      rgba(2, 11, 8, 0.88),
      rgba(2, 15, 10, 0.96)
    );
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text {
  max-width: 540px;
}

.hero-text p {
  font-size: 0.98rem;
}

.disclaimer {
  font-size: 0.82rem;
  color: var(--vp-muted);
  margin-top: 0.25rem;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, background 0.15s ease-out, border-color 0.15s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--vp-green), var(--vp-red));
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--vp-light);
  border-color: var(--vp-border);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--vp-green);
  background: rgba(1, 23, 17, 0.85);
}

/* Hero side card */
.hero-card {
  background: radial-gradient(circle at top left, rgba(0, 122, 61, 0.2), transparent 55%),
              radial-gradient(circle at bottom right, rgba(200, 16, 46, 0.15), transparent 55%),
              #021813;
  border-radius: 1.5rem;
  padding: 1.6rem 1.7rem;
  border: 1px solid rgba(8, 52, 33, 0.9);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.55);
}

/* Two column layout */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.5rem;
}

.about-highlight {
  background: #021813;
  border-radius: 1.25rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--vp-border);
}

.about-highlight ul {
  list-style: none;
  padding-left: 0;
}

.about-highlight li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--vp-muted);
}

.about-highlight li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--vp-green), var(--vp-red));
}

/* Cards grid */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.5rem;
}

.card {
  background: #021813;
  border-radius: 1.25rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--vp-border);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
}

/* Videos */
.video-frame {
  margin-top: 1.5rem;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--vp-border);
  background: #021813;
}

.video-frame iframe,
.video-placeholder {
  width: 100%;
  min-height: 260px;
}

.video-placeholder {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  margin-bottom: 0.5rem;
}

.contact-list a {
  color: var(--vp-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact-list a:hover {
  border-bottom-color: var(--vp-green);
}

.contact-note {
  background: #021813;
  border-radius: 1.25rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--vp-border);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--vp-border);
  background: #020b08;
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--vp-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-made {
  font-style: italic;
}

/* Responsive tweaks */
@media (max-width: 840px) {
  .hero-inner,
  .two-column,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-card {
    order: -1;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 540px) {
  .hero {
    padding-top: 3.6rem;
  }

  .header-inner {
    align-items: flex-start;
  }

  .brand-logo {
    width: 38px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
