/* ==========================================================================
   Tobías Lugarini — Firma Personal & Cuaderno de Arquitectura
   Sistema visual: valken-brand (Art Déco vivo sobre Navy + Luz Marina)
   ========================================================================== */

@import url('tokens.css');

@view-transition {
  navigation: auto;
}

@font-face {
  font-family: 'Limelight';
  src: url('../fonts/Limelight-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Federo';
  src: url('../fonts/Federo-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-Variable.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #001430;
  color: var(--valken-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: #001430;
  color: var(--valken-text);
  line-height: 1.65;
  overflow-x: clip;
  position: relative;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* --- Escena de Fondo Vivo ("Luz Marina + Astrolabio Art Déco") --- */
.ambient-stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: #001430;
}

.ambient-atmosphere {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(ellipse 56% 46% at 80% 22%, rgba(196, 165, 92, 0.145) 0%, transparent 66%),
    radial-gradient(ellipse 50% 42% at 18% 20%, rgba(110, 220, 220, 0.115) 0%, transparent 64%),
    radial-gradient(ellipse 62% 48% at 26% 80%, rgba(0, 52, 118, 0.52) 0%, transparent 72%),
    radial-gradient(ellipse 48% 40% at 80% 85%, rgba(196, 165, 92, 0.085) 0%, transparent 64%),
    linear-gradient(165deg, #001A3E 0%, #002455 50%, #00122B 100%);
  animation: ambientDrift 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes ambientDrift {
  0% {
    transform: translate3d(-1.4%, -1%, 0) scale(1);
  }
  50% {
    transform: translate3d(1.5%, 1.1%, 0) scale(1.03);
  }
  100% {
    transform: translate3d(-0.7%, 1.7%, 0) scale(1.015);
  }
}

.ambient-deco-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.ambient-grain {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

::selection {
  background: rgba(110, 220, 220, 0.24);
  color: var(--valken-white);
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--valken-navy-deep); }
::-webkit-scrollbar-thumb {
  background: rgba(196, 165, 92, 0.4);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover { background: var(--valken-gold); }

:focus-visible {
  outline: 2px solid var(--valken-cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  z-index: 9999;
  background: var(--valken-gold);
  color: var(--valken-navy-deep);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius);
}

/* Barra superior de progreso de lectura (Art Déco Oro -> Cian) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 120;
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  background: linear-gradient(90deg, var(--valken-gold), var(--valken-cyan));
  pointer-events: none;
  will-change: transform;
}

.container-editorial {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* --- Header Fijo Art Déco --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 18, 44, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(196, 165, 92, 0.28);
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(0, 14, 36, 0.95);
  border-bottom-color: rgba(196, 165, 92, 0.5);
  box-shadow: 0 8px 24px rgba(0, 8, 20, 0.42);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  touch-action: manipulation;
  transition: opacity 150ms ease, transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
}
.brand-link:hover { opacity: 0.9; }
.brand-link:active { transform: scale(0.98); }

.brand-svg {
  height: 36px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--valken-muted);
  text-decoration: none;
  position: relative;
  padding: 0.35rem 0;
  touch-action: manipulation;
  transition: color 160ms ease, transform 140ms ease;
}
.nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--valken-gold);
  transition: width 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-item:hover { color: var(--valken-cyan-light); }
.nav-item:hover::after { width: 100%; }
.nav-item:active { transform: scale(0.97); }

.header-clock {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--valken-muted);
  font-variant-numeric: tabular-nums;
  border-left: 1px solid rgba(196, 165, 92, 0.3);
  padding-left: 1.25rem;
}

/* --- Botones Geométricos Art Déco --- */
.btn-deco {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: 0.84375rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.85rem 1.75rem;
  min-height: 46px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  border: 1px solid transparent;
  transition: transform 150ms cubic-bezier(0.23, 1, 0.32, 1),
              background-color 180ms ease,
              border-color 180ms ease,
              color 180ms ease;
}
.btn-deco:active {
  transform: scale(0.97);
}

.btn-deco-primary {
  background: var(--valken-cyan);
  color: var(--valken-navy-deep);
  border-color: var(--valken-cyan);
  font-weight: 600;
}
.btn-deco-primary:hover {
  background: var(--valken-cyan-light);
  border-color: var(--valken-cyan-light);
}

.btn-deco-outline {
  background: rgba(0, 18, 44, 0.55);
  color: var(--valken-gold);
  border-color: var(--valken-gold);
}
.btn-deco-outline:hover {
  background: rgba(196, 165, 92, 0.14);
  color: var(--valken-white);
}

/* --- Ornamentos Art Déco con Trazado Vivo --- */
.deco-rule-inline {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 1.5rem 0;
  max-width: 420px;
}
.deco-rule-inline::before,
.deco-rule-inline::after {
  content: '';
  height: 1px;
  background: var(--valken-gold);
  opacity: 0.65;
}
.deco-rule-inline::before { width: 48px; }
.deco-rule-inline::after {
  flex: 1;
  background: linear-gradient(90deg, var(--valken-gold), transparent);
}

.deco-diamond-sm {
  width: 7px;
  height: 7px;
  background: var(--valken-gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 165, 92, 0.65));
}
.section-divider::after {
  background: linear-gradient(90deg, rgba(196, 165, 92, 0.65), transparent);
}
.section-divider .deco-diamond-sm {
  margin: 0 14px;
}

html.js-ready .section-divider::before,
html.js-ready .section-divider::after {
  transform: scaleX(0.15);
  opacity: 0.35;
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1), opacity 500ms ease;
}
html.js-ready .section-divider::before { transform-origin: right center; }
html.js-ready .section-divider::after { transform-origin: left center; }
html.js-ready .section-divider.is-drawn::before,
html.js-ready .section-divider.is-drawn::after {
  transform: scaleX(1);
  opacity: 1;
}

/* --- Secciones Translúcidas para Dejar Respirar el Fondo Vivo --- */
section[id] {
  scroll-margin-top: 5rem;
}

.band-navy {
  background: linear-gradient(180deg, rgba(0, 30, 72, 0.25) 0%, rgba(0, 22, 52, 0.38) 100%);
  padding: var(--space-section) 0;
}

.band-deep {
  background: rgba(0, 16, 38, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(196, 165, 92, 0.24);
  border-bottom: 1px solid rgba(196, 165, 92, 0.24);
  padding: 5.5rem 1.25rem;
  padding: var(--space-section) 1.25rem;
}

.section-h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--valken-white);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--valken-muted);
  max-width: 60ch;
  line-height: 1.65;
}

/* --- 1. Hero Editorial en Primera Persona --- */
.hero-editorial {
  margin-top: 4.5rem;
  padding: clamp(4rem, 8.5vw, 7rem) 0 clamp(3.75rem, 7.5vw, 6rem);
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 76% 32%, rgba(196, 165, 92, 0.09) 0%, transparent 70%),
    linear-gradient(180deg, rgba(0, 22, 52, 0.22) 0%, rgba(0, 18, 42, 0.52) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 4rem;
  }
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--valken-white);
}

.hero-role {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--valken-gold);
  margin-bottom: 1.65rem;
}

.hero-manifesto {
  font-size: clamp(1.0625rem, 1.9vw, 1.25rem);
  line-height: 1.7;
  max-width: 60ch;
  color: var(--valken-text);
  margin-bottom: 2.25rem;
}

.scroll-highlight .hl-seg {
  color: rgba(225, 230, 232, 0.45);
  transition: color 280ms cubic-bezier(0.23, 1, 0.32, 1);
}
.scroll-highlight .hl-seg.is-lit {
  color: var(--valken-white);
}
.scroll-highlight .hl-seg.hl-cyan.is-lit {
  color: var(--valken-cyan-light);
}

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

/* Medallón Astrolabio Art Déco Vivo (Móvil + Desktop) */
.hero-emblem-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.deco-medallion {
  position: relative;
  width: 268px;
  height: 268px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 22, 52, 0.65) 0%, rgba(0, 22, 52, 0) 72%);
}

.deco-medallion-outer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: medallionSpinSlow 46s linear infinite;
  will-change: transform;
}

.deco-medallion-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(calc(var(--scroll-progress, 0) * -54deg));
  transition: transform 120ms linear;
  will-change: transform;
}

@keyframes medallionSpinSlow {
  to {
    transform: rotate(360deg);
  }
}

.deco-medallion-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* --- 2. Obra Construida (Índice Editorial con Trazado Vivo en Móvil y Desktop) --- */
.obra-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .obra-layout {
    grid-template-columns: 0.38fr 0.62fr;
    gap: 4.5rem;
  }
  .obra-sticky {
    position: sticky;
    top: 6.5rem;
  }
}

.obra-counter {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(196, 165, 92, 0.32);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.obra-counter-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--valken-gold);
  font-variant-numeric: tabular-nums;
}

.obra-counter-total {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--valken-muted);
}

.obra-active-name {
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--valken-cyan-light);
}

.obra-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(196, 165, 92, 0.28);
}

.obra-entry {
  position: relative;
  padding: 2.4rem 0;
  border-bottom: 1px solid rgba(196, 165, 92, 0.22);
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1.25rem;
  align-items: start;
  transition: opacity 280ms cubic-bezier(0.23, 1, 0.32, 1),
              border-color 280ms ease,
              transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* Filete dorado vivo que se traza de izquierda a derecha al entrar en foco */
.obra-entry::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--valken-gold), var(--valken-cyan), transparent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.obra-entry.is-active::after,
.obra-entry:hover::after {
  transform: scaleX(1);
}

@media (min-width: 900px) {
  .obra-entry {
    opacity: 0.56;
  }
  .obra-entry.is-active,
  .obra-entry:hover {
    opacity: 1;
    transform: translateX(4px);
  }
}

.obra-num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.05;
  color: rgba(196, 165, 92, 0.65);
  transition: color 240ms ease;
}

.obra-entry.is-active .obra-num,
.obra-entry:hover .obra-num {
  color: var(--valken-gold);
}

.obra-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.obra-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--valken-white);
}

.obra-domain {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--valken-gold);
}

.obra-desc {
  font-size: 1rem;
  color: var(--valken-text);
  line-height: 1.65;
  max-width: 58ch;
  margin-bottom: 1rem;
}

.obra-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--valken-muted);
}

.obra-link {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--valken-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
  touch-action: manipulation;
  transition: color 150ms ease;
}
.obra-link:hover {
  color: var(--valken-cyan-light);
}

/* --- 3. Criterio de Ingeniería (3 Columnas Abiertas con Filetes Verticales) --- */
.criterio-header {
  margin-bottom: 3.25rem;
}

.criterio-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

@media (min-width: 860px) {
  .criterio-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .criterio-col {
    padding: 0 2.25rem;
    border-left: 1px solid rgba(196, 165, 92, 0.34);
  }
  .criterio-col:first-child {
    padding-left: 0;
    border-left: none;
  }
  .criterio-col:last-child {
    padding-right: 0;
  }
}

@media (max-width: 859px) {
  .criterio-col {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(196, 165, 92, 0.28);
  }
}

.criterio-num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--valken-gold);
  margin-bottom: 1rem;
}

.criterio-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--valken-cyan-light);
  margin-bottom: 0.65rem;
}

.criterio-body {
  font-size: 0.96875rem;
  color: var(--valken-text);
  line-height: 1.65;
}

/* --- 4. Marco Art Déco de Contacto Directo --- */
.contact-frame {
  position: relative;
  background: rgba(0, 22, 52, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 165, 92, 0.44);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 18px 44px rgba(0, 8, 20, 0.45);
}

.deco-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--valken-gold);
  border-style: solid;
  pointer-events: none;
}
.deco-tl { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.deco-tr { top: 6px; right: 6px; border-width: 1px 1px 0 0; }
.deco-bl { bottom: 6px; left: 6px; border-width: 0 0 1px 1px; }
.deco-br { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.contact-email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.contact-email-link {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--valken-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-email-link:hover {
  color: var(--valken-cyan-light);
}

.channels-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(196, 165, 92, 0.25);
}

.channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  min-height: 48px;
  border-bottom: 1px solid rgba(196, 165, 92, 0.25);
  text-decoration: none;
  color: var(--valken-text);
  touch-action: manipulation;
  transition: color 150ms ease, padding-left 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
.channel-row:hover {
  color: var(--valken-cyan-light);
  padding-left: 0.35rem;
}
.channel-row:active {
  transform: scale(0.99);
}

.channel-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--valken-gold);
}

.channel-handle {
  font-size: 0.9375rem;
}

/* --- Footer --- */
.site-footer {
  background: rgba(0, 14, 34, 0.9);
  border-top: 1px solid rgba(196, 165, 92, 0.24);
  padding: 2.75rem 0;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--valken-muted);
}
.footer-copy a {
  color: var(--valken-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Scroll Reveal (Visibilidad progresiva segura para Googlebot) --- */
.reveal-block {
  opacity: 1;
  transform: none;
}
html.js-ready .reveal-block {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 440ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 440ms cubic-bezier(0.23, 1, 0.32, 1);
}
html.js-ready .reveal-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html.js-ready .reveal-block {
    opacity: 1 !important;
    transform: none !important;
  }
  .ambient-atmosphere,
  .deco-medallion-outer,
  .deco-medallion-inner {
    animation: none !important;
    transform: none !important;
  }
  .scroll-highlight .hl-seg {
    color: var(--valken-text) !important;
  }
  .obra-entry {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 720px) {
  .header-clock { display: none; }
  .header-row { gap: 0.75rem; }
  .brand-svg { height: 27px; }
  .header-nav { gap: 0.85rem; }
  .nav-item { font-size: 0.75rem; letter-spacing: 0.09em; }
  .deco-medallion { width: 210px; height: 210px; }
  .obra-entry { grid-template-columns: 1fr; gap: 0.5rem; }
  .contact-frame { padding: 1.75rem; }
}
