/* Hallmark · shape: Portfolio, custom · genre: playful · direction: custom (her murals: white wall, black marker, cobalt, pink, lemon) · scope: page
 * hero: split, mural photo on colour blocks · nav: wordmark left, links right · footer: contact band · imagery: her own photos and drawings · signature: the TELL MAMA mouth and her pun drawings on white paper
 * axes: light/display-heavy/chromatic-cobalt · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, the interior photos are hers but small (1400px max from Webnode) */
/* Hallmark · waive 38iii · the pink marker stroke under "namaľujem" repeats her pink mural strokes; it appears once, in the hero */

:root {
  --paper: oklch(99.2% 0.003 95);
  --paper-2: oklch(96.4% 0.006 95);
  --ink: oklch(17% 0.01 270);
  --ink-2: oklch(34% 0.012 270);
  --muted: oklch(50% 0.012 270);
  --rule: oklch(88% 0.008 270);
  --blue: oklch(47% 0.21 263);
  --blue-deep: oklch(40% 0.19 263);
  --pink: oklch(82% 0.09 355);
  --yellow: oklch(90% 0.17 100);
  --white: oklch(99.6% 0.004 95);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-hand: "Patrick Hand", "Bricolage Grotesque", cursive;
  --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.1875rem; --text-xl: 1.5rem; --text-2xl: 2rem; --text-3xl: clamp(2.5rem, 5.5vw, 4.5rem); --text-hero: clamp(2.75rem, 7vw, 6rem);
  --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 112px;
  --wrap: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 400 var(--text-lg)/1.55 var(--font-display); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 0.98; letter-spacing: -0.02em; overflow-wrap: break-word; min-width: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--space-lg)); margin-inline: auto; }
.hand { font-family: var(--font-hand); font-weight: 400; letter-spacing: 0; }
.skip { position: absolute; left: var(--space-md); top: -80px; z-index: 50; padding: var(--space-xs) var(--space-md); background: var(--ink); color: var(--paper); border-radius: 999px; }
.skip:focus-visible { top: var(--space-md); }

/* hlavička */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in oklch, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; }
.brand img { width: 40px; height: auto; mix-blend-mode: multiply; }
.brand span { font-weight: 800; font-size: var(--text-lg); line-height: 1.1; }
.brand small { display: block; font-weight: 500; font-size: var(--text-sm); color: var(--muted); }
.nav { display: flex; align-items: center; gap: var(--space-lg); }
.nav a:not(.btn) { font-size: var(--text-md); font-weight: 600; text-decoration: none; padding: var(--space-xs) 0; background: linear-gradient(var(--yellow), var(--yellow)) 0 88% / 0 0.45em no-repeat; transition: background-size 220ms var(--ease); }
.nav a:not(.btn):hover { background-size: 100% 0.45em; }
.nav a:focus-visible, .btn:focus-visible, .brand:focus-visible, .shot:focus-visible, .contact a:focus-visible, .lb button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 50px; padding: 0 var(--space-lg); border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font: 700 var(--text-md)/1 var(--font-display); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease), translate 160ms var(--ease); }
.btn:hover { background: var(--yellow); }
.btn:active { translate: 0 2px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--blue); color: var(--white); }
.top .btn { min-height: 44px; padding: 0 var(--space-md); }

/* úvod */
.hero { padding: var(--space-2xl) 0 var(--space-3xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.hero__note { margin-top: var(--space-lg); font-size: 1.375rem; color: var(--blue); }
.hero h1 { font-size: var(--text-hero); }
.hero h1 em { font-style: normal; background: linear-gradient(var(--pink), var(--pink)) 0 86% / 100% 0.32em no-repeat; }
.hero__lead { margin-top: var(--space-lg); max-width: 34ch; font-size: 1.25rem; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero__art { position: relative; aspect-ratio: 4 / 4.4; }
.hero__art::before { content: ""; position: absolute; inset: 8% -6% -6% 18%; background: var(--blue); border-radius: var(--radius); }
.hero__art::after { content: ""; position: absolute; width: 38%; aspect-ratio: 1; left: -8%; bottom: -8%; background: radial-gradient(var(--ink) 22%, transparent 24%) 0 0 / 18px 18px; }
.hero__art .blk { position: absolute; z-index: 1; width: 30%; aspect-ratio: 1; right: -4%; top: -5%; background: var(--yellow); border-radius: 50%; }
.hero__art img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.hero__tag { position: absolute; z-index: 3; left: var(--space-md); bottom: var(--space-md); padding: var(--space-xs) var(--space-sm); background: var(--paper); border-radius: 999px; font-size: var(--text-sm); font-weight: 600; }

/* sekcie */
.sec { padding: var(--space-3xl) 0; }
.sec__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl); align-items: end; margin-bottom: var(--space-2xl); }
.sec__head h2 { font-size: var(--text-3xl); }
.sec__head p { color: var(--ink-2); max-width: 44ch; }
.sec__note { display: block; margin-top: var(--space-sm); font-size: 1.375rem; color: var(--blue); }

/* interiéry */
.projects { display: grid; gap: var(--space-3xl); }
.proj { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-xl); align-items: start; }
.proj:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.proj:nth-child(even) .proj__media { order: 2; }
.proj__media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.proj__media .shot:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.proj__media .shot { aspect-ratio: 1; }
.shot { position: relative; display: block; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius); background: var(--paper-2); cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: scale 600ms var(--ease); }
.shot:hover img { scale: 1.04; }
.proj__txt { position: sticky; top: 104px; display: grid; gap: var(--space-sm); padding-top: var(--space-sm); }
.proj__n { font-size: 1.375rem; color: var(--blue); }
.proj h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.proj__meta { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--space-sm); border-radius: 999px; background: var(--paper-2); font-size: var(--text-sm); font-weight: 600; }
.chip--star { background: var(--yellow); }
.proj p { color: var(--ink-2); }

/* detské izby */
.kids { background: var(--pink); }
.kids .sec__note { color: var(--ink); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 30%); gap: var(--space-md); overflow-x: auto; padding-bottom: var(--space-md); scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail figure { scroll-snap-align: start; }
.rail .shot { aspect-ratio: 16 / 10; }
.rail figcaption { margin-top: var(--space-xs); font-size: 1.25rem; }

/* murály */
.murals { background: var(--blue); color: var(--white); }
.murals .sec__head p { color: color-mix(in oklch, var(--white) 86%, transparent); }
.murals .sec__note { color: var(--yellow); }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: var(--space-sm); }
.wall .shot { height: 100%; }
.wall .w2 { grid-column: span 2; }
.wall .h2 { grid-row: span 2; }

/* kresby */
.doodles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg) var(--space-md); }
.doodle { margin: 0; }
.doodle img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--rule); transition: translate 300ms var(--ease), box-shadow 300ms var(--ease); }
.doodle:hover img { translate: 0 -4px; box-shadow: 0 0 0 1px var(--rule), 0 10px 0 var(--yellow); }
.doodles__more { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-top: var(--space-2xl); }

/* denníky zo stavieb */
.site { background: var(--paper-2); }
.site .rail { grid-auto-columns: minmax(220px, 22%); }
.site .shot { aspect-ratio: 3 / 4; }

/* kontakt */
.contact { padding: var(--space-3xl) 0; background: var(--ink); color: var(--paper); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.contact h2 { font-size: var(--text-3xl); }
.contact__mouth { width: min(220px, 60%); justify-self: center; filter: invert(1); mix-blend-mode: lighten; }
.contact__list { display: grid; gap: var(--space-md); margin-top: var(--space-xl); font-size: 1.25rem; }
.contact__list a { font-weight: 700; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.contact__list span { display: block; font-size: var(--text-sm); color: color-mix(in oklch, var(--paper) 70%, transparent); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-2xl); padding: var(--space-lg) 0 0; border-top: 1px solid color-mix(in oklch, var(--paper) 18%, transparent); font-size: var(--text-sm); color: color-mix(in oklch, var(--paper) 72%, transparent); }
.foot a { text-decoration-color: color-mix(in oklch, var(--paper) 40%, transparent); }

/* zväčšená fotka */
.lb { width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.lb::backdrop { background: color-mix(in oklch, var(--ink) 82%, transparent); }
.lb img { width: 100%; max-height: 80vh; object-fit: contain; }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); }
.lb__bar p { font-size: var(--text-md); }
.lb__bar div { display: flex; gap: var(--space-xs); }
.lb button { min-width: 44px; min-height: 44px; padding: 0 var(--space-sm); border: 2px solid var(--paper); border-radius: 999px; background: transparent; color: var(--paper); font: 700 var(--text-md)/1 var(--font-display); cursor: pointer; }
.lb button:hover { background: var(--paper); color: var(--ink); }

/* odhalenie pri posúvaní */
.js .rv { opacity: 0; translate: 0 28px; transition: opacity 700ms var(--ease), translate 700ms var(--ease); }
.js .rv.in { opacity: 1; translate: 0 0; }

@media (max-width: 60rem) {
  .hero__grid, .sec__head, .proj, .proj:nth-child(even), .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .proj:nth-child(even) .proj__media { order: 0; }
  .proj__txt { position: static; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .doodles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { grid-auto-columns: minmax(260px, 78%); }
  .site .rail { grid-auto-columns: minmax(200px, 60%); }
  .hero__art { max-width: 520px; width: 92%; margin-inline: auto; }
}
@media (max-width: 40rem) {
  body { font-size: var(--text-md); }
  .nav a:not(.btn) { display: none; }
  .brand small { display: none; }
  .wrap { width: min(var(--wrap), 100% - 2 * var(--space-md)); }
  .hero { padding-top: var(--space-xl); }
  .sec, .contact { padding: var(--space-2xl) 0; }
  .sec__head { margin-bottom: var(--space-xl); }
  .projects { gap: var(--space-2xl); }
  .wall { grid-auto-rows: 150px; }
  .contact__mouth { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; translate: none; transition: none; }
  .shot img, .doodle img, .btn, .nav a { transition: none; }
  .shot:hover img { scale: 1; }
  .doodle:hover img { translate: none; }
}
