/* anthonytulino.com v1.0 - dark, typography-led, one accent */
:root {
  --bg: #0e0e10;
  --bg-soft: #151518;
  --line: #232327;
  --text: #f2efe9;
  --muted: #9b968d;
  --accent: #e8662c;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--bg); }

a:focus-visible, .ai-buttons a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}

h1, h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600; letter-spacing: -0.01em;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 5vw; position: sticky; top: 0; z-index: 10;
  background: rgba(14, 14, 16, 0.8); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.nav-name { font-weight: 700; letter-spacing: 0.18em; color: var(--accent); }
.nav-contact { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.nav-contact:hover { color: var(--accent); }

.hero { position: relative; padding: 16vh 5vw 10vh; max-width: var(--max); margin: 0 auto; overflow: hidden; }
.hero-glow {
  position: absolute; top: -10%; left: -5%; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(232,102,44,0.16), transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero > *:not(.hero-glow) { position: relative; z-index: 1; }
.hero-name { font-size: clamp(64px, 14vw, 184px); line-height: 0.92; letter-spacing: -0.03em; }
.hero-line { margin-top: 34px; font-size: clamp(20px, 2.6vw, 28px); color: var(--accent); font-weight: 500; }
.hero-sub { margin-top: 18px; font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 580px; }

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { background: var(--bg); padding: 44px 5vw; text-align: center; transition: background 0.3s ease; }
.stat:hover { background: var(--bg-soft); }
.stat-num { display: block; font-size: clamp(40px, 5vw, 56px); font-family: "Fraunces", Georgia, serif; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.stat-label { color: var(--muted); font-size: 14px; line-height: 1.4; }

section { padding: 11vh 5vw; max-width: var(--max); margin: 0 auto; }
section h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 36px; }

.timeline-list { list-style: none; }
.timeline-list li {
  display: flex; gap: 22px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(17px, 2vw, 19px); color: var(--text);
}
.timeline-list li:last-child { border-bottom: none; }
.timeline-list .year {
  flex: 0 0 108px; color: var(--accent);
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 15px;
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .timeline-list li { flex-direction: column; gap: 4px; }
  .timeline-list .year { flex-basis: auto; }
}

.interests p, .following p { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 660px; }
.follow-list { line-height: 2.1; }

.footer { text-align: center; padding: 13vh 5vw; border-top: 1px solid var(--line); max-width: none; }
.footer p { color: var(--muted); }
.ai-buttons { margin: 34px 0; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ai-buttons a {
  color: var(--text); text-decoration: none; border: 1px solid var(--accent);
  padding: 12px 28px; border-radius: 999px; font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.ai-buttons a:hover { background: var(--accent); color: var(--bg); transform: translateY(-2px); }
.footer-contact { margin-top: 8px; }
.footer-contact a { color: var(--accent); text-decoration: none; }

@media (max-width: 600px) {
  .nav { padding: 18px 6vw; }
  .hero { padding: 12vh 6vw 8vh; }
  .stat { padding: 32px 6vw; }
}
