:root {
  --bg: #0a0a0a;
  --panel: #131312;
  --panel-2: #1a1917;
  --line: rgba(201, 165, 76, 0.18);
  --gold: #c9a54c;
  --gold-2: #ead08a;
  --text: #efebe2;
  --muted: #9a958a;
  --display: "Anton", "Impact", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(1160px, 100% - 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: #000; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--wrap);
  margin: 0 auto;
  padding: 1.1rem 0;
  background: linear-gradient(var(--bg) 70%, transparent);
}
.brand {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--gold);
}
.nav nav { display: flex; gap: 1.75rem; }
.nav nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--text); }
.nav nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--gold); }

/* Shared */
section { width: var(--wrap); margin: 0 auto; }
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
}
h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.btn {
  display: inline-block;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: rgba(201, 165, 76, 0.1); }

/* Hero */
.hero {
  position: relative;
  padding: clamp(4rem, 12vh, 8rem) 0 clamp(4rem, 10vh, 7rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201, 165, 76, 0.16), transparent 60%);
  pointer-events: none;
}
.hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(3.6rem, 12vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold) 10%, var(--gold-2) 50%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  margin: 2rem 0 2.4rem;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-year {
  position: absolute;
  right: -0.04em;
  bottom: -0.18em;
  font-family: var(--display);
  font-size: clamp(8rem, 26vw, 22rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 165, 76, 0.22);
  user-select: none;
  pointer-events: none;
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(160deg, rgba(201, 165, 76, 0.18), transparent 55%),
    var(--panel);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy p { color: #cfcac0; max-width: 36rem; }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.stats div { display: flex; flex-direction: column; }
.stats strong { font-family: var(--display); font-weight: 400; font-size: 2.2rem; color: var(--gold); line-height: 1; }
.stats span { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }

/* Cards */
.latest, .listing { padding: clamp(3rem, 7vw, 6rem) 0; border-top: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.4rem;
}
.section-head a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(201, 165, 76, 0.5); }
.card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 165, 76, 0.28), transparent 55%),
    linear-gradient(135deg, #1d1b17, #0e0e0d);
}
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-cover img { transform: scale(1.04); }
.card-cover .place {
  position: absolute;
  left: 1.1rem;
  bottom: 0.9rem;
  font-family: var(--display);
  font-size: 1.6rem;
  text-transform: uppercase;
  color: rgba(239, 235, 226, 0.9);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.card-body { padding: 1.3rem 1.3rem 1.5rem; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta .tag { color: var(--gold); }
.card h3 { font-size: 1.7rem; margin: 0.7rem 0 0.6rem; }
.card p { margin: 0; color: #bdb8ae; font-size: 0.96rem; }

.empty {
  grid-column: 1 / -1;
  padding: 3.5rem 2rem;
  text-align: center;
  border: 1px dashed var(--line);
  color: var(--muted);
}
.empty strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; text-transform: uppercase; color: var(--text); margin-bottom: 0.4rem; }

/* Filters (blog page) */
.page-head { padding: clamp(3.5rem, 9vw, 6rem) 0 2.5rem; }
.page-head h1 { font-size: clamp(3.2rem, 9vw, 7rem); }
.page-head p { color: var(--muted); max-width: 34rem; margin: 1.4rem 0 0; }
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.filters button {
  font: 600 0.75rem var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.6rem 1.1rem;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: pointer;
}
.filters button[aria-pressed="true"] { color: #0a0a0a; background: var(--gold); border-color: var(--gold); }

/* Single post */
.post { width: min(760px, 100% - 3rem); margin: 0 auto; padding: clamp(3rem, 8vw, 5rem) 0 4rem; }
.post h1 { font-size: clamp(2.8rem, 8vw, 5.4rem); margin: 1rem 0 2rem; }
.post-cover { margin: 0 0 2.5rem; border: 1px solid var(--line); }
.post-body p { font-size: 1.1rem; color: #d8d3c9; }
.post-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.8rem; margin: 2.5rem 0; }
.post-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; color: var(--gold); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.back { text-decoration: none; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; }
.back:hover { color: var(--gold); }

/* Follow + footer */
.follow {
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.follow h2 { margin-bottom: 2rem; font-size: clamp(1.9rem, 7.5vw, 3.6rem); overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.socials a {
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.socials a:hover { border-color: var(--gold); color: var(--gold); }
footer {
  width: var(--wrap);
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--gold); }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); animation: rise 0.8s cubic-bezier(.2,.7,.2,1) forwards; }
  .reveal:nth-child(2) { animation-delay: 0.08s; }
  .reveal:nth-child(3) { animation-delay: 0.16s; }
  .reveal:nth-child(4) { animation-delay: 0.24s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .nav nav { gap: 1.1rem; }
  .post-nav { flex-direction: column; }
}
