/* FRANCESCO BALDI — wild-minimal homepage (white) */

:root {
  --color-white: #ffffff;
  --color-forest: #1b3322;
  --color-gold: #ffd339;
  --color-muted: #5a6b5f;
  --color-border: #e8e8e8;
  --color-link: #1b3322;
  --font-main: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 960px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-forest);
  background: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-link);
}

a.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.text-link:hover {
  color: var(--color-gold);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

/* ── Hero ── */

.hero {
  padding: 3rem 0 2.5rem;
  background: var(--color-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 420px);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-title {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.05;
  color: var(--color-gold);
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 400;
  color: var(--color-forest);
}

.hero-text {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--color-forest);
  background: var(--color-forest);
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.btn-outline {
  background: transparent;
  color: var(--color-forest);
}

.hero-visual {
  margin: 0;
  width: 100%;
}

.hero-photo {
  width: 100%;
  height: auto;
  max-height: min(72vh, 560px);
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  background: #f3f3f3;
}

/* ── Two worlds (minimal) ── */

.two-worlds {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--color-border);
}

.two-worlds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.world-block h2 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.world-list {
  list-style: disc;
  margin: 0;
  padding-left: 1.25rem;
}

.world-list li {
  padding: 0.25rem 0;
  font-size: 0.95rem;
  color: var(--color-forest);
}

/* ── Footer (live site style) ── */

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  color: var(--color-gold);
  transform: scale(1.08);
}

.social-icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.footer-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.footer-meta a {
  text-decoration: none;
  color: var(--color-forest);
}

.footer-meta a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

.footer-meta .sep {
  margin: 0 0.35rem;
  opacity: 0.45;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .hero-grid,
  .two-worlds-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    width: 100%;
    max-width: 100%;
  }

  .hero-photo {
    max-height: min(65vh, 480px);
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 0 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }
}
