/* Interaction and service layer. The underlying artwork is always preserved. */
.site-nav { gap: 22px; }
.language-switch { display: flex; align-items: center; gap: 5px; font-size: 10px; }
.language-switch button { padding: 10px 5px; color: var(--muted); background: none; }
.language-switch button[aria-pressed="true"] { color: var(--paper); border-bottom: 1px solid var(--accent); }
.language-switch > span { color: #686b60; }
.hero { isolation: isolate; }
.hero-motion-backdrop { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #111210; }
.hero-motion-backdrop video { width: 100%; height: 100%; object-fit: cover; opacity: .26; filter: saturate(.7); }
.hero-motion-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #111210f5 0%, #111210c4 38%, #11121045 76%, #11121070), linear-gradient(0deg, #111210 0%, transparent 28%, #11121035 80%); }
.hero-layout { gap: 34px; padding-top: 64px; padding-bottom: 70px; }
.hero-bottom { position: relative; gap: 20px; }
.hero-motion-control { display: flex; align-items: center; gap: 12px; }
.hero-motion-control > span { font-size: 7px; }
.hero-motion-control button { background: #11121090; border: 1px solid #63675a; color: var(--paper); padding: 9px 12px; font-size: 9px; }
.cover-deck.hero-art { display: block; aspect-ratio: auto; margin: 25px auto 0; min-width: 0; width: 100%; max-width: 480px; }
.stack-stage { position: relative; width: 100%; aspect-ratio: 1; touch-action: pan-y pinch-zoom; user-select: none; }
.stack-card { position: absolute; inset: 4% 7% auto; width: 86%; padding: 0; background: var(--paper); box-shadow: 0 20px 60px #0007; opacity: 0; transform: scale(.83); pointer-events: none; transition: transform .58s var(--ease), opacity .36s var(--ease), box-shadow .35s; will-change: transform; }
.stack-card img { width: 100%; aspect-ratio: 1; object-fit: cover; pointer-events: none; }
.stack-card[data-slot="0"] { z-index: 4; opacity: 1; pointer-events: auto; transform: translateX(var(--drag-x, 0px)) rotate(calc(4deg + var(--drag-angle, 0deg))); cursor: grab; }
.stack-card[data-slot="0"]:focus-visible { outline-offset: 7px; }
.stack-card[data-slot="1"] { z-index: 3; opacity: 1; transform: translate(-5%, -4%) rotate(-10deg) scale(.95); }
.stack-card[data-slot="2"] { z-index: 2; opacity: 1; transform: translate(6%, 5%) rotate(12deg) scale(.91); }
.stack-card.is-dragging { transition: none; cursor: grabbing; }
.cover-deck .art-stamp { width: 87px; height: 87px; right: -1%; top: 62%; bottom: auto; font-size: 23px; z-index: 6; pointer-events: none; }
.deck-controls { display: flex; align-items: center; gap: 15px; margin: 31px auto 0; width: 92%; }
.deck-controls > button { width: 42px; height: 42px; background: #11121070; border: 1px solid #66695d; font-size: 20px; flex-shrink: 0; transition: background .2s; }
.deck-controls > button:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
#deck-count { font-size: 9px; letter-spacing: .08em; font-variant-numeric: tabular-nums; min-width: 48px; }
.deck-dots { display: flex; align-items: center; justify-content: center; flex: 1; }
.deck-dots button { width: 26px; height: 40px; padding: 9px; background: none; }
.deck-dots span { display: block; width: 6px; height: 6px; border-radius: 50%; background: #73776a; transition: transform .2s, background .2s; }
.deck-dots [aria-pressed="true"] span { background: var(--accent); transform: scale(1.45); }
.deck-caption { display: flex; gap: 8px; justify-content: space-between; align-items: flex-start; width: 92%; margin: 14px auto 0; font-size: 8px; color: var(--muted); }
.deck-caption > a { max-width: 65%; color: var(--paper); }
.deck-caption > span { max-width: 100px; text-align: right; }
.hero-copy { animation: heroCopyIn .85s var(--ease) both; }
@keyframes heroCopyIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.project-card { perspective: 1000px; animation: none; }
.cover-preview { transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .2s ease-out, box-shadow .3s; }
@media (hover:hover) and (pointer:fine) { .cover-preview:hover { box-shadow: 0 14px 28px #0002; } }
.reveal { opacity: 0; transform: translateY(19px); transition: opacity .65s var(--ease), transform .65s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.spotify-section { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spotify-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.spotify-layout h2 { font: 800 clamp(46px, 5vw, 68px)/1 var(--display); margin: 24px 0; }
.spotify-layout h2 em { color: var(--accent-blue); font-style: normal; }
.spotify-layout > div > p:not(.eyebrow) { font-size: 13px; max-width: 340px; color: var(--muted); }
.spotify-layout .text-link { margin-top: 24px; }
.spotify-player { border-radius: 12px; overflow: hidden; isolation: isolate; clip-path: inset(0 round 12px); min-width: 0; min-height: 352px; background: var(--ink); box-shadow: 0 20px 70px #0004; }
.spotify-player iframe { display: block; width: 100%; height: 352px; border: 0; border-radius: inherit; background: transparent; }
.about-behance { margin-left: 20px; }
.contact-form-column { min-width: 0; }
.contact-socials { display: flex; gap: 23px; flex-wrap: wrap; margin-top: 16px; }
.service-options { display: grid; grid-template-columns: 1fr 1fr 1fr; }
#brief-form .service-options label { display: block; }
.service-options span { display: flex; flex-direction: column; gap: 7px; height: 100%; font-size: 9px; padding: 12px 9px; }
.service-options strong { display: block; font-weight: 600; }
#brief-form .btn > #brief-submit-label { font-size: 12px; opacity: 1; }
.dialog-details > .text-link { margin-top: 18px; font-size: 10px; }
.project-heading { padding-top: 45px; }
.project-back { font-size: 11px; color: var(--muted); display: inline-block; margin-bottom: 38px; }
.project-heading h1 { font-size: clamp(52px, 7vw, 101px); max-width: 1100px; overflow-wrap: anywhere; }
.project-byline { font-size: 16px; margin-top: 23px; }
.project-byline > span { color: var(--muted); margin-left: 15px; font-size: 12px; }
.project-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 65px; align-items: start; }
.project-gallery { display: grid; gap: 40px; min-width: 0; }
.project-gallery figure { margin: 0; }
.project-gallery button { display: block; width: 100%; padding: 0; background: #060705; }
.project-gallery img { width: 100%; height: auto; }
.project-gallery figcaption { margin-top: 12px; color: var(--muted); font-size: 9px; }
.project-film { width: 100%; max-height: 82svh; background: #000; }
.project-notes { position: sticky; top: 32px; min-width: 0; }
.project-summary { font: 600 31px/1.2 var(--display); margin-top: 20px; }
.project-notes dl { margin: 30px 0; }
.project-notes dl > div { display: flex; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); padding: 11px 0; font-size: 11px; }
.project-notes dt { color: var(--muted); }
.project-notes dd { text-align: right; margin: 0; }
.project-notes details { font-size: 10px; color: var(--muted); }
.project-notes summary { cursor: pointer; color: var(--paper); padding: 8px 0; }
.source-caption { white-space: pre-line; overflow-wrap: anywhere; margin-top: 12px; max-height: 250px; overflow: auto; }
.project-notes > .text-link { display: flex; width: max-content; margin: 22px 0 30px; }
.project-bundle-link { display: block; margin-top: 18px; color: var(--accent); font-size: 11px; }
.project-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-block: 0 70px; }
.project-pagination > a { padding: 24px 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.project-pagination > a:last-child { text-align: right; }
.project-pagination small { color: var(--muted); font-size: 10px; }
.project-pagination span { font: 600 27px/1.2 var(--display); overflow-wrap: anywhere; }
html[lang="ro"] .hero h1 { font-size: clamp(64px, 7.5vw, 112px); }
@media (max-width:1100px) {
  .site-nav { gap: 14px; }
  .site-nav .nav-contact { gap: 12px; padding: 10px 12px; }
  .hero-layout { gap: 22px; }
  .deck-controls { gap: 9px; }
  .deck-dots button { width: 22px; padding: 8px; }
  .spotify-layout { gap: 40px; }
  .project-layout { gap: 40px; }
}
@media (max-width:900px) {
  .site-header { gap: 12px; }
  .brand small { display: none; }
  .brand { gap: 8px; }
  .brand > span { font-size: 10px; }
  .site-nav { font-size: 10px; gap: 12px; }
  .site-nav .nav-contact { padding: 8px 10px; }
  .deck-controls { width: 100%; gap: 8px; }
  .deck-controls > button { width: 35px; height: 38px; }
  .deck-dots button { width: 20px; padding: 7px; }
  .deck-caption { width: 100%; }
  .hero-motion-control > span { display: none; }
}
@media (max-width:680px) {
  .brand small { display: block; }
  .brand > span { font-size: 12px; }
  .site-nav { font-size: 22px; gap: 7px; }
  .site-nav .nav-contact { padding: 14px; }
  .language-switch { margin-top: 12px; font-size: 13px; }
  .language-switch button { min-width: 44px; padding-block: 12px; }
  .hero-layout { padding-top: 40px; padding-bottom: 34px; gap: 35px; }
  .hero-motion-backdrop video { opacity: .18; }
  .cover-deck.hero-art { width: 90%; max-width: 390px; margin: 20px auto 0; }
  .cover-deck .art-stamp { width: 76px; height: 76px; font-size: 21px; top: 56%; }
  .deck-controls { margin-top: 29px; gap: 10px; }
  .deck-controls > button { width: 44px; height: 44px; }
  .deck-dots button { width: 25px; height: 44px; padding: 9px; }
  .deck-caption { font-size: 8px; margin-top: 11px; }
  .hero-bottom { display: grid; grid-template-columns: 1fr auto; gap: 13px; }
  .hero-bottom > span { grid-column: 1/-1; }
  .hero-motion-control { order: 2; }
  .hero-bottom > a { order: 1; }
  .hero-motion-control button { padding: 8px 11px; font-size: 8px; }
  .spotify-layout { grid-template-columns: 1fr; gap: 35px; }
  .spotify-layout h2 { font-size: 55px; }
  .spotify-layout > div > p:not(.eyebrow) { font-size: 12px; }
  .spotify-layout .text-link { margin-top: 16px; }
  .about-behance { margin-left: 0; margin-top: 20px; display: flex; width: max-content; }
  .contact-layout { gap: 35px; }
  .contact-socials { margin-top: 10px; }
  .service-options span { padding: 11px 8px; font-size: 8px; }
  .service-options strong { font-size: 9px; }
  .project-heading { padding-top: 30px; }
  .project-back { margin-bottom: 30px; font-size: 10px; }
  .project-heading h1 { font-size: 57px; }
  .project-byline { font-size: 14px; }
  .project-content { padding-top: 35px; }
  .project-layout { grid-template-columns: 1fr; gap: 40px; }
  .project-notes { position: static; }
  .project-summary { font-size: 33px; }
  .project-pagination { margin-bottom: 45px; }
  .project-pagination span { font-size: 22px; }
  .project-pagination small { font-size: 8px; }
  html[lang="ro"] .hero h1 { font-size: clamp(61px, 14vw, 96px); }
  html[lang="ro"] .hero-actions { gap: 18px; }
}
@media (max-width:370px) {
  .cover-deck.hero-art { width: 94%; }
  .deck-controls { gap: 6px; }
  .deck-controls > button { width: 36px; }
  .deck-dots button { width: 21px; padding: 7px; }
  .deck-caption > a { max-width: 58%; }
  .service-options { grid-template-columns: 1fr; }
  .service-options span { flex-direction: row; justify-content: space-between; font-size: 10px; }
  .project-heading h1 { font-size: 47px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .cover-preview { transform: none; }
  .stack-card, .hero-copy { animation: none; transition: none; }
}

/* Dark foundation from style.css, with purple and light-blue accents. */
:root {
  --accent: #a78bfa;
  --accent-hover: #bda6ff;
  --accent-blue: #9dceff;
}
html { background: var(--ink); color-scheme: dark; }
body { overflow-x: hidden; }
img { user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.btn-accent:hover { background: var(--accent-hover); }
/* Deeper purple keeps small links legible on the original paper panels. */
.section-paper, .brief-panel { --accent: #6941b5; --accent-hover: #7952c7; color-scheme: light; }
.section-paper .btn-accent, .brief-panel .btn-accent { color: var(--paper); }

/* Square sleeves and in-flow captions keep the deck clear of the hero footer. */
.stack-stage { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; aspect-ratio: auto; padding: 24px 7% 0; overflow: visible; }
.stack-card { position: relative; inset: auto; grid-area: 1 / 1; justify-self: center; align-self: start; width: 100%; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 55px #0007; }
.stack-artwork { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--ink-2); }
.stack-card img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.stack-card .sleeve-label { min-height: 42px; padding: 12px 11px; background: var(--paper); color: var(--ink); }
.stack-card[data-slot="0"] { transform: translateX(var(--drag-x, 0px)) translateY(var(--lift-y, 0px)) rotate(var(--rest-angle, 3deg)); }
.stack-card[data-slot="0"]:hover, .stack-card[data-slot="0"]:focus-visible { --rest-angle: 0deg; --lift-y: -10px; box-shadow: 0 34px 68px #0009; }
.stack-card[data-slot="1"] { transform: translate(-5%, -4%) rotate(-8deg) scale(.95); }
.stack-card[data-slot="2"] { transform: translate(6%, 5%) rotate(9deg) scale(.91); }
.stack-card[data-slot="3"], .stack-card[data-slot="4"], .stack-card[data-slot="5"] { transform: translate(0, 0) rotate(0) scale(.87); }
.stack-card.is-dragging { transition: none; }
.cover-deck .art-stamp { background: var(--accent); color: var(--ink); box-shadow: 0 14px 28px #0005; }

/* Local collections share the original dark surfaces. */
.designer-focus { background: var(--ink-2); }
.service-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service-card { min-height: 270px; padding: 23px; display: flex; flex-direction: column; justify-content: space-between; color: var(--paper); border: 1px solid var(--line); background: var(--ink); transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.service-card:hover { transform: translateY(-7px); background: #211d2b; border-color: var(--accent); box-shadow: 0 20px 38px #0004; }
.service-card-number { font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.service-card h3 { font: 800 clamp(30px, 3.3vw, 48px)/.95 var(--display); letter-spacing: -.02em; }
.service-card h3 span, .service-card-link { color: var(--accent); }
.service-card p { max-width: 220px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.service-card-link { font-size: 10px; border-top: 1px solid var(--line); padding-top: 13px; }
.service-card--posters .service-card-number, .service-card--logos .service-card-number { color: var(--accent-blue); }
.poster-intro, .panel-note { color: var(--muted); }
.design-archive { background: var(--ink); }
.design-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.design-panel { min-height: 450px; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; }
.design-panel-art { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; position: relative; overflow: hidden; }
.design-panel-art > span:not(.shirt-shape) { font: 800 32px/.93 var(--display); letter-spacing: .02em; }
.design-panel-art > b { align-self: flex-end; font: 800 39px/.86 var(--display); text-align: right; }
.design-panel-copy { padding: 29px 25px; display: flex; flex-direction: column; justify-content: flex-end; }
.design-panel-copy h2 { font: 800 clamp(38px, 4.5vw, 64px)/.9 var(--display); margin: 14px 0; }
.design-panel-copy h2 span { color: var(--accent); }
.design-panel-copy p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.7; }
.panel-note { margin-top: 28px; font-size: 9px; line-height: 1.6; }
.panel-note code, .poster-intro code { font: inherit; color: var(--paper); background: #28232f; padding: 3px 5px; }
.design-panel--posters .design-panel-art { background: linear-gradient(145deg, #251a43, #392461 48%, #223449); color: var(--paper); transform-origin: center; }
.design-panel--posters .design-panel-art::before { content: ''; position: absolute; inset: 18% -20% 15% 22%; border: 2px solid #a78bfa88; transform: rotate(-16deg); }
.design-panel--drawings .design-panel-art { background: var(--ink); color: var(--accent); }
.design-panel--drawings .design-panel-art::before, .design-panel--drawings .design-panel-art::after { content: ''; position: absolute; border: 1px solid #d2c8ff88; border-radius: 50%; }
.design-panel--drawings .design-panel-art::before { width: 190px; height: 190px; right: -44px; top: 45px; }
.design-panel--drawings .design-panel-art::after { width: 120px; height: 120px; left: -30px; bottom: 40px; }
.design-panel--logos .design-panel-art { background: #151c25; color: var(--accent-blue); align-items: center; }
.design-panel--logos .design-panel-art img { width: 130px; height: 130px; object-fit: contain; }
.design-panel--logos .design-panel-art > span { font-size: 23px; text-align: center; align-self: flex-start; }
.design-panel--shirts .design-panel-art { background: #211a2a; color: var(--paper); align-items: center; }
.shirt-shape { width: 150px; height: 180px; background: var(--accent); clip-path: polygon(23% 0, 39% 10%, 61% 10%, 77% 0, 100% 20%, 79% 43%, 76% 100%, 24% 100%, 21% 43%, 0 20%); filter: drop-shadow(12px 14px 0 #0003); }
.design-panel--shirts .design-panel-art > b { position: absolute; right: 23px; bottom: 24px; }
.feed-empty, .reel-empty { padding: 70px 30px; text-align: center; border: 1px dashed var(--line); }
.feed-empty h2, .reel-empty h2 { font: 800 clamp(37px, 5vw, 62px)/.95 var(--display); margin: 15px 0 9px; }
.feed-empty p:not(.eyebrow), .reel-empty p:not(.eyebrow) { color: var(--muted); font-size: 12px; }
.local-cover-card .cover-preview { aspect-ratio: 1; }
.poster-section { background: var(--ink); min-height: 640px; }
.poster-intro { display: flex; justify-content: space-between; gap: 35px; align-items: flex-end; max-width: 900px; margin-bottom: 30px; }
.poster-intro p:last-child { max-width: 390px; font-size: 12px; }
.poster-viewer { display: grid; gap: 24px; }
.poster-main { background: var(--ink-2); border: 1px solid var(--line); padding: clamp(18px, 3vw, 40px); min-height: 510px; }
.poster-hero-card { margin: 0 auto; max-width: 780px; }
.poster-image-frame { position: relative; margin: 0 auto; width: min(100%, 690px); aspect-ratio: 4 / 5; max-height: 72svh; background: #090a09; overflow: hidden; box-shadow: 0 25px 60px #0005; }
.poster-image-frame img { width: 100%; height: 100%; object-fit: contain; }
.poster-image-frame .card-badge { z-index: 1; }
.poster-hero-card figcaption { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; padding-top: 16px; color: var(--paper); }
.poster-hero-card figcaption strong { font: 700 clamp(23px, 3vw, 37px)/1 var(--display); overflow-wrap: anywhere; }
.poster-index { font-size: 9px; letter-spacing: .1em; color: var(--muted); }
.poster-strip { display: flex; gap: 13px; overflow-x: auto; padding: 4px 3px 16px; scrollbar-color: var(--accent) transparent; }
.poster-thumb { flex: 0 0 clamp(112px, 13vw, 165px); padding: 0; text-align: left; background: var(--ink-2); color: var(--paper); border: 1px solid var(--line); transition: transform .2s, border-color .2s, background .2s; }
.poster-thumb:hover, .poster-thumb.is-active { transform: translateY(-5px); border-color: var(--accent); background: #292134; }
.poster-thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #090a09; }
.poster-thumb span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 9px 10px 11px; font-size: 9px; }
@media (max-width: 1050px) { .service-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .design-panel { min-height: 400px; } }
@media (max-width: 700px) {
  .stack-stage { padding-inline: 4%; }
  .cover-deck.hero-art { width: 92%; }
  .service-card-grid, .design-panels { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .design-panel { grid-template-columns: 1fr 1fr; min-height: 350px; }
  .design-panel-art { padding: 18px; }
  .design-panel-art > span:not(.shirt-shape) { font-size: 27px; }
  .design-panel-art > b { font-size: 30px; }
  .design-panel-copy { padding: 20px 17px; }
  .design-panel-copy h2 { font-size: 40px; }
  .design-panel-copy p:not(.eyebrow) { font-size: 10px; }
  .poster-intro { display: block; }
  .poster-intro p:last-child { margin-top: 13px; }
  .poster-main { min-height: 430px; padding: 14px; }
  .poster-hero-card figcaption { grid-template-columns: 1fr; gap: 7px; }
}
