:root {
  /* Monochrome palette (black / white / grayscale) */
  --bg:        #f4f4f4;
  --bg-soft:   #ececec;
  --surface:   #ffffff;
  --ink:       #0a0a0a;
  --ink-2:     #1f1f1f;
  --muted:     #5a5a5a;
  --muted-2:   #8d8d8d;
  --line:      #e2e2e2;
  --line-2:    #cfcfcf;

  /* Brand accents — gold kept extremely subtle */
  --gold:      #b89466;
  --gold-deep: #8a6a3a;
  --gold-soft: #d9c4a0;
  --forest:    #2a2a2a;

  /* Sub-brand identity — all neutralised to greys */
  --domus:     #3a3a3a;
  --woody:     #2a2a2a;
  --roleplay:  #4a4a4a;

  --radius:    22px;
  --radius-lg: 32px;
  --maxw:      1240px;
  --container-x: clamp(1.25rem, 5vw, 3.5rem);

  font-synthesis: none;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 380;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-variation-settings: "opsz" 144, "SOFT" 30; }
h2 { font-variation-settings: "opsz" 96, "SOFT" 30; }

p { color: var(--ink-2); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

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

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--container-x);
  background: rgba(244, 244, 244, 0.82);
  backdrop-filter: saturate(120%) blur(14px);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) contrast(1.05);
}
.brand-text { color: var(--ink); }
.brand-accent {
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 400;
}

.header-cta {
  color: var(--ink);
  border: 1px solid var(--line-2);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  transition: border-color 0.2s, transform 0.2s, background 0.2s, color 0.2s;
}
.header-cta:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3.5rem) var(--container-x) clamp(3rem, 7vw, 6rem);
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -10%; left: 50%;
  width: min(1100px, 100%);
  height: 700px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(0, 0, 0, 0.05), transparent 60%),
    radial-gradient(ellipse at 70% 40%, rgba(138, 106, 58, 0.05), transparent 55%);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; }

.hero-logo {
  width: clamp(180px, 18vw, 240px);
  height: auto;
  margin: 0 auto 1.25rem;
  filter: grayscale(100%) contrast(1.05);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.6rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.04);
  border: 1px solid rgba(10, 10, 10, 0.08);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px rgba(184, 148, 102, 0.5);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.3rem);
  font-weight: 350;
  max-width: 18ch;
  margin: 0 auto;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}

.hero-sub {
  margin: 1.8rem auto 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.65;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.97rem;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.2s, border-color 0.2s, background 0.2s, color 0.2s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 10px 26px rgba(10, 10, 10, 0.22);
}
.btn-primary:hover {
  background: var(--ink-2);
  box-shadow: 0 14px 34px rgba(10, 10, 10, 0.32);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
}

/* ---------- SECTION ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--container-x);
}
.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 380;
  margin-bottom: 1rem;
  max-width: 22ch;
  margin-inline: auto;
}
.section-head h2 em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}
.section-head .lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0 auto;
}

/* ---------- PLATFORMS ---------- */
.platforms-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem) var(--container-x) clamp(4rem, 8vw, 7rem);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.35s ease;
  box-shadow: 0 1px 0 rgba(10, 10, 10, 0.02), 0 12px 30px -16px rgba(10, 10, 10, 0.10);
}
.platform-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow:
    0 1px 0 rgba(10, 10, 10, 0.04),
    0 28px 60px -22px rgba(10, 10, 10, 0.28),
    0 0 0 1px rgba(138, 106, 58, 0.35);
}

.platform-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0e0d0a;
  position: relative;
}
.platform-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 35%, transparent 70%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}
.platform-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.platform-card:hover .platform-img img { transform: scale(1.04); filter: grayscale(92%) contrast(1.05); }

/* Brand badge floating on top of the portrait — the "etiqueta" */
.platform-img .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem 0.4rem 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: rgba(14, 13, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.55);
}
.platform-img .tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--theme, var(--gold));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme, var(--gold)) 30%, transparent);
}

.platform-info {
  padding: 1.5rem clamp(1.25rem, 2vw, 1.75rem) 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: relative;
}
.platform-info h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.15rem;
}
.platform-agent {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.platform-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.platform-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.platform-card:hover .platform-arrow {
  background: var(--ink);
  color: var(--bg);
  transform: translate(2px, -2px);
}

/* ---------- ABOUT / NUESTRA HISTORIA ---------- */
.about-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--container-x);
}
.about-section .section-head {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.about-section .section-head h2 {
  max-width: 22ch;
  margin-inline: auto;
}
.about-body {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-2);
  text-align: left;
}
.about-body em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}
.about-body strong {
  font-weight: 500;
  color: var(--ink);
}

.timeline {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  max-width: 900px;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
}
.timeline li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.timeline .year {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.timeline .event {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- MANIFESTO STRIP ---------- */
.manifesto {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--container-x);
}
.manifesto-inner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3rem) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.manifesto-item .label {
  display: block;
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--gold-deep);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.manifesto-item h3 {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 380;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.manifesto-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- CONTACT / AGENT ---------- */
.contact-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--container-x) clamp(4rem, 8vw, 7rem);
}
.contact-card {
  position: relative;
  background:
    radial-gradient(circle at 80% 0%, rgba(217, 196, 160, 0.10), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(10, 10, 10, 0.04), transparent 50%),
    linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(10, 10, 10, 0.22);
}

.contact-avatar {
  width: 148px;
  height: 148px;
  margin: 0 auto 1.6rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-avatar::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 220deg, #d9d9d9, #6e6e6e, #2a2a2a, #d9d9d9);
  filter: blur(6px);
  opacity: 0.55;
  z-index: 0;
}
.contact-avatar-img {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
  border: 3px solid var(--surface);
  box-shadow: 0 18px 40px -10px rgba(10, 10, 10, 0.45);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-avatar-img img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.05);
}
.contact-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(138, 106, 58, 0.35);
  animation: mc-pulse 2.6s ease-out infinite;
  z-index: 0;
}
@keyframes mc-pulse {
  0%   { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.22); opacity: 0; }
}

.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.06);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.contact-status .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 8px rgba(10, 10, 10, 0.35);
}

.contact-agent-name {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.contact-card h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 380;
  margin-bottom: 1.1rem;
  max-width: 22ch;
  margin-inline: auto;
}
.contact-card h2 em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}
.contact-lead {
  color: var(--muted);
  max-width: 54ch;
  margin: 0 auto 2.2rem;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.6;
}
.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--container-x) 1.75rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
  text-align: left;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.footer-mark {
  width: 28px;
  height: 28px;
  filter: grayscale(100%);
}
.footer-inner .brand-text {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.footer-tagline {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 340px;
  line-height: 1.55;
  margin: 0;
}
.footer-col h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin: 0 0 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col li {
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.4;
}
.footer-col a {
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-contact {
  font-style: normal;
}
.footer-meta-strip {
  border-top: 1px solid var(--line);
}
.footer-meta-strip p {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.15rem var(--container-x);
  font-size: 0.78rem;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .platforms-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 1.75rem; padding: 2rem 0; }
  .timeline { grid-template-columns: 1fr; gap: 1.5rem; max-width: 480px; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: clamp(2rem, 6vw, 3rem) 1.5rem;
  }
  .footer-tagline { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover,
  .platform-card:hover,
  .platform-card:hover .platform-img img,
  .platform-card:hover .platform-arrow { transform: none; }
  .contact-pulse { animation: none; }
}
