/* ============================================
   EPC — English Provender Company
   Landing Page
   ============================================ */

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

:root {
  --green-dark: #026649;
  --green-lime: #bbc601;
  --white: #ffffff;
  --max-width: 1200px;
  --gutter: 2.5rem;

  @media (max-width: 768px) {
    --gutter: 1.5rem;
  }
}

html {
  font-family: "co-text", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--white);
}

/* ---- Focus ---- */

:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ============================================
   Site Header — lime band at top
   ============================================ */

.header {
  background-color: var(--green-lime);
  position: relative;
  z-index: 1;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);

  @media (max-width: 768px) {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

.logo {
  display: inline-block;
  text-decoration: none;
  position: relative;
}

.logo img {
  display: block;
  width: clamp(8rem, 16vw, 12rem);
  height: auto;
}

.main {
  position: relative;
  z-index: 2;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  background-color: var(--green-dark);
  position: relative;
  height: 40rem;
  padding: 3rem var(--gutter) 4rem;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (max-width: 768px) {
    height: auto;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.hero-spoon {
  position: absolute;
  left: 50%;
  bottom: 0;
  top: -4rem;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  user-select: none;

  @media (max-width: 768px) {
    top: -2rem;
  }
}

.hero-spoon img {
  height: 100%;
  width: auto;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 90%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
  z-index: 2;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-content h1 {
  font-family: "co-headline", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 0px 2px 16px rgba(0, 0, 0, 0.25);
}

.hero-content h1 em {
  font-style: italic;
  font-weight: 700;
}

.hero-content h1 strong {
  font-weight: 700;
}

/* ============================================
   Info Section
   ============================================ */

.footer {
  background-color: var(--green-lime);
  color: var(--green-dark);
  padding: 4rem var(--gutter) 3rem;
  
  @media (max-width: 768px) {
    padding: 2rem var(--gutter) 2rem;
  }
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1rem;

  @media (max-width: 900px) {
    grid-template-columns: 1fr 1fr;
  }

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
  }
}

.footer-mid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2rem;
  margin-bottom: 3rem;

  @media (max-width: 900px) {
    grid-template-columns: 1fr 1fr;
  }

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* Left column */

.footer-name {
  font-family: "co-headline", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-contact {
  font-style: normal;
  line-height: 1.7;
}

.footer-contact a {
  color: var(--green-dark);
  text-decoration: underline;

  &:hover {
    opacity: 0.75;
  }
}

.footer-group {
  margin-bottom: 0.75rem;
}

.footer-label {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.1rem;
}

.footer-value {
  line-height: 1.6;
}

.footer-value a {
  color: var(--green-dark);
  text-decoration: underline;

  &:hover {
    opacity: 0.75;
  }
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  color: var(--green-dark);
  margin-top: 1rem;
  transition: opacity 0.15s ease;

  &:hover {
    opacity: 0.7;
  }
}

/* Right column — offices */

.footer-offices {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.25rem;

  @media (max-width: 480px) {
    gap: 0.25rem;
  }
}

.footer-offices p {
  line-height: 1.5;
}

.office-label {
  font-weight: 700;
  color: var(--white);
}

.office-value {
  color: var(--green-dark);
}

/* Bottom bar */

.footer-bottom {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;

  @media (max-width: 480px) {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Legal nav — two deliberate rows with | separators */

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 0.25rem 0.5rem;

  @media (max-width: 480px) {
    flex-direction: column;
  }
}

.legal-nav a {
  color: var(--green-dark);
  text-decoration: underline;
  transition: opacity 0.15s ease;

  &:hover {
    opacity: 0.75;
  }
}

.legal-nav .sep {
  @media (max-width: 480px) {
    display: none;
  }
}

.copyright {
  color: var(--green-dark);
  margin-left: auto;
  text-align: right;

  @media (max-width: 768px) {
    margin-left: 0;
    text-align: left;
    width: 100%;
  }
}
