/* goranjorganovich.com - complete stylesheet (rewritten 2026-11 to match the 2021 site 1:1) */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/montserrat.woff2) format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/roboto-700.woff2) format('woff2'); }
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/roboto-condensed-700.woff2) format('woff2'); }

/* ── Base ─────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; outline: none; }
[hidden] { display: none !important; }
body, html { padding: 0; margin: 0; min-height: 100%; }
body { overflow-x: hidden; background: #000; font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 28px;
  font-weight: 500; color: #808080; opacity: 0; pointer-events: none; }
body.is-init { opacity: 1; }
body.is-loaded { pointer-events: auto; }
body.is-locked, body.is-loaded.is-locked, body.is-init.is-locked { pointer-events: none; }
body.has-spotlight:before { content: ''; position: fixed; left: 0; top: 0; width: 100vh; height: 100vh;
  background: radial-gradient(ellipse at left top, #28282E 0%, #000 70%); }

.menu-overlay, .home-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 177;
  background: rgba(0,0,0,0.85); pointer-events: none; opacity: 0; transition: opacity 0.6s; }
.home-overlay { z-index: 16; background: rgba(0,0,0,0.75); }
.menu-fade .menu-overlay, .is-faded .home-overlay { opacity: 1; }

/* ── Typography ───────────────────────────────────────────────────────── */
nav.mmenu ul.menu > li > a, .cursor-label, .slider-prev, .slider-next, .hlink span:last-child, .side-btn span:last-child,
h1, h2, h3, h4, h5, h6 { font-family: 'Roboto', sans-serif; font-weight: 700; color: #fff; text-transform: uppercase; }
.aitem-explore a span, .hlink span:first-child, label, .side-btn span:first-child,
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span { display: block; color: #5C5C60; font-family: 'Montserrat', sans-serif;
  font-weight: 700; text-transform: uppercase; }
h1 { font-size: 60px; line-height: 65px; margin: 0 0 34px 0; }
h1 span { font-size: 16px; line-height: 19px; margin: 0 0 -2px 0; }
.aitem-explore, .hlink span:last-child, .side-btn span:last-child, h2 { font-size: 50px; line-height: 55px; margin: 0 0 28px 0; }
.aitem-explore span, .hlink span:first-child, .side-btn span:first-child, h2 span { font-size: 14px; line-height: 18px; margin: 0 0 -3px 0; }
.slider-prev, .slider-next { font-size: 30px; line-height: 35px; margin: 0 0 20px 0; }
h5 { font-size: 24px; line-height: 29px; margin: 0 0 18px 0; }
.col h1:last-child, .col h2:last-child { margin: 0; }
p { margin: 0 0 28px 0; }
p:last-child { margin: 0; }
a { position: relative; }
a, a:hover, a:visited { text-decoration: none; color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a img, header#hdr a, .mtitle, .ptitle, .side { -webkit-touch-callout: none; user-select: none; }
.align-right { text-align: right; }
label { font-size: 12px; line-height: 16px; margin: 0 0 5px 0; }

/* ── Forms ────────────────────────────────────────────────────────────── */
input, textarea { display: block; width: 100%; height: 50px; color: #808080; background: rgba(0,0,0,0); border: 2px solid #313133;
  border-radius: 0; padding: 15px 20px; margin: 0 0 20px 0; font-family: 'Montserrat', sans-serif; font-weight: 500;
  font-size: 14px; line-height: 16px; transition: background 0.3s, border 0.3s; }
textarea { resize: none; line-height: 24px; height: 180px; }
input:hover, textarea:hover, input:focus, textarea:focus { background: rgba(0,0,0,0.5); border-color: #5C5C60; }
input::placeholder, textarea::placeholder { opacity: 1; color: #808080; }
.btn, button, input[type="submit"] { display: inline-block; width: auto; padding: 15px 40px; margin: 0; background: transparent;
  font-family: 'Roboto', sans-serif; font-weight: 700; color: #fff; text-transform: uppercase; font-size: 14px; line-height: 16px;
  cursor: pointer; border: 2px solid #313133; transition: background 0.3s, border 0.3s, color 0.3s; }
.btn:hover, button:hover, input[type="submit"]:hover { border-color: #fff; }

/* ── Layout ───────────────────────────────────────────────────────────── */
.row { display: flex; flex-direction: row; margin: 0 -20px; }
.row.small-gap { margin: 0 -10px; }
.col { margin: 0 20px; }
.row.small-gap .col { margin: 0 10px; }
.col.align-bottom { display: inline-flex; flex-direction: column; justify-content: flex-end; }
.col-12 { width: calc(100% - 40px); }
.col-8 { width: calc(66.66% - 40px); }
.col-6 { width: calc(50% - 40px); }
.col-4 { width: calc(33.33% - 40px); }
.row.small-gap .col-12 { width: calc(100% - 20px); }
.row.small-gap .col-8 { width: calc(66.66% - 20px); }
.row.small-gap .col-6 { width: calc(50% - 20px); }
.row.small-gap .col-4 { width: calc(33.33% - 20px); }
#home-works p.intro, section.sec { margin-bottom: 60px; display: block; width: 100%; }
.content section.sec:last-child { margin-bottom: 0; }
#home-about p.intro { margin-bottom: 60px; }
p.intro { max-width: 835px; text-align: center; display: block; margin: 0 auto 50px auto; }
p.intro:first-child:last-child { margin: 0 auto; }
.signature { padding: 20px 0 0 0; }
#home-about .col.align-bottom img { width: 100%; }
.mobile-only { display: none; }

/* ── Custom cursor ────────────────────────────────────────────────────── */
.cursor { position: fixed; left: 0; top: 0; width: 32px; height: 32px; z-index: 2020; pointer-events: none; transition: opacity 0.3s; }
.cursor.is-unloading, .cursor.is-inactive { opacity: 0; }
.cursor span { display: block; width: 32px; height: 32px; position: absolute; left: 0; top: 0; }
.cursor .cursor-circle { border: 2px solid rgba(255,255,255,0.3); border-radius: 50%;
  transition: transform 0.3s, border 0.3s, box-shadow 0.3s; box-shadow: 0 0 16px rgba(0,0,0,0.2); }
.cursor.int-grab-h .cursor-circle, .cursor.int-link .cursor-circle, .cursor.int-lightbox .cursor-circle {
  border-color: #fff; transform: scale(2); border-width: 1px; box-shadow: 0 0 16px rgba(0,0,0,0.5); }
.cursor.int-grab-h:not(.int-link) .cursor-circle { transform: scale(1.5); }
.cursor.int-grab-h.int-lightbox .cursor-circle { transform: scale(2); }
.cursor .cursor-label { font-size: 12px; line-height: 14px; left: 100%; top: 100%; width: auto; height: auto; transform-origin: 0 0;
  opacity: 0; text-shadow: 0 0 14px rgba(0,0,0,0.5); transition: opacity 0.3s, transform 0.3s;
  transform: rotate(-90deg) translate(-3px, 10px); }
.cursor.int-lightbox .cursor-zoom { transform: rotate(-90deg) translate(-3px, 22px); opacity: 1; }
.cursor .cursor-slider { opacity: 0; transform: rotate(45deg); transition: opacity 0.3s, transform 0.3s; }
.cursor .cursor-slider:before, .cursor .cursor-slider:after { content: ''; position: absolute; top: 50%; width: 24px; height: 24px;
  background: #fff; transition: transform 0.3s; z-index: 5; filter: drop-shadow(0 0 7px rgba(0,0,0,0.5)); }
.cursor .cursor-slider:before { left: 0; transform: translate(-25px, -12px); -webkit-mask: var(--ic-left); mask: var(--ic-left); }
.cursor .cursor-slider:after { right: 0; transform: translate(25px, -12px); -webkit-mask: var(--ic-right); mask: var(--ic-right); }
.cursor.int-grab-h:not(.int-link) .cursor-slider { opacity: 1; transform: rotate(0deg); }
.cursor.int-grab-h:not(.int-link) .cursor-slider:before { transform: translate(-35px, -12px); }
.cursor.int-grab-h:not(.int-link) .cursor-slider:after { transform: translate(35px, -12px); }

/* LineAwesome glyphs (angle-left, angle-right, close, bars) as masks: 512 units = 1em, baseline at 448 */
:root {
  --ic-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath transform='matrix(1 0 0 -1 0 448)' d='M304.5 379.5l23 -23l-164.5 -164.5l164.5 -164.5l-23 -23l-176 176l-11 11.5l11 11.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  --ic-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath transform='matrix(1 0 0 -1 0 448)' d='M207.5 379.5l176 -176l11 -11.5l-11 -11.5l-176 -176l-23 23l164.5 164.5l-164.5 164.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  --ic-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath transform='matrix(1 0 0 -1 0 448)' d='M115.5 355.5l140.5 -140.5l140.5 140.5l23 -23l-140.5 -140.5l140.5 -140.5l-23 -23l-140.5 140.5l-140.5 -140.5l-23 23l140.5 140.5l-140.5 140.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  --ic-bars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath transform='matrix(1 0 0 -1 0 448)' d='M64 336h384v-32h-384v32zM64 208h384v-32h-384v32zM64 80h384v-32h-384v32z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── Header + nav ─────────────────────────────────────────────────────── */
header#hdr { position: fixed; left: 0; top: 0; width: 100%; z-index: 221; transition: z-index 0.5s, transform 0.5s; }
.hdr-inner { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 50px 80px 50px 50px; }
.logo { display: block; width: 64px; height: 55px; }
.logo img { display: block; width: 100%; height: auto; }
.nav-block { display: flex; flex-direction: row; }
nav.nav ul { padding: 0; margin: 0; display: flex; flex-direction: row; }
nav.nav ul li { display: block; position: relative; padding: 0; margin: 0 0 0 50px; list-style: none; }
nav.nav ul li a { transition: color 0.3s; color: rgba(255,255,255,0.5); font-size: 16px; line-height: 29px;
  font-family: 'Montserrat', sans-serif; font-weight: 500; text-transform: uppercase; display: block; }
nav.nav ul li:hover > a { color: #fff; }
.mhdr, nav.mmenu, .mtitle { display: none; }

/* ── Content (smooth scroll pages) ────────────────────────────────────── */
.cwrap { position: relative; z-index: 5; display: flex; flex-direction: column; justify-content: center; transition: transform 0.5s; }
.smooth .cwrap { position: fixed; width: 100%; height: 100%; left: 0; top: 0; z-index: 5; display: block; }
.content { width: calc(100% - 374px); max-width: 1280px; margin: auto; min-height: 100%; padding-top: 50px; padding-bottom: 90px; }
.cscroll.is-centered .content { display: flex; flex-direction: column; justify-content: center; }

/* ── Vertical page title (left) ───────────────────────────────────────── */
.ptitle { position: fixed; top: 0; left: 136px; width: 100vh; display: flex; justify-content: center; transform-origin: 0% 0%;
  transform: rotate(-90deg); transition: transform 0.5s; z-index: 3; cursor: default; pointer-events: none; }
.mtitle:before, .ptitle:before { content: ''; width: 100%; height: 1px; background: rgba(255,255,255,0.15); position: absolute; left: 0; top: 23px; }
.mtitle h1, .ptitle h1 { display: block; padding-left: 100px; margin: 0; color: rgba(255,255,255,0.5); font-family: 'Roboto Condensed', sans-serif;
  transition: padding 0.5s, opacity 0.5s; opacity: 0; }
.mtitle h1 span, .ptitle h1 span { display: block; margin: 0 0 3px 0; transform: translateX(-100px); transition: transform 0.5s, opacity 0.5s; }
.mtitle h1, .ptitle.is-loaded h1 { opacity: 1; padding-left: 50px; }
.mtitle h1 span, .ptitle.is-loaded h1 span { transform: translateX(-50px); }
.mtitle { position: relative; width: 100%; text-align: center; }
.mtitle h1 { padding: 0; text-align: center; }
.mtitle:before { width: 200vw; left: 50%; top: 19px; transform: translateX(-50%); }
.mtitle h1 span { margin-bottom: 7px; }

/* ── Vertical side button (right): Back to top / Return back ─────────── */
.side { position: fixed; top: 200%; left: calc(100vw - 182px); width: 100vh; display: flex; justify-content: flex-start; transform-origin: 0% 0%;
  transform: rotate(-90deg); z-index: 15; cursor: default; text-align: right; padding-left: 100px; }
.side:before { content: ''; width: 100%; height: 1px; background: rgba(255,255,255,0.15); position: absolute; left: 0; top: 21px; }
.side .side-btn { padding-right: 25px; cursor: pointer; pointer-events: none; }
.side-btn span { display: block; transition: transform 0.5s, color 0.5s; }
.side .side-btn span:first-child { margin: 0 0 3px 0; transform: translateX(65px); color: rgba(92,92,96,0); }
.side .side-btn span:last-child { margin: 0; color: rgba(255,255,255,0); transform: translateX(-40px); }
.side.is-loaded .side-btn:not(.is-to-top), .has-to-top .side.is-loaded .side-btn.is-to-top { pointer-events: auto; }
.side.is-loaded .side-btn:not(.is-to-top) span:first-child, .has-to-top .side.is-loaded .side-btn.is-to-top span:first-child {
  color: rgba(92,92,96,1); transform: translateX(25px); }
.side.is-loaded .side-btn:not(.is-to-top) span:last-child, .has-to-top .side.is-loaded .side-btn.is-to-top span:last-child {
  color: rgba(255,255,255,0.5); transform: translateX(0px); }
.side.is-loaded .side-btn:hover span:first-child { transform: translateX(15px); }
.side.is-loaded .side-btn:hover span:last-child { transform: translateX(10px); color: #fff; }
.side .side-btn.in-action, .has-to-top .side .side-btn.in-action, body:not(.has-to-top) .side .side-btn.is-to-top { pointer-events: none; }
body:not(.has-to-top) .side .side-btn.is-to-top span:first-child, .side .side-btn.in-action span:first-child {
  transform: translateX(-35px); color: rgba(92,92,96,0); }
body:not(.has-to-top) .side .side-btn.is-to-top span:last-child, .side .side-btn.in-action span:last-child {
  color: rgba(255,255,255,0); transform: translateX(60px); }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer#ftr { position: relative; z-index: 5; transition: opacity 0.5s; }
.content-shown footer#ftr { opacity: 0; }
.page-gallery footer#ftr, .page-home footer#ftr { position: fixed; left: 0; bottom: 0; width: 100%; z-index: 101; }
.ftr-inner { display: flex; flex-direction: row; justify-content: space-between; color: rgba(255,255,255,0.5); font-size: 12px; line-height: 1;
  font-weight: 700; font-family: 'Roboto', sans-serif; letter-spacing: 0.6px; padding: 25px 50px 26px 50px; }
.ftr-inner a { transition: color 0.3s; color: rgba(255,255,255,0.5); }
.ftr-inner a:hover { color: #fff; }
.ftr-inner ul { padding: 0; margin: 0; display: flex; flex-direction: row; }
.ftr-inner ul li { padding: 0; margin: 0 40px 0 0; list-style: none; }
.ftr-inner ul li:last-child { margin: 0; }
.copyright { text-transform: uppercase; cursor: default; }

/* ── Page backgrounds + Ken Burns ─────────────────────────────────────── */
.pbg { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: no-repeat center; background-size: cover; }
.home-bg { opacity: 0.75; transition: left 0.5s; }
.kb { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.kb > div { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: no-repeat center; background-size: cover; opacity: 0; }
.kb > div.is-active { opacity: 1; }

/* ── Home: the two vertical links and their panels ────────────────────── */
.page-home .home-panel { opacity: 0; pointer-events: none; }
.page-home .home-panel.is-open { pointer-events: auto; }
.page-home .content { opacity: 0; }
#home-works section.sec { padding-bottom: 63px; }
.hlink-wrap { position: fixed; top: 100%; left: calc(100vw - 182px); width: 100vh; display: flex; justify-content: flex-start;
  transform-origin: 0% 0%; transform: rotate(-90deg); z-index: 15; cursor: default; text-align: right; padding-left: 100px; }
.is-faded .hlink-wrap:hover { z-index: 25; }
.hlink-wrap:before { content: ''; width: 100%; height: 1px; background: rgba(255,255,255,0.15); position: absolute; left: 0; top: 21px; }
.hlink--works.hlink-wrap { left: calc(33.33% - 21px); text-align: center; padding: 0; top: 0; }
.hlink--works.hlink-wrap .hlink { margin: 0 auto; }
.hlink--works span:first-child { text-align: left; }
.hlink--about.hlink-wrap { left: calc(66.66% + 21px); text-align: left; top: 200%; }
.hlink--about span:first-child { text-align: right; }
body.is-loaded .hlink-wrap { transition: transform 0.5s, z-index 0.6s; }
.hlink { cursor: pointer; pointer-events: none; }
.hlink span { display: block; transition: transform 0.5s, color 0.5s; }
.hlink-wrap span:last-child { font-family: 'Roboto Condensed', sans-serif; }
.hlink--works span:first-child { margin: 0 0 3px 0; transform: translateX(-100px); color: rgba(255,255,255,0); }
.hlink--works span:last-child { margin: 0; color: rgba(255,255,255,0); transform: translateX(50px); }
.hlink--about span:first-child { margin: 0 0 3px 0; transform: translateX(100px); color: rgba(255,255,255,0); }
.hlink--about span:last-child { margin: 0; color: rgba(255,255,255,0); transform: translateX(-50px); }
.hlink-wrap.is-loaded:not(.is-inactive) .hlink { pointer-events: auto; }
.hlink--works.is-loaded:not(.is-inactive) span:first-child { color: rgba(255,255,255,0.6); transform: translateX(-50px); }
.hlink--works.is-loaded:not(.is-inactive) span:last-child { color: rgba(255,255,255,0.5); transform: translateX(0px); }
.hlink--about.is-loaded:not(.is-inactive) span:first-child { color: rgba(255,255,255,0.6); transform: translateX(50px); }
.hlink--about.is-loaded:not(.is-inactive) span:last-child { color: rgba(255,255,255,0.5); transform: translateX(0px); }
.hlink--works.is-loaded:not(.is-inactive) .hlink:hover span:first-child { transform: translateX(-40px); color: rgba(255,255,255,0.8); }
.hlink--works.is-loaded:not(.is-inactive) .hlink:hover span:last-child { transform: translateX(-10px); color: #fff; }
.hlink--about.is-loaded:not(.is-inactive) .hlink:hover span:first-child { color: rgba(255,255,255,0.8); transform: translateX(40px); }
.hlink--about.is-loaded:not(.is-inactive) .hlink:hover span:last-child { transform: translateX(10px); color: #fff; }

/* ── Grids (home works, album masonry) ────────────────────────────────── */
.grid { margin: -20px; display: flex; flex-wrap: wrap; }
.grid .grid-item { margin: 20px; width: calc(33.33% - 40px); }
.grid.is-masonry { display: block; position: relative; }
.grid.is-masonry .grid-item { position: absolute; }
.witem { position: relative; overflow: hidden; }
.witem img { width: 100%; height: auto; display: block; transition: transform 0.5s; }
.witem:hover img { transform: scale(1.05); }
a.lb { display: block; overflow: hidden; }
a.lb img { transition: transform 0.3s, opacity 0.5s; }
a.lb:hover img { transform: scale(1.05); }
img.lazy { opacity: 0; }
img.lazy.is-loaded { opacity: 1; transition: transform 0.3s, opacity 0.5s; }

/* ── Album slider (gallery) ───────────────────────────────────────────── */
.page-gallery { overflow: hidden; }
.page-gallery .aslider-wrap { position: fixed; left: 0; top: 0; overflow: hidden; transition: transform 0.5s; width: 100%; height: 100%; }
.aslider { white-space: nowrap; cursor: grab; font-size: 0; line-height: 0; position: absolute; left: 0; top: 0; min-width: 100%; height: 100%; }
.aitem { display: inline-block; vertical-align: top; width: 100vw; height: 100vh; position: relative; overflow: hidden; }
.aitem-img { background: no-repeat center; background-size: cover; position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.75; }
.aitem-explore, .aitem-title { position: absolute; top: 100%; width: 100vh; display: flex; justify-content: center; transform-origin: 0% 0%;
  transform: rotate(-90deg); transition: left 1s, opacity 0.5s; z-index: 3; cursor: default; pointer-events: none; opacity: 1; }
.aitem-title { top: 0; left: 136px; }
.aitem-explore { left: calc(100vw - 182px); justify-content: flex-start; padding-left: 180px; pointer-events: auto; top: 200%; }
.is-copy .aitem-title, .is-copy .aitem-explore { top: 100%; }
.aitem-explore:before, .aitem-title:before { content: ''; width: 100%; height: 1px; background: rgba(255,255,255,0.1); position: absolute; left: 0; top: 22px; }
.aitem-explore a, .aitem-title h2 { display: block; margin: 0; color: #fff; font-family: 'Roboto Condensed', sans-serif; padding-left: 100px;
  opacity: 0; text-shadow: 0 5px 10px rgba(0,0,0,0.1); transition: opacity 0.5s, padding 0.5s; white-space: nowrap; }
.aitem-explore.is-loaded a, .aitem-title.is-loaded h2 { opacity: 0.5; padding-left: 50px; }
.aitem-explore a { display: inline-block; text-transform: uppercase; }
.aitem-explore a span, .aitem-title h2 span { display: block; margin: 0 0 3px 0; transform: translateX(-150px); opacity: 0.7; color: #fff; transition: transform 0.5s; }
.aitem-explore.is-loaded a span, .aitem-title.is-loaded h2 span { transform: translateX(-50px); }
.aitem-explore a:hover { opacity: 1; padding-left: 40px; }
.aitem-explore a:hover span { transform: translateX(-30px); }
.aitem-overlay { position: absolute; pointer-events: none; width: 33.33%; height: 100%; left: -1px; top: 0;
  background: linear-gradient(-90deg, rgba(0,0,0,0) 0%, #000 100%); opacity: 0.75; transition: opacity 1s; }
.slider-prev, .slider-next { position: absolute; bottom: 55px; transition: opacity 0.5s; opacity: 0; margin: 0; z-index: 15; text-shadow: 2px 3px 10px rgba(0,0,0,0.2); }
.slider-prev.is-loaded, .slider-next.is-loaded { opacity: 0.5; }
.slider-prev.is-loaded:hover, .slider-next.is-loaded:hover { opacity: 1; }
.slider-prev { left: 50px; }
.slider-next { right: 50px; }

.back-row { text-align: center; }
.back-row .btn { margin-top: 30px; }

/* ── Contact ──────────────────────────────────────────────────────────── */
.contact-intro { padding: 50px 0 56px 0; text-align: center; }
.contact-intro h5 { margin: 0; }
.contact-logo { padding: 10px 0 0 60px; text-align: center; }
.contact-logo img { margin: 0 auto; }
form.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; justify-content: flex-end; height: 70px; }
.form-msg.is-error { color: #cc4040; }
.form-error { color: #cc4040; font-size: 13px; line-height: 18px; margin: -14px 0 14px 0; }

/* ── Lightbox (PhotoSwipe 4 skin, as on the old site) ─────────────────── */
.pswp__button { width: 44px; height: 44px; position: relative; background: none; cursor: pointer; overflow: visible; -webkit-appearance: none;
  display: block; border: 0; padding: 0; margin: 0; float: right; opacity: 0.75; transition: opacity 0.2s; box-shadow: none; }
.pswp__button:focus, .pswp__button:hover { opacity: 1; border: 0; }
.pswp__button--arrow--left, .pswp__button--arrow--right { position: absolute; top: 50%; margin-top: -30px; width: 50px; height: 60px; opacity: 1 !important; }
.pswp__button--arrow--left { left: 0; }
.pswp__button--arrow--right { right: 0; }
.pswp__button--close:before, .pswp__button--arrow--left:before, .pswp__button--arrow--right:before { content: ''; position: absolute;
  left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; background: rgba(255,255,255,0.5); transition: background 0.3s; }
.pswp__button--close:hover:before, .pswp__button--arrow--left:hover:before, .pswp__button--arrow--right:hover:before { background: #fff; }
.pswp__button--arrow--left:before { -webkit-mask: var(--ic-left); mask: var(--ic-left); }
.pswp__button--arrow--right:before { -webkit-mask: var(--ic-right); mask: var(--ic-right); }
.pswp__button--close:before { -webkit-mask: var(--ic-close); mask: var(--ic-close); }
.pswp__top-bar { position: absolute; left: 0; top: 0; height: 44px; width: 100%; padding: 12px 0 0 10px; }
.pswp__top-bar .pswp__button { width: 50px; height: 32px; opacity: 1 !important; margin-right: 5px; }
.pswp__counter, .pswp__share-modal, .pswp__caption { display: none; }
.pswp__preloader { width: 44px; height: 44px; position: absolute; left: 50%; margin-left: -22px; opacity: 0; transition: opacity 0.25s ease-out; direction: ltr; }
.pswp__preloader--active { opacity: 1; }
.pswp__preloader__icn { width: 14px; height: 14px; margin: 15px; }
.pswp__preloader--active .pswp__preloader__icn { animation: pswp-spin 0.5s linear infinite; }
.pswp__preloader__cut { position: relative; width: 7px; height: 14px; overflow: hidden; }
.pswp__preloader__donut { box-sizing: border-box; width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%;
  border-left-color: transparent; border-bottom-color: transparent; position: absolute; top: 0; left: 0; }
@keyframes pswp-spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
.pswp__ui { -webkit-font-smoothing: auto; visibility: visible; opacity: 1; z-index: 1550; }
.pswp__top-bar, .pswp__button--arrow--left, .pswp__button--arrow--right { backface-visibility: hidden; will-change: opacity; transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }
.pswp__ui--hidden .pswp__top-bar, .pswp__ui--hidden .pswp__button--arrow--left, .pswp__ui--hidden .pswp__button--arrow--right { opacity: 0.001; }
.pswp__ui--one-slide .pswp__button--arrow--left, .pswp__ui--one-slide .pswp__button--arrow--right { display: none; }
.pswp__element--disabled { display: none !important; }
.pswp--touch .pswp__button--arrow--left, .pswp--touch .pswp__button--arrow--right { visibility: hidden; }
img.pswp__img { border: 5px solid #000; box-shadow: 0 0 15px rgba(0,0,0,0.8); }
.pswp__item { pointer-events: none; }
.pswp__container, .pswp__zoom-wrap { pointer-events: auto; }

/* ── Responsive (same breakpoints as the 2021 theme) ──────────────────── */
@media only screen and (max-width: 1800px) {
  .content { width: calc(100% - 352px); }
  body:not(.page-gallery) .ptitle { left: 70px; }
  .side { left: calc(100% - 126px); }
  body:not(.page-gallery) .ptitle h1 { font-size: 50px; line-height: 55px; }
  body:not(.page-gallery) .ptitle h1 span { font-size: 14px; line-height: 18px; margin: 0 0 6px 0; }
}
@media only screen and (max-width: 1679px) {
  body:not(.page-gallery) .ptitle { left: 50px; }
}
@media only screen and (max-width: 1600px) {
  .content { width: calc(100% - 312px); }
  body:not(.page-gallery) .ptitle { left: 40px; }
  .side { left: calc(100% - 116px); }
}
@media only screen and (max-width: 1200px) {
  .content { width: calc(100% - 272px); }
  body:not(.page-gallery) .ptitle { left: 30px; }
  .side { left: calc(100% - 106px); }
}
@media only screen and (max-width: 960px) {
  .content { width: calc(100% - 176px); margin: auto 40px auto auto; }
  body.page-home .content { width: calc(100% - 280px); margin: auto; }
}
@media only screen and (max-width: 1440px) {
  body { font-size: 0.9em; }
  input, textarea { font-size: 13px; }
  .row { margin: 0 -15px; }
  .col { margin: 0 15px; }
  .col-12 { width: calc(100% - 30px); }
  .col-8 { width: calc(66.66% - 30px); }
  .col-6 { width: calc(50% - 30px); }
  .col-4 { width: calc(33.33% - 30px); }
  .content { padding-top: 50px; padding-bottom: 40px; }
  section.sec { margin-bottom: 100px; }
  .content section.sec:last-child { margin-bottom: 0; }
  p.intro { margin-bottom: 60px; }
  .ptitle.is-loaded h1 { padding-left: 30px; }
  .ptitle.is-loaded h1 span { transform: translateX(-30px); }
  .contact-intro { padding-top: 60px; }
  .contact-logo { padding-left: 48px; }
}
@media only screen and (max-width: 1200px) {
  .cursor { display: none; }
  .row { margin: 0 -10px; }
  .col { margin: 0 10px; }
  .col-12 { width: calc(100% - 20px); }
  .col-8 { width: calc(66.66% - 20px); }
  .col-6 { width: calc(50% - 20px); }
  .col-4 { width: calc(33.33% - 20px); }
  .grid { margin: -15px; }
  .grid .grid-item { margin: 15px; width: calc(33.33% - 30px); }
  nav.nav ul li { margin: 0 0 0 30px; }
  #home-about p.intro { margin-bottom: 50px; }
  #home-works p.intro, section.sec { margin-bottom: 100px; }
  .content section.sec:last-child { margin-bottom: 0; }
  h1 { font-size: 50px; line-height: 55px; margin: 0 0 35px 0; }
  h1 span { font-size: 14px; line-height: 18px; margin: 0; }
  .aitem-explore, .hlink span:last-child, .side-btn span:last-child, h2 { font-size: 35px; line-height: 40px; margin: 0 0 30px 0; }
  h2 span { font-size: 12px; line-height: 15px; margin: 0 0 1px 0; }
  h5 { font-size: 20px; line-height: 25px; margin: 0 0 25px 0; }
  .slider-prev, .slider-next { font-size: 30px; line-height: 35px; margin: 0; bottom: 60px; }
  .aitem-explore span { font-size: 12px; line-height: 15px; margin: 0 0 1px 0; }
  .aitem-explore:before, .aitem-title:before { top: 18px; }
}
@media only screen and (max-width: 960px) {
  .hide-on-tablet-port { display: none !important; }
  #home-works .grid .grid-item { width: calc(50% - 30px); }
  .row { flex-direction: column; margin: 0; }
  .row .col { margin: 0 0 30px 0; }
  .row .col:last-child { margin: 0; }
  .row .col-12, .row .col-8, .row .col-6, .row .col-4, .row.small-gap .col { width: 100%; margin-left: 0; margin-right: 0; }
  .hdr-inner { padding: 30px 40px; }
  #hdr .nav-block nav.nav { display: none; }
  #hdr .nav-block .mhdr { display: block; }
  .mhdr a { display: inline-block; width: 30px; height: 30px; position: relative; top: 1px; }
  .mmenu-btn:before { content: ''; display: block; width: 32px; height: 32px; margin-top: -1px; background: #fff; -webkit-mask: var(--ic-bars); mask: var(--ic-bars); }
  nav.mmenu { position: fixed; right: 0; top: 0; width: 384px; height: 100%; background: #000; display: block; z-index: 333;
    pointer-events: none; transform: translateX(100%); transition: transform 0.5s; }
  .mmenu-shown nav.mmenu { pointer-events: auto; transform: translateX(0); }
  .mmenu-shown .menu-overlay { opacity: 0.5; pointer-events: auto; }
  .mmenu-shown .ptitle { transform: rotate(-90deg) translateY(-192px); }
  body.is-locked.mmenu-shown nav.mmenu { pointer-events: none; }
  .mmenu-inner { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow-y: auto; display: flex; flex-direction: column;
    align-items: center; justify-content: flex-start; }
  .mmenu-content { max-width: 100%; padding: 40px; margin: auto 0; width: 100%; }
  nav.mmenu ul { padding: 0; margin: 0; }
  nav.mmenu ul li { padding: 0; margin: 0; list-style: none; }
  nav.mmenu ul.menu > li { padding-top: 10px; }
  nav.mmenu ul.menu li a { color: rgba(255,255,255,0.5); display: block; font-size: 24px; line-height: 29px; margin-bottom: 10px; }
  a.mmenu-close { position: fixed; right: 20px; top: 20px; width: 30px; height: 30px; z-index: 10; transition: opacity 0.3s; }
  body.is-locked a.mmenu-close { opacity: 0; }
  a.mmenu-close:before { content: ''; position: absolute; right: 0; top: 3px; width: 24px; height: 24px; background: #fff; -webkit-mask: var(--ic-close); mask: var(--ic-close); }
  .mmenu-shown.page-gallery .aslider-wrap, .mmenu-shown main.cwrap, .mmenu-shown header#hdr { pointer-events: none; transform: translateX(-192px); }
  .contact-form .row.small-gap { flex-direction: column; }
  .ftr-inner { padding-left: 40px; padding-right: 40px; }
  .slider-prev { left: 40px; }
  .slider-next { right: 40px; }
  .grid .grid-item { width: calc(50% - 30px); }
  .to-top { display: none; }
}
@media only screen and (max-width: 760px) {
  .mtitle { display: block; margin: 0 0 50px 0; }
  .hide-on-phone { display: none !important; }
  .mobile-only { display: block; }
  .row { flex-direction: column; margin: 0; }
  .col { margin: 0 0 30px 0; }
  .col:last-child { margin: 0; }
  .row.small-gap { margin: 0; }
  .row.small-gap .col { margin: 0 0 10px 0; }
  .row.small-gap .col:last-child { margin: 0; }
  #home-about p.intro, p.intro { margin-bottom: 40px; }
  #home-works p.intro, section.sec { margin-bottom: 80px; }
  .content section.sec:last-child { margin-bottom: 0; }
  .contact-intro { padding-top: 40px; }
  .col-12, .col-8, .col-6, .col-4 { width: 100%; }
  .col:empty { display: none; }
  .grid { margin: -15px 0; }
  .grid .grid-item, #home-works .grid .grid-item { margin: 15px 0; width: 100%; }
  h1 { font-size: 40px; line-height: 45px; margin: 0 0 45px 0; }
  h1 span { font-size: 12px; line-height: 16px; margin: 0; }
  .mtitle h1 span { margin: 0 0 6px 0; }
  h2 { font-size: 35px; line-height: 40px; margin: 0 0 40px 0; }
  .slider-prev, .slider-next { font-size: 24px; line-height: 29px; margin: 0; bottom: 70px; }
  .mtitle h1 { font-size: 30px; line-height: 35px; display: block; text-align: center; }
  .mtitle h1 span { transform: translate(0); }
  .content { width: calc(100% - 40px); margin: auto; }
  .ptitle { display: none; }
  .hdr-inner { padding: 20px; }
  nav.mmenu { width: 100%; }
  .menu-overlay { display: none; }
  .mmenu-shown.page-gallery .aslider-wrap, .mmenu-shown main.cwrap, .mmenu-shown header#hdr { transform: translateX(-50vw); }
  .ftr-inner { flex-direction: column; align-items: center; padding: 15px 20px; }
  .ftr-inner .socials { margin-bottom: 15px; }
  .aitem-explore, .side { margin: 0; left: calc(100% - 60px); }
  .aitem-title h2 span { line-height: 18px; margin: 0; }
  .aitem-explore span, .hlink span:first-child, .side-btn span:first-child { font-size: 10px; margin-bottom: 0; }
  .hlink span:first-child { margin-bottom: 1px; }
  .side.is-loaded .side-btn:not(.is-to-top) span:first-child, .has-to-top .side.is-loaded .side-btn.is-to-top span:first-child { margin-bottom: 0; }
  .aitem-title.is-loaded h2 span { font-size: 12px; line-height: 15px; margin: 0 0 1px 0; }
  .aitem-title.is-loaded h2, .aitem-explore, .hlink span:last-child, .side-btn span:last-child { font-size: 24px; line-height: 29px; }
  .side:before, .hlink-wrap:before { top: 18px; }
  .aitem-explore:before, .aitem-title:before { top: 16px; }
  .slider-prev { left: 20px; }
  .slider-next { right: 20px; }
  .aitem-title { left: 20px; }
  body.page-home .content { padding-top: 50px; margin: auto auto auto 20px; width: calc(100% - 95px); }
  #home-works section.sec { padding-bottom: 0; }
  .hlink--works.hlink-wrap { left: calc(25% - 21px); }
  .hlink--about.hlink-wrap { left: calc(75% - 41px); }
  .hlink-wrap { padding-left: 130px; }
}
