/*
Theme Name: Lara Gujtman
Theme URI: https://larag-art.com
Description: Custom Blocksy child theme for Lara Gujtman's portfolio site. Dark Room aesthetic with gold accent. Includes Painting and Exhibition custom post types.
Author: Larag Art
Author URI: https://larag-art.com
Template: blocksy
Version: 1.0.0
Text Domain: larag-art
*/

/* ============================================================
   LARAG ART · child theme styles
   See DESIGN-SPEC.md for the full system documentation.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --ink: #0a0908;
  --paper: #f2ede3;
  --dim: #7d7870;
  --mute: #bfb9ac;
  --gold: #c4a876;
  --rule: rgba(242, 237, 227, 0.10);
  --rule-strong: rgba(242, 237, 227, 0.18);
  --container-max: 1480px;
  --container-pad: 48px;
}

/* ---------- OVERRIDE BLOCKSY DEFAULTS ---------- */
html, body, .ct-main, [data-prefix] { background-color: var(--ink) !important; }
body {
  color: var(--paper);
  font-family: 'Carlito', Calibri, 'Trebuchet MS', sans-serif !important;
  font-size: 15.5px;
  line-height: 1.55;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* Hide Blocksy default header/footer if customizer leaves them on */
[data-row="top"], [data-row="middle"], [data-row="bottom"] {
  display: none !important;
}
/* Allow our overrides to show */
.larag-head, .larag-foot, .larag-foot-legal { display: flex !important; }

/* ---------- HEADER ---------- */
.larag-head {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px var(--container-pad);
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
}
.larag-head .logo { height: 64px; flex-shrink: 0; }
.larag-head nav.main {
  display: flex;
  gap: 36px;
  flex: 1;
  justify-content: space-between;
  font-size: 18px;
  letter-spacing: 0.04em;
  padding: 0 60px;
}
.larag-head nav.main a {
  color: var(--mute);
  padding: 10px 4px;
  position: relative;
  transition: color 0.2s;
}
.larag-head nav.main a.on { color: var(--gold); }
.larag-head nav.main a.on::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
}
.larag-head nav.main a:hover { color: var(--paper); }
.larag-head .lang {
  font-size: 13px;
  color: var(--mute);
  padding: 6px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 20px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.larag-head .lang .on { color: var(--gold); font-weight: 700; }
.larag-head .lang .sep { opacity: 0.4; margin: 0 6px; }

/* ---------- HERO ---------- */
.larag-hero {
  padding: 80px var(--container-pad) 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  border-bottom: 1px solid var(--rule);
}
.larag-hero h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3em 0.6em;
}
.larag-hero .hero-name {
  color: var(--gold);
  font-style: normal;
  font-weight: inherit;
}
.larag-hero .hero-role {
  color: var(--paper);
  font-style: normal;
  font-weight: inherit;
}
.larag-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 700;
}
.larag-hero h1 {
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 18ch;
  color: var(--paper);
}
.larag-hero h1 em { font-style: italic; color: var(--gold); }
.larag-hero .meta {
  font-size: 13px;
  color: var(--mute);
  text-align: right;
  line-height: 1.9;
  letter-spacing: 0.04em;
}
.larag-hero .meta b {
  font-style: italic;
  font-size: 18px;
  color: var(--paper);
  font-weight: 400;
  display: block;
  letter-spacing: 0;
}

/* ---------- GALLERY ---------- */
.larag-gallery-section { padding: 64px var(--container-pad) 80px; }
.larag-gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 36px;
}
.larag-gallery-head h2 {
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  margin: 0;
  letter-spacing: -0.005em;
  color: var(--paper);
}
.larag-gallery-head h2 em { color: var(--gold); font-style: italic; }
.larag-gallery-head .count {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 700;
}

.larag-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.larag-work {
  position: relative;
  aspect-ratio: 1/1;
  background: #000;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.larag-work .pntg {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;

}
.larag-work:hover .pntg { transform: scale(1.04); }
.larag-work .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212, 89, 59, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.larag-work .label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 60%, rgba(0, 0, 0, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
}
.larag-work:hover .label { opacity: 1; }
.larag-work .label .t {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.larag-work .label .m {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

.larag-gallery-foot {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ---------- CTA BUTTON ---------- */
.larag-cta {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  display: inline-block;
  transition: all 0.2s;
  background: transparent;
}
.larag-cta:hover { background: var(--gold); color: var(--ink); }

/* ---------- UPCOMING EXHIBITION ---------- */
.larag-upcoming {
  padding: 60px var(--container-pad);
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(196, 168, 118, 0.04), transparent);
}
.larag-upcoming-row {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.larag-upcoming .ex-thumb {
  width: 280px;
  aspect-ratio: 1/1;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.55);

}
.larag-upcoming .content .eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 700;
}
.larag-upcoming .content h3 {
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.012em;
  color: var(--paper);
}
.larag-upcoming .content .meta {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.85;
  letter-spacing: 0.02em;
}
.larag-upcoming .content .meta b { font-weight: 700; color: var(--paper); }
.larag-upcoming .larag-cta { white-space: nowrap; }

/* ---------- SINGLE PAINTING ---------- */
.larag-single-painting {
  padding: 60px var(--container-pad) 80px;
  text-align: center;
}
.larag-single-painting .stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.larag-single-painting .stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212, 89, 59, 0.14) 0%, transparent 60%);
  z-index: 0;
}
.larag-single-painting .stage img {
  position: relative;
  z-index: 2;
  max-width: 50vw;
  max-height: 70vh;
  width: auto;
  height: auto;
  box-shadow: 0 30px 60px -16px rgba(0, 0, 0, 0.7);
}
.larag-single-painting .caption { margin-top: 40px; }
.larag-single-painting .caption h1 {
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  letter-spacing: -0.012em;
  margin: 0 0 10px;
  color: var(--paper);
}
.larag-single-painting .caption .meta {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 700;
}
.larag-single-painting .prev-next {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mute);
}
.larag-single-painting .prev-next a { color: var(--mute); transition: color 0.2s; }
.larag-single-painting .prev-next a:hover { color: var(--gold); }
.larag-single-painting .back {
  margin-top: 32px;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- EXHIBITION TIMELINE ---------- */
.larag-exhibitions {
  padding: 60px var(--container-pad) 100px;
  max-width: 900px;
  margin: 0 auto;
}
.larag-exhibitions h1 {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 56px);
  margin: 0 0 60px;
  color: var(--paper);
}
.larag-timeline { position: relative; padding-left: 120px; border-left: 1px solid var(--rule); }
.larag-timeline .node {
  position: relative;
  padding: 14px 0 22px 30px;
}
.larag-timeline .node::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mute);
  box-shadow: 0 0 0 3px var(--ink);
}
.larag-timeline .node.upcoming::before {
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 8px rgba(196, 168, 118, 0.2);
}
.larag-timeline .node .date {
  position: absolute;
  left: -110px;
  top: 14px;
  width: 70px;
  text-align: right;
  font-size: 13px;
  color: var(--paper);
  letter-spacing: 0.05em;
  font-weight: 700;
}
.larag-timeline .node.upcoming .date { color: var(--gold); }
.larag-timeline .node h3 {
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 6px;
  letter-spacing: -0.008em;
  color: var(--paper);
}
.larag-timeline .node .venue {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* ---------- ABOUT (O meni) ---------- */
.larag-about { padding: 80px var(--container-pad) 100px; }
.larag-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
}
.larag-about .left .eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 700;
}
.larag-about .left h1 {
  font-weight: 400;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin: 0 0 36px;
  color: var(--paper);
}
.larag-about .left h1 em { font-style: italic; color: var(--gold); }
.larag-about .quick {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mute);
  line-height: 2;
}
.larag-about .quick b {
  display: block;
  font-style: italic;
  font-size: 16px;
  color: var(--paper);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 8px;
}
.larag-about .signature {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}
.larag-about .signature .k {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 700;
}
.larag-about .signature img { height: 84px; }
.larag-about .right .bio p {
  font-style: italic;
  font-size: 21px;
  line-height: 1.55;
  color: var(--paper);
  margin: 0 0 22px;
  letter-spacing: -0.003em;
}
.larag-about .right .bio p:last-child { color: var(--mute); }
.larag-about .right .bio p.first::first-letter {
  font-style: italic;
  float: left;
  font-size: 88px;
  line-height: 0.85;
  padding: 9px 16px 0 0;
  color: var(--gold);
}
.larag-about .qa-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.larag-about .qa-section .qa-h {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 14px;
}
.larag-about .qa-section .qa-h::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.larag-about .qa {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.larag-about .qa:first-of-type { border-top: none; padding-top: 0; }
.larag-about .qa .q {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 700;
}
.larag-about .qa .q .num { color: var(--mute); margin-right: 8px; font-size: 10px; }
.larag-about .qa .a {
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--paper);
  margin: 0;
}
.larag-about .qa.placeholder .a { color: var(--dim); }

/* ---------- KONTAKT ---------- */
.larag-kontakt { padding: 80px var(--container-pad) 100px; }
.larag-kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.larag-kontakt h1 {
  font-weight: 400;
  font-size: clamp(40px, 5vw, 56px);
  margin: 0 0 30px;
  color: var(--paper);
  letter-spacing: -0.015em;
}
.larag-kontakt .email-big {
  font-style: italic;
  font-size: 26px;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}
.larag-kontakt p { color: var(--mute); font-size: 15.5px; line-height: 1.7; margin: 0 0 8px; }
.larag-kontakt .socials { margin-top: 30px; }
.larag-kontakt .socials a {
  display: block;
  color: var(--mute);
  margin-bottom: 6px;
  transition: color 0.2s;
}
.larag-kontakt .socials a:hover { color: var(--paper); }

/* ---------- FOOTER ---------- */
.larag-foot {
  padding: 64px var(--container-pad) 24px;
  border-top: 1px solid var(--rule);
  display: grid !important;
  grid-template-columns: auto 1fr 1fr;
  gap: 60px;
  align-items: start;
  background: var(--ink);
}
.larag-foot .logo-f { height: 48px; }
.larag-foot .col h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
  font-weight: 700;
}
.larag-foot .col p,
.larag-foot .col a {
  font-size: 15px;
  color: var(--mute);
  line-height: 1.75;
  display: block;
  margin: 0;
  letter-spacing: 0.01em;
}
.larag-foot .col a:hover { color: var(--paper); }
.larag-foot-legal {
  padding: 18px var(--container-pad);
  border-top: 1px solid var(--rule);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex !important;
  justify-content: space-between;
  font-weight: 700;
  background: var(--ink);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1023px) {
  :root { --container-pad: 32px; }
  .larag-gallery { grid-template-columns: repeat(2, 1fr); }
  .larag-hero { flex-direction: column; align-items: flex-start; }
  .larag-hero .meta { text-align: left; }
  .larag-upcoming-row { grid-template-columns: 1fr; gap: 24px; }
  .larag-upcoming .ex-thumb { width: 100%; max-width: 360px; }
  .larag-foot { grid-template-columns: 1fr 1fr; }
  .larag-foot .logo-f { grid-column: 1 / -1; }
  .larag-about-grid { grid-template-columns: 1fr; gap: 48px; }
  .larag-kontakt-grid { grid-template-columns: 1fr; gap: 48px; }
  .larag-single-painting .stage img { max-width: 80vw; }
  .larag-timeline { padding-left: 30px; }
  .larag-timeline .node .date { position: static; width: auto; text-align: left; margin-bottom: 4px; }
}

@media (max-width: 600px) {
  :root { --container-pad: 24px; }
  .larag-head { gap: 16px; }
  .larag-head nav.main { display: none; }
  .larag-gallery { grid-template-columns: 1fr; }
  .larag-hero h1 { font-size: 36px; }
  .larag-gallery-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .larag-gallery-head h2 { font-size: 28px; }
  .larag-upcoming .content h3 { font-size: 28px; }
  .larag-foot { grid-template-columns: 1fr; gap: 32px; }
  .larag-foot-legal { flex-direction: column; gap: 8px; text-align: center; }

  /* Mobile: show painting labels always */
  .larag-work .label {
    opacity: 1;
    position: static;
    padding: 12px 0 0;
    background: none;
    color: var(--paper);
  }
  .larag-work .label .m { color: var(--mute); }
}

/* ---------- A11Y ---------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.skip-link:focus {
  background: var(--paper);
  color: var(--ink);
  clip: auto !important;
  clip-path: none;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 24px;
  line-height: normal;
  padding: 15px 23px;
  text-decoration: none;
  top: 24px;
  width: auto;
  z-index: 100000;
}
