@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght,SOFT,WONK@9..144,900,90,1&family=Young+Serif&display=swap');

:root {
  --paper: #210e18;
  --panel: #301723;
  --ink: #ffe9bc;
  --muted: #e2c6b1;
  --accent: #ff694f;
  --line: #69404a;
  --display: "Fraunces", "Young Serif", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position: fixed; top: .6rem; left: .6rem; z-index: 5; background: var(--ink); color: var(--paper); padding: .7rem; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.shell { width: min(1460px, calc(100% - clamp(2rem, 5vw, 5rem))); margin-inline: auto; }
.studio-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); min-height: 4.9rem; }
.studio-nav a:not(.nav-brand) { font-weight: 600; font-size: clamp(.9rem, 1.6vw, 1.3rem); }
.studio-nav a:hover, .footer-nav a:hover, .footer-bottom a:hover { color: var(--accent); }
.nav-brand { margin-right: auto; font: 900 clamp(1.45rem, 3.1vw, 2.65rem)/.78 var(--display); letter-spacing: -.06em; padding-block: .55rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(29rem, 37vw, 43rem); display: grid; align-items: center; background: #29101e; }
.hero-content { padding-block: clamp(2.3rem, 5vw, 5rem); }
h1, h2, h3, .footer-name { font-family: var(--display); font-weight: 900; margin: 0; }
.hero h1 { font-size: clamp(4.3rem, 10.1vw, 10.7rem); line-height: .84; letter-spacing: -.065em; }
.hero p { font-size: clamp(1.05rem, 1.85vw, 1.75rem); margin: 1.3rem 0 1.65rem; }
.ink-button { display: inline-block; border: 0; border-radius: .55rem; background: var(--accent); color: #211016; padding: .7em 1.15em; font-weight: 700; }
.ink-button:hover { background: #ff876c; }
.hero .ink-button { font-size: clamp(1rem, 1.75vw, 1.54rem); }

.section { padding-block: clamp(2.4rem, 5vw, 5rem); border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
h2 { font-size: clamp(2.05rem, 3.5vw, 3.7rem); line-height: 1.02; letter-spacing: -.042em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.9rem); line-height: 1.12; }
p { line-height: 1.55; }
.work { padding-top: 1.3rem; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.25vw, 1.4rem); margin-top: 1.35rem; }
.work-image { aspect-ratio: 480 / 276; border-radius: .55rem; background: url(assets/design-reference.webp) no-repeat; background-size: 320% auto; }
.motel { background-position: 3.7% 97.75%; }
.tide { background-position: 50% 97.75%; }
.shift { background-position: 96.6% 97.75%; }
.work-grid h3 { margin: .75rem 0 .18rem; }
.work-grid p { margin: 0; color: var(--muted); }
.work-detail { margin-top: .75rem; }
.work-detail summary { cursor: pointer; color: var(--accent); font-weight: 700; }
.work-detail p { margin: .6rem 0; max-width: 46ch; }
.work-detail a { color: var(--accent); text-decoration: underline; text-underline-offset: .22em; }
#inquiry-hint { color: var(--muted); line-height: 1.4; }
.label { margin: 0 0 .55rem; color: var(--accent); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.service-intro > p:last-child { max-width: 58ch; color: var(--muted); margin-bottom: 1.6rem; }
.offer { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.offer-card { display: flex; flex-direction: column; padding: clamp(1rem,2.4vw,2rem); border-radius: .6rem; background: var(--panel); border-top: 3px solid var(--accent); }
.offer-card:nth-child(3n + 2) { border-color: #78bdb0; }
.offer-card:nth-child(3n) { border-color: #e9ad68; }
.offer-card p, .process p, .about-studio p, .contact p { color: var(--muted); }
.offer-card a, .footer-brief { color: var(--accent); text-decoration: underline; text-underline-offset: .22em; font-weight: 700; }
.offer-card a { margin-top: auto; }
.process { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,4vw,3rem); padding-left: 1.4rem; margin: 1.6rem 0 0; }
.process li::marker { color: var(--accent); font-weight: 700; }
.about-studio, .contact { display: grid; align-items: start; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem,5vw,5rem); }
.studio-portrait { margin: 0; align-self: center; }
.portrait-art { aspect-ratio: 1200 / 393; overflow: hidden; }
.portrait-art img { width: 100%; }
.studio-portrait figcaption {
  margin-top: .4rem;
  text-align: center;
  font: 900 clamp(1.4rem, 3vw, 2.4rem)/1.1 var(--display);
}
.contact img { width: min(320px, 80%); border-radius: .6rem; }
.rack-title { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.1rem; margin-bottom: 1.25rem; }
#music-status { color: var(--muted); font-size: .9rem; }
.arrows { margin-left: auto; display: flex; gap: .5rem; }
.arrows button { background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 50%; width: 2.5rem; height: 2.5rem; }
.arrows button:disabled { opacity: .4; cursor: default; }
.shelf { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 26%; gap: 3%; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem 1.5% 1rem; }
.project { position: relative; isolation: isolate; scroll-snap-align: start; border: 0; background: transparent; color: var(--ink); padding: 0; text-align: left; }
.project::before { content: ""; position: absolute; z-index: -1; top: 16%; right: -10%; width: 82%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle,#282220 0 4%,#151111 5% 7%); transition: translate .25s; }
.project:hover::before, .project[aria-pressed=true]::before { translate: 8% 0; }
.cover { display: block; border-radius: .25rem; overflow: hidden; box-shadow: .35rem .35rem #0b060a; }
.cover img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 27%; }
.project-title { display: block; padding: .7rem 0 0; font-weight: 600; }
.project[aria-pressed=true] .cover { outline: 3px solid var(--accent); outline-offset: -3px; }
#inquiry-form { display: grid; gap: .65rem; padding: clamp(1rem,3vw,2rem); background: var(--panel); border-radius: .6rem; }
#inquiry-form label { font-weight: 700; }
#inquiry-form label span { font-weight: 400; }
#inquiry-form :is(input,select,textarea) { width: 100%; padding: .7rem; border: 1px solid var(--line); border-radius: .3rem; background: var(--paper); color: var(--ink); margin-bottom: .35rem; }
#inquiry-form textarea { resize: vertical; }
#inquiry-form button { justify-self: start; }
#inquiry-status:empty { display: none; }
.site-footer { background: #170a12; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-block: 2.5rem; }
.footer-name { font-size: 2rem; line-height: 1; }
.footer-grid h2 { font: 700 1rem var(--body); letter-spacing: 0; margin: 0 0 .6rem; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.footer-owner address { font-style: normal; line-height: 1.55; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; font-size: .85rem; }
@media (max-width:850px) {
  .offer { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
  .studio-nav { min-height: 4rem; gap: .8rem; }
  .hero { min-height: 28rem; align-items: end; }
  .hero h1 { font-size: clamp(3.4rem, 12vw, 5rem); }
  .hero p { margin: 1rem 0; }
  .work-grid, .offer, .process, .about-studio, .contact { grid-template-columns: 1fr; }
  .work-grid { gap: 1.45rem; }
  .process { gap: .5rem; }
  .shelf { grid-auto-columns: 54%; gap: 7%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .footer-studio { grid-column: 1/-1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { scroll-behavior: auto !important; transition: none !important; } }


.logo-filter-definitions { position: absolute; pointer-events: none; }
.nav-brand img {
  width: clamp(4.25rem, 8vw, 7rem);
  filter: url(#logo-knockout) drop-shadow(0 0 1px #ffe9bd) drop-shadow(0 0 1px #ffe9bd);
}
.hero h1 {
  max-width: 10.5ch;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: .95;
}
.hero p.label { font-size: .8rem; margin: 0 0 .75rem; }
.hero p:not(.label) { max-width: 40ch; font-size: clamp(1rem, 1.35vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.25rem; }
.hero-actions .ink-button { font-size: 1rem; }
.hero-actions a:last-child { font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
@media (max-width:600px) {
  .studio-nav { gap: .55rem; }
  .studio-nav a:not(.nav-brand) { font-size: clamp(.72rem, 3.15vw, .9rem); }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
}

.offer-card {
  --card-padding: clamp(1rem, 2.4vw, 2rem);
  padding: var(--card-padding);
  overflow: hidden;
}
.offer-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.05;
  margin: calc(-1 * var(--card-padding)) calc(-1 * var(--card-padding)) 1.15rem;
  background: var(--panel);
}
.offer-photo::before {
  content: "";
  position: absolute;
  width: 100%;
  aspect-ratio: 1.5;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-image: url(assets/service-photos.webp);
  background-size: 300% 300%;
}
#reklama .offer-photo::before { background-position: 0% 0%; }
#ramy .offer-photo::before {
  inset: 0;
  aspect-ratio: auto;
  transform: none;
  background: url(assets/welded-frame.webp) center / cover no-repeat;
}
#grafika .offer-photo::before { background-position: 100% 0%; }
#foto-text .offer-photo::before { background-position: 0% 50%; }
#navody .offer-photo::before { background-position: 50% 50%; }
#software .offer-photo::before { background-position: 100% 50%; }
#tisk .offer-photo::before { background-position: 0% 100%; }



.hero { min-height: auto; background: var(--paper); border-top: 1px solid var(--line); }
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 4rem);
  padding-block: clamp(1.5rem, 3.5vw, 3.4rem);
}
.hero h1 { max-width: 16ch; font-size: clamp(2.5rem, 4.65vw, 5rem); line-height: 1; }
.hero p { margin: 1rem 0 1.4rem; }
.hero-work { margin: 0; }
.hero-work img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: 78% center; border-radius: .65rem; }
.hero-work figcaption { margin-top: .55rem; color: var(--muted); font-size: .88rem; }
.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.featured-work {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  padding: clamp(.75rem, 2vw, 1.4rem);
  background: var(--panel);
  border-radius: .75rem;
}
.featured-copy h3 { font-size: clamp(1.8rem, 3vw, 3rem); }
.work-grid h3 span { font: 700 .8rem var(--body); color: #90c9bf; white-space: nowrap; }
@media (max-width:700px) {
  .hero-content, .featured-work { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.45rem, 8vw, 4rem); }
}
@media (max-width:480px) { .work-grid { grid-template-columns: 1fr; } }

.print-catalog > p:not(.label) { color: var(--muted); max-width: 55ch; }
.print-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin-top: 1.5rem; align-items: start; }
.print-group { border: 1px solid var(--line); border-radius: .6rem; background: var(--panel); overflow: hidden; }
.print-group summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font-weight: 700; cursor: pointer; list-style: none; }
.print-group summary::-webkit-details-marker { display: none; }
.print-group summary span { color: var(--accent); }
.print-group[open] summary span { transform: rotate(45deg); }
.print-group ul { list-style: none; padding: 0 1.2rem 1rem; margin: 0; }
.print-group li + li { border-top: 1px solid var(--line); }
.print-group li a { display: flex; gap: 1rem; justify-content: space-between; padding: .65rem 0; line-height: 1.4; }
.print-group li a:hover { color: var(--accent); }
.print-group li a span { color: var(--accent); }
@media (max-width:600px) {
  .print-groups { grid-template-columns: 1fr; }
  .studio-nav { flex-wrap: wrap; padding-block: .5rem; }
}

.offer { align-items: start; }
.offer-card { position: relative; }
.anchor-target { position: absolute; top: 0; }
.print-card .print-group { margin-top: auto; background: transparent; }
.print-card .print-group summary { padding: .7rem .8rem; }
.print-card .print-group ul { padding-inline: .8rem; font-size: .9rem; }
#velkoplosny-tisk .offer-photo::before { background-image: url(assets/print-services-varied.webp); background-position: 0% 0%; }
#studium .offer-photo::before { background-image: url(assets/print-services-varied.webp); background-position: 50% 0%; }
#vazby .offer-photo::before { background-image: url(assets/print-services-varied.webp); background-position: 100% 0%; }
#samolepky .offer-photo::before { background-image: url(assets/print-services-varied.webp); background-position: 0% 50%; }
#kancelar .offer-photo::before { background-image: url(assets/print-services-varied.webp); background-position: 50% 50%; }
#fotodarky .offer-photo::before { background-image: url(assets/print-services-varied.webp); background-position: 100% 50%; }
#svatba .offer-photo::before { background-image: url(assets/print-services-varied.webp); background-position: 0% 100%; }


.hero {
  position: relative;
  min-height: clamp(32rem, 43vw, 47rem);
  isolation: isolate;
}
.hero-content {
  display: block;
  padding-block: clamp(3rem, 6vw, 6rem);
}
.hero-copy { width: min(48%, 40rem); }
.hero-work {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-work img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}
.hero-work::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #210e18 0%, #210e18f5 18%, #210e18c9 33%, #210e1852 52%, transparent 73%);
}
.hero-work figcaption {
  position: absolute;
  right: 1.5rem;
  bottom: .75rem;
  margin: 0;
  padding: .25rem .5rem;
  background: #210e18a6;
  font-size: .75rem;
}
@media (max-width:700px) {
  .hero { min-height: 38rem; align-items: end; }
  .hero-copy { width: 100%; max-width: 33rem; }
  .hero-content { padding-block: 13rem 2rem; }
  .hero-work img { object-position: 72% center; }
  .hero-work::after {
    background: linear-gradient(0deg, #210e18 0%, #210e18ec 36%, #210e1880 63%, #210e1820 100%);
  }
  .hero-work figcaption { top: .6rem; bottom: auto; right: .6rem; }
}

.service-page-links { display:flex; flex-wrap:wrap; gap:.7rem 1.5rem; margin:1.4rem 0; }
.service-page-links a { color:var(--accent); text-decoration:underline; text-underline-offset:.25em; }
.service-heading { max-width:22ch; font-size:clamp(2.2rem,5vw,4.7rem); line-height:1.05; letter-spacing:-.04em; }
.service-lead { max-width:62ch; color:var(--muted); line-height:1.65; }
.service-offer { margin-top:1.5rem; }

#jukebox { padding-block: 1.25rem; }
.jukebox-drawer > summary { cursor:pointer; font-weight:700; }
.jukebox-drawer > summary span { color:var(--muted); font-size:.8rem; font-weight:400; margin-left:.6rem; }
.jukebox-drawer[open] .rack-title { margin-top:1.2rem; }
#jukebox h2 { font-size:1.4rem; }
#jukebox .shelf { max-width:650px; grid-auto-columns:23%; gap:3%; }
#jukebox .project-title { font-size:.78rem; }
@media(max-width:600px) { #jukebox .shelf { grid-auto-columns:42%; gap:6%; } }

.direct-contact a { color:var(--ink); text-decoration:underline; text-underline-offset:.22em; line-height:1.9; }
.direct-contact a:hover { color:var(--accent); }
