/* =============================================
   (re-)tyres — Landing Page Styles
   ============================================= */

:root {
  --bg:         #0d1a0d;
  --surface:    #142614;
  --surface-2:  #1b301b;
  --accent:     #4caf50;
  --accent-dim: #2e7d32;
  --text:       #e8f5e9;
  --text-muted: #a5d6a7;
  --border:     rgba(76, 175, 80, 0.25);
  --radius:     12px;
  --font:       'Inter', system-ui, sans-serif;
  --max-w:      720px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Utility ---- */
.container {
  width: min(var(--max-w), 100% - 2.5rem);
  margin-inline: auto;
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 100%);
}
.nav__list {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav__list a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__list a:hover { color: var(--accent); }

/* ---- Hero ---- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  position: relative;
}

/* Radial glow behind logo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(76,175,80,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

/* ---- Logo ---- */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.logo__svg {
  width: clamp(100px, 22vw, 160px);
  height: auto;
  filter: drop-shadow(0 0 20px rgba(76,175,80,0.35));
}
.logo__wordmark {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo__wordmark em,
.logo__wordmark .re {
  color: var(--accent);
  font-style: normal;
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 36ch;
}

.hero__cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  transition: background-color 0.2s, color 0.2s;
}
.hero__cta:hover {
  background-color: var(--accent);
  color: var(--bg);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  font-size: 1.25rem;
  color: var(--text-muted);
  opacity: 0.5;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ---- Sections ---- */
.section {
  padding-block: 5rem;
}
.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section__heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

/* ---- About ---- */
.about {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about__body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin-bottom: 3rem;
}
.about__body strong { color: var(--text); font-weight: 600; }

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 540px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}
.pillar {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.pillar:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.pillar__icon {
  font-size: 1.75rem;
  line-height: 1;
}
.pillar h3 {
  font-size: 1rem;
  font-weight: 600;
}
.pillar p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- Contact ---- */
.contact__intro {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
}
.contact__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 480px) {
  .contact__cards { grid-template-columns: repeat(2, 1fr); }
}
.contact__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 2rem 1.75rem;
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}
.contact__card:hover {
  border-color: var(--accent);
  background-color: var(--surface-2);
  transform: translateY(-3px);
}
.contact__card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}
.contact__card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact__card-value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

/* ---- Footer ---- */
.footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
}
.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer__brand {
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
}
.footer__nav {
  display: flex;
  gap: 1.5rem;
}
.footer__nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--accent); }
.footer__copy {
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.6;
  text-align: center;
}
@media (min-width: 640px) {
  .footer__copy { width: auto; }
}
