/* ============================================================
   Aine Martin — Sustainability Website
   Palette: forest green, sage, warm off-white, earthy brown
   ============================================================ */

:root {
  --green-dark:  #2d6a4f;
  --green-mid:   #40916c;
  --green-light: #74c69d;
  --sage:        #b7e4c7;
  --cream:       #f8f5f0;
  --brown:       #5c4033;
  --text:        #1b2a1e;
  --text-muted:  #4a5e4e;
  --white:       #ffffff;
  --radius:      8px;
  --shadow:      0 4px 20px rgba(0,0,0,0.08);
  --transition:  0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 48px;
  width: auto;
  border-radius: 6px;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--sage);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  color: var(--white);
  padding: 7rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content { position: relative; max-width: 700px; margin: 0 auto; }

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--green-light);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--white);
  color: var(--green-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  margin-left: 1rem;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green-mid);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ── Sections ── */
section { padding: 5rem 2rem; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* ── About ── */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--sage) 0%, var(--green-light) 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.5rem;
}

.about-image-placeholder .icon { font-size: 4rem; }

.accent-box {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--green-dark);
  color: var(--white);
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.accent-box .number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.accent-box .label { font-size: 0.78rem; opacity: 0.8; }

.about-text h2 { margin-bottom: 1rem; }

.about-text p { color: var(--text-muted); margin-bottom: 1rem; }

/* ── Focus Areas ── */
.focus { background: var(--cream); }

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.focus-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.focus-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.focus-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.focus-card p { font-size: 0.92rem; color: var(--text-muted); }

/* ── Quote Banner ── */
.quote-banner {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}

.quote-banner blockquote {
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
}

.quote-banner cite {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.88rem;
  font-style: normal;
  opacity: 0.65;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── CTA ── */
.cta {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  color: var(--white);
  text-align: center;
}

.cta h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta p { opacity: 0.85; margin-bottom: 2rem; }

/* ── Contact Page ── */
.contact-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  padding: 5rem 2rem 3rem;
  text-align: center;
}

.contact-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 0.8rem; }
.contact-hero p { opacity: 0.85; font-size: 1.05rem; }

.contact-section { background: var(--cream); }

/* ── Sustainability Policy ── */
.policy-section {
  background: var(--cream);
  padding: 3rem 2rem 4rem;
}

.policy-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.pdf-embed-wrap {
  width: 100%;
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pdf-embed {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  border: none;
  display: block;
}

.pdf-fallback {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── Case Studies ── */
.cases-section {
  background: var(--cream);
  padding: 3rem 2rem 4rem;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 2rem;
}

.case-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.case-header h2 {
  font-size: 1.3rem;
  color: var(--green-dark);
  margin-bottom: 0.2rem;
}

.case-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.case-summary {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.case-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-outline-green {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--green-mid);
  color: var(--green-mid);
  transition: background var(--transition), color var(--transition);
}

.btn-outline-green:hover {
  background: var(--green-mid);
  color: var(--white);
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin-top: 1rem;
}

.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── About Page ── */
.about-page-section {
  background: var(--cream);
  padding: 3rem 2rem 4rem;
}

.about-page-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .about-page-grid { grid-template-columns: 1fr; }
}

.about-page-image-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-page-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-badge {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
}

.about-badge .number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-light);
}

.about-badge .label {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 0.2rem;
}

.about-page-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-page-text p {
  color: var(--text-muted);
  line-height: 1.8;
}

.about-highlight-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.5rem;
}

.about-highlight-card h3 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.about-highlight-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Mission & Vision ── */
.mission-vision {
  background: var(--green-dark);
  padding: 4rem 2rem;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mv-grid--stacked {
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

@media (max-width: 768px) {
  .mv-grid,
  .mv-grid--stacked { grid-template-columns: 1fr; }
}

.mv-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--white);
}

.mv-card .mv-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.mv-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-light);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mv-card p {
  font-size: 0.97rem;
  line-height: 1.8;
  opacity: 0.88;
  color: var(--white);
  margin: 0;
}

.about-page-section .mv-grid--stacked .mv-card {
  background: var(--green-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card h4 { font-size: 0.85rem; font-weight: 700; color: var(--green-dark); margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.05em; }
.info-card p, .info-card a { font-size: 0.95rem; color: var(--text-muted); text-decoration: none; }
.info-card a:hover { color: var(--green-mid); }

/* ── Form ── */
.contact-form-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #d6e8db;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(64,145,108,0.15);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 130px; }

/* ── Footer ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 2.5rem 2rem;
}

footer a { color: var(--green-light); text-decoration: none; }
footer a:hover { color: var(--white); }

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.footer-copy { font-size: 0.85rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .accent-box { display: none; }
  .btn-outline { margin-left: 0; margin-top: 0.8rem; }
  .hero { padding: 5rem 1.5rem 4rem; }
}
