/* ============================================================
   STUDIO KTS — design system
   Dark editorial: near-black ground, gold accent (the gold dot),
   Bebas Neue display / Space Mono body.
   ============================================================ */

:root {
  --ink: #0d0d0f;          /* near-black ground */
  --panel: #16161a;        /* raised panels */
  --line: #2a2a30;         /* hairline borders */
  --paper: #f2efe8;        /* light text */
  --muted: #a09a8e;        /* secondary text */
  --gold: #c9a24b;         /* the gold dot */
  --gold-bright: #e6c165;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  line-height: 1.65;
}

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

h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

a { color: var(--gold-bright); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 5vw;
  background: rgba(13,13,15,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: baseline; gap: 0.6rem; text-decoration: none; }
.brand-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; color: var(--gold);
  letter-spacing: 0.12em;
}
.brand-text {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--muted);
}
.site-header nav { display: flex; gap: 1.6rem; }
.site-header nav a {
  color: var(--paper); text-decoration: none;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em;
}
.site-header nav a:hover { color: var(--gold-bright); }
.site-header nav .lang-toggle {
  border: 1px solid var(--gold);
  padding: 0.25rem 0.6rem;
  color: var(--gold-bright);
}

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 4vw; align-items: center;
  padding: 9vh 5vw 7vh;
  min-height: 78vh;
}
.eyebrow {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin-bottom: 1.4rem; }
.lead { color: var(--muted); max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.button {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: background 0.2s, color 0.2s;
}
.button.primary { background: var(--gold); color: var(--ink); }
.button.primary:hover { background: var(--gold-bright); }
.button.secondary { color: var(--gold-bright); background: transparent; }
.button.secondary:hover { background: rgba(201,162,75,0.12); }

.hero-art img {
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
}
.hero-caption {
  margin-top: 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-align: right;
}

/* ---------- intro band ---------- */
.intro-band {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.intro-band > div {
  padding: 2rem 2.4rem;
  border-right: 1px solid var(--line);
}
.intro-band > div:last-child { border-right: none; }
.intro-band strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem; letter-spacing: 0.06em;
  color: var(--gold-bright);
  margin-bottom: 0.4rem;
}
.intro-band span { font-size: 0.85rem; color: var(--muted); }

/* ---------- gallery ---------- */
.gallery-section { padding: 8vh 5vw; }
.section-heading { max-width: 40rem; margin-bottom: 3.2rem; }
.section-heading h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 0.8rem; }
.section-heading p { color: var(--muted); font-size: 0.9rem; }

.gallery-grid {
  columns: 3; column-gap: 1.6rem;
}
.art-card {
  break-inside: avoid;
  margin-bottom: 1.6rem;
  background: var(--panel);
  border: 1px solid var(--line);
}
.image-button {
  display: block; width: 100%;
  border: none; padding: 0; cursor: zoom-in;
  background: none;
}
.image-button img { width: 100%; transition: opacity 0.25s; }
.image-button:hover img { opacity: 0.85; }
.image-button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.art-card-copy { padding: 1rem 1.1rem 1.2rem; }
.art-card-copy h3 { font-size: 1.25rem; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.art-card-copy p { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.6rem; }

.status-tag {
  display: inline-block;
  font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.16em;
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--line);
  color: var(--muted);
}
.status-available { border-color: var(--gold); color: var(--gold-bright); }
.status-sold { text-decoration: line-through; }
.status-inquire, .status-consultar { border-color: var(--gold); color: var(--gold-bright); }

/* ---------- statement ---------- */
.statement { padding: 8vh 5vw; border-top: 1px solid var(--line); }
.statement-panel { max-width: 46rem; margin: 0 auto; text-align: center; }
.statement h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 1.4rem; }
.statement p { color: var(--muted); margin-bottom: 1.2rem; text-align: left; }
.statement em { color: var(--gold-bright); font-style: normal; }

/* ---------- about ---------- */
.feature-split {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4vw;
  padding: 7vh 5vw;
  border-top: 1px solid var(--line);
}
.feature-split h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.feature-split > p { color: var(--muted); align-self: center; }
.about-portrait {
  margin-top: 1.6rem;
  max-width: 320px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
@media (max-width: 980px) {
  .about-portrait { max-width: 260px; }
}

/* ---------- contact ---------- */
.contact { padding: 9vh 5vw; border-top: 1px solid var(--line); }
.contact-card { max-width: 40rem; margin: 0 auto; text-align: center; }
.contact h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
.contact p { color: var(--muted); margin-bottom: 1.6rem; }
.contact-alt { margin-top: 1.6rem; font-size: 0.85rem; }

/* ---------- footer ---------- */
footer {
  display: flex; justify-content: space-between;
  padding: 1.4rem 5vw;
  border-top: 1px solid var(--line);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--muted);
}

/* ---------- lightbox ---------- */
.lightbox {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0;
  max-width: min(92vw, 1100px);
  max-height: 92vh;
}
.lightbox::backdrop { background: rgba(0,0,0,0.85); }
.lightbox img { max-height: 76vh; margin: 0 auto; }
.lightbox-meta { padding: 1rem 1.4rem 1.3rem; }
.lightbox-meta h3 { color: var(--paper); font-size: 1.5rem; }
.lightbox-meta p { color: var(--muted); font-size: 0.78rem; }
.lightbox .close {
  position: absolute; top: 0.5rem; right: 0.7rem;
  background: none; border: none;
  color: var(--paper); font-size: 2rem; cursor: pointer;
  line-height: 1;
}
.lightbox .close:hover { color: var(--gold-bright); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: unset; padding-top: 6vh; }
  .gallery-grid { columns: 2; }
  .feature-split { grid-template-columns: 1fr; }
  .intro-band { grid-template-columns: 1fr; }
  .intro-band > div { border-right: none; border-bottom: 1px solid var(--line); }
  .intro-band > div:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .gallery-grid { columns: 1; }
  .site-header nav { gap: 1rem; }
  .site-header nav a { font-size: 0.68rem; }
  footer { flex-direction: column; gap: 0.3rem; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .image-button img, .button { transition: none; }
}

.art-card-copy .price {
  font-size: 0.85rem;
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}
