@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wdth,wght@8..144,25..151,100..1000&display=swap');

:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #080808;
  --muted: #8d8d87;
  --line: rgba(8, 8, 8, 0.12);
  --soft: #dedede;
  --green: #9bff00;
  --green-ink: #102000;
  --black: #050505;
  --radius: 8px;
  --radius-lg: 10px;
  --shadow: 0 24px 70px rgba(0,0,0,0.08);
  --font: "Google Sans Flex", "Roboto Flex", "Roboto", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-variation-settings: "wdth" 105, "wght" 450;
  letter-spacing: 0;
}

body.admin-body { background: #f4f4ef; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.site-shell { min-height: 100vh; }
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 54px clamp(24px, 5vw, 102px) 30px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(18px);
  border-bottom: 0;
}

.nav { display: flex; align-items: center; gap: 92px; }
.langs { display: flex; align-items: center; gap: 24px; }
.nav-link, .lang-btn, .pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  min-width: 116px;
  padding: 9px 22px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}
.lang-btn {
  min-width: auto;
  padding: 0;
  border-radius: 0;
  font-size: 12px;
  font-variation-settings: "wdth" 105, "wght" 760;
}
.lang-btn:hover { background: transparent; }
.lang-btn.active {
  background: transparent;
  color: var(--ink);
}
.nav-link:hover { color: var(--ink); background: rgba(8,8,8,0.06); }
.lang-btn:hover { color: var(--ink); background: transparent; }
.nav-link.active {
  background: var(--ink);
  color: #fff;
}

.main { padding: 0; }
.hero {
  position: relative;
  width: 100%;
  height: clamp(260px, 34vw, 520px);
  margin: 0 0 54px;
  border-radius: 0;
  overflow: hidden;
  background: #ddd;
  box-shadow: none;
}
.hero video,
.hero img.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-embed {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-embed iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.42);
  pointer-events: none;
  z-index: 1;
}
.hero-copy {
  position: absolute;
  left: clamp(24px, 5vw, 104px);
  right: clamp(24px, 5vw, 104px);
  bottom: 50%;
  transform: translateY(50%);
  color: #fff;
  z-index: 2;
  max-width: 1150px;
  text-shadow: none;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  opacity: 0.85;
  margin-bottom: 18px;
}
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--green); }
.hero-title {
  font-size: clamp(42px, 5.9vw, 112px);
  line-height: .94;
  margin: 0;
  text-transform: none;
  font-variation-settings: "wdth" 151, "wght" 680;
  max-width: 1280px;
}
.hero-subtitle {
  margin: 22px 0 0;
  max-width: 680px;
  font-size: clamp(15px, 1.6vw, 22px);
  line-height: 1.25;
  opacity: 0.92;
}

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin: 0 clamp(24px, 5vw, 102px) 18px;
}
.section-title {
  margin: 0;
  font-size: clamp(22px, 4vw, 56px);
  line-height: 0.95;
  text-transform: uppercase;
  font-variation-settings: "wdth" 140, "wght" 760;
}
.section-meta { color: var(--muted); font-size: 13px; text-transform: uppercase; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0 clamp(24px, 5vw, 102px) 60px;
}
.project-card {
  position: relative;
  min-height: 352px;
  border-radius: 6px;
  overflow: hidden;
  background: #dcdcdc;
  isolation: isolate;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .45s ease, box-shadow .45s ease;
}
.project-card:hover { transform: translateY(-3px); filter: brightness(.98); box-shadow: 0 18px 42px rgba(0,0,0,0.08); }
.project-card::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: #dedede;
}
.project-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,.17), rgba(0,0,0,.32) 42%, rgba(0,0,0,.71)),
    radial-gradient(circle at 50% 68%, rgba(0,0,0,.09), rgba(0,0,0,.44) 72%);
  opacity: 1;
  transition: opacity .45s ease;
  pointer-events: none;
}
.project-card:hover::after { opacity: 1; }
.project-card img, .project-card video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  transition: transform .6s ease;
}
.project-card:hover img, .project-card:hover video { transform: scale(1.025); }
.card-top { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; padding: 18px; color: #fff; }
.card-no {
  font-size: clamp(38px, 4vw, 56px);
  line-height: .8;
  font-variation-settings: "wdth" 140, "wght" 800;
}
.view-btn {
  border: 0; background: var(--green); color: var(--green-ink);
  border-radius: 999px;
  padding: 9px 13px;
  text-transform: lowercase;
  font-size: 12px;
  font-variation-settings: "wdth" 115, "wght" 760;
}
.card-info {
  position: absolute; left: 18px; right: 18px; bottom: 18px; color: #fff; z-index: 3;
  isolation: isolate;
  opacity: 1;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
  text-shadow: 0 2px 18px rgba(0,0,0,.95), 0 1px 2px rgba(0,0,0,.9);
}
.card-info::before {
  content: "";
  position: absolute;
  inset: -34px -18px -18px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.65) 58%, rgba(0,0,0,.72));
  pointer-events: none;
}
.project-card:hover .card-info { opacity: 1; transform: translateY(0); }
.card-category { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .96; }
.card-title { margin: 8px 0 10px; font-size: 19px; line-height: 1.02; text-transform: uppercase; font-variation-settings: "wdth" 125, "wght" 760; }
.card-desc { margin: 0 0 18px; color: rgba(255,255,255,.92); line-height: 1.2; font-size: 12px; max-width: 92%; }
.card-data { display: grid; grid-template-columns: 1fr auto; gap: 10px; border-top: 1px solid rgba(255,255,255,.42); padding-top: 14px; font-size: 12px; text-transform: uppercase; color: rgba(255,255,255,.94); }

.clients-strip,
.clients-bar {
  height: 52px;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  background: #000;
  overflow: hidden;
  border: 0;
  margin-top: 0;
}
.clients-label {
  position: relative;
  height: 100%;
  background: #000;
  z-index: 10;
  color: #fff;
  display: flex;
  align-items: center;
  padding-left: 40px;
  padding-right: 0;
  font-size: 30px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-transform: uppercase;
  font-variation-settings: "wdth" 140, "wght" 800;
}
.marquee,
.clients-marquee {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  border: 0;
}
.marquee-track,
.clients-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  padding-left: 40px;
  animation: clients-marquee 32s linear infinite;
}
.client-logo,
.client-logo-wrap {
  flex: 0 0 auto;
  width: 120px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .85;
  filter: grayscale(1);
}
.client-logo img,
.client-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.client-logo span,
.client-logo-wrap span { font-size: 14px; color: #fff; text-transform: uppercase; font-variation-settings: "wdth" 125, "wght" 750; }
@keyframes clients-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.page {
  min-height: calc(100vh - 88px);
  padding: 42px 0 0;
}
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 24px;
  align-items: end;
  min-height: 60vh;
  padding: clamp(24px, 5vw, 70px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 20px 80px rgba(0,0,0,.08);
}
.page-title {
  margin: 0;
  font-size: clamp(58px, 14vw, 210px);
  line-height: .8;
  text-transform: uppercase;
  font-variation-settings: "wdth" 145, "wght" 820;
}
.page-text { font-size: clamp(17px, 2vw, 26px); line-height: 1.15; color: #333; }
.meta-list { display: grid; gap: 10px; margin-top: 28px; }
.meta-line { border-top: 1px solid var(--line); padding-top: 10px; display: flex; justify-content: space-between; gap: 16px; text-transform: uppercase; font-size: 12px; color: var(--muted); }
.meta-line strong { color: var(--ink); }

.detail-media {
  border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.34); min-height: min(66vh, 720px); max-height: none; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.detail-media img, .detail-media video, .detail-media iframe { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; border: 0; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .45fr); gap: 24px; margin-top: 24px; }
.content-panel { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 60px); }
.content-panel h1 { margin: 0; font-size: clamp(48px, 10vw, 160px); line-height: .84; text-transform: uppercase; font-variation-settings: "wdth" 145, "wght" 820; }
.content-panel h2 { margin: 44px 0 12px; text-transform: uppercase; font-variation-settings: "wdth" 130, "wght" 780; }
.content-panel p { font-size: clamp(17px, 2vw, 25px); line-height: 1.18; color: #30302c; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: 12px; text-transform: uppercase; color: #555; }
.project-showcase { display: grid; gap: clamp(18px, 3vw, 38px); margin-top: 24px; }
.showcase-item { margin: 0; display: grid; gap: 9px; }
.showcase-item img, .showcase-item video {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0,0,0,.04);
}
.showcase-item figcaption { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.sidebar { background: #0a0a0a; color: #fff; border-radius: var(--radius-lg); padding: 24px; align-self: start; position: sticky; top: 92px; }
.sidebar .meta-line { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.55); }
.sidebar .meta-line strong { color: #fff; text-align: right; }
.back-row { display: flex; justify-content: space-between; gap: 12px; margin: 24px 0; }

body.modal-open { overflow: hidden; }
.project-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 9999;
  display: flex;
  padding: 0;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
}
.modal-scrim {
  position: absolute;
  inset: 0;
  background: transparent;
}
.modal-panel {
  position: relative;
  width: 100%;
  height: calc(100dvh - clamp(20px, 4vw, 56px));
  max-width: none;
  max-height: none;
  overflow: auto;
  background: #fff;
  margin: clamp(10px, 2vw, 28px);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: clamp(18px,2vw,32px);
  padding: clamp(18px, 2.6vw, 46px);
  box-shadow: 0 24px 80px rgba(0,0,0,.16);
}
.modal-close {
  position: fixed;
  top: clamp(18px, 3vw, 42px);
  right: clamp(18px, 3vw, 42px);
  z-index: 10001;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #0a0a0a;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.project-modal.image-open .modal-close { display: none; }
.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin: 0 54px 22px 0;
}
.modal-head p { margin: 0 0 8px; color: #777; text-transform: uppercase; font-size: 12px; }
.modal-head h1 { margin: 0; font-size: clamp(40px, 7vw, 118px); line-height: .9; text-transform: uppercase; font-variation-settings: "wdth" 142, "wght" 760; }
.black-btn, .outline-btn, .green-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .04em;
  border: 1px solid var(--line);
}
.black-btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.green-btn { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.outline-btn { background: transparent; color: var(--ink); }

.modal-layout-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 350px);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
  margin-bottom: 14px;
}
.modal-layout-head .modal-head {
  margin: 0;
}
.project-lede {
  max-width: 980px;
  margin: 0 0 clamp(22px, 3vw, 36px);
  color: #858585;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.28;
  font-variation-settings: "wdth" 96, "wght" 620;
}
.project-meta-card {
  background: rgba(0,0,0,.96);
  color: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(0,0,0,.14);
}
.project-meta-card .meta-line {
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.52);
}
.project-meta-card .meta-line strong {
  color: #fff;
  text-align: right;
}
.project-gallery,
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px,1vw,18px);
  align-items: start;
}
.gallery-item,
.editorial-grid .showcase-item {
  position: relative;
  overflow: hidden;
  border-radius: clamp(10px,1vw,18px);
  background: #f1f1f1;
  margin: 0;
}
.gallery-item img,
.gallery-item video,
.editorial-grid .showcase-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: clamp(10px,1vw,18px);
  transition: opacity .35s ease, transform .55s cubic-bezier(.2,.8,.2,1);
}
.gallery-item.portrait {
  grid-column: span 3;
  aspect-ratio: 3 / 4;
}
.gallery-item.square {
  grid-column: span 3;
  aspect-ratio: 1 / 1;
}
.gallery-item.landscape {
  grid-column: span 4;
  aspect-ratio: 16 / 10;
}
.gallery-item.wide {
  grid-column: span 6;
  aspect-ratio: 16 / 9;
}
.gallery-item.loading {
  grid-column: span 3;
  aspect-ratio: 4 / 5;
}
.gallery-item:hover img,
.gallery-item:hover video,
.editorial-grid .showcase-item:hover .showcase-media {
  opacity: .9;
  transform: scale(1.018);
}
.gallery-item figcaption,
.editorial-grid .showcase-item figcaption {
  position: absolute;
  left: 12px;
  right: 58px;
  bottom: 12px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.media-view-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--eye-bg, var(--green));
  color: var(--eye-fg, #000);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px) scale(.96);
  transition: opacity .28s ease, transform .28s ease;
}
.showcase-item:hover .media-view-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.gallery-item:hover .media-view-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.single-art-view {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .85fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
}
.single-art-view figure {
  margin: 0;
  display: grid;
  gap: 8px;
}
.single-main .showcase-media {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #f5f5f5;
}
.single-detail img,
.single-detail video {
  width: 100%;
  height: min(76vh, 820px);
  object-fit: cover;
  object-position: 56% 42%;
  background: #f5f5f5;
}
.single-art-view figcaption {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}
.media-expanded[hidden],
.image-lightbox[hidden] { display: none; }
.media-expanded,
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.media-expanded-close,
.image-lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10001;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  font-size: 28px;
}
.media-expanded-body {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.expanded-media {
  max-width: 96vw;
  max-height: 92dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: clamp(8px,1vw,18px);
}

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 24px; min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; }
.contact-card small { color: var(--muted); text-transform: uppercase; }
.contact-card strong { font-size: clamp(22px, 3vw, 40px); word-break: break-word; }

.admin-header {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 24px; background: #0a0a0a; color: #fff;
}
.admin-brand { font-size: 20px; text-transform: uppercase; font-variation-settings: "wdth" 145, "wght" 820; }
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 68px); }
.admin-side { padding: 20px; border-right: 1px solid var(--line); }
.admin-side button { width: 100%; margin-bottom: 8px; text-align: left; border: 0; border-radius: 14px; padding: 12px 14px; background: transparent; color: #555; }
.admin-side button.active { background: #0a0a0a; color: #fff; }
.admin-main { padding: 24px; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px; }
.stat b { font-size: 48px; display: block; }
.form-card { background: #fff; border-radius: var(--radius); padding: 20px; margin-top: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; text-transform: uppercase; color: #777; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fafafa;
}
.field textarea { min-height: 120px; resize: vertical; }
.admin-list { display: grid; gap: 10px; margin-top: 16px; }
.admin-item { background: #fff; border-radius: 18px; padding: 14px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.project-sort-item { cursor: grab; transition: opacity .18s ease, transform .18s ease; }
.project-sort-item.dragging { opacity: .45; transform: scale(.995); }
.drag-handle {
  flex: 0 0 auto;
  width: 42px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f1f1;
  color: #777;
  font-size: 11px;
  text-transform: uppercase;
  cursor: grab;
  user-select: none;
}
.admin-item-main { flex: 1; min-width: 0; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-actions button { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: #fff; }
.login-box { max-width: 560px; margin: 12vh auto; background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.notice { padding: 12px 14px; border-radius: 14px; background: #eeeee8; color: #41413d; margin: 12px 0; }
pre.code { overflow:auto; background:#111; color:#eee; border-radius:18px; padding:16px; }

@media (max-width: 1100px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients-label { border: 0; }
  .marquee, .clients-marquee { border: 0; min-height: 0; }
  .page-hero, .detail-body { grid-template-columns: 1fr; }
  .modal-layout-head, .single-art-view { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .editorial-grid .showcase-item,
  .editorial-grid .showcase-item:nth-child(n) { grid-column: span 2; }
  .gallery-item.portrait,
  .gallery-item.square,
  .gallery-item.landscape,
  .gallery-item.wide { grid-column: span 6; }
  .sidebar { position: static; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display:flex; overflow:auto; border-right:0; border-bottom:1px solid var(--line); }
  .admin-side button { width:auto; white-space:nowrap; }
}

@media (max-width: 760px) {
  .modal-panel { margin: 0; height: 100dvh; border-radius: 0; }
  .gallery-item { grid-column: 1 / -1 !important; }
}

@media (max-width: 640px) {
  .clients-bar { grid-template-columns: 190px 1fr; height: 46px; }
  .clients-label { font-size: 24px; padding-left: 20px; }
  .client-logo-wrap { width: 86px; height: 22px; }
  .clients-track { gap: 42px; }
}

@media (max-width: 720px) {
  .header { align-items: flex-start; padding: 12px; gap: 10px; }
  .nav, .langs { gap: 4px; flex-wrap: wrap; }
  .nav-link, .lang-btn { min-width: auto; padding: 8px 10px; font-size: 11px; }
  .main { padding: 0 10px 10px; }
  .hero { height: clamp(300px, 72vw, 520px); border-radius: 26px; }
  .hero-title { font-size: clamp(42px, 18vw, 76px); }
  .project-grid, .contact-grid, .admin-grid, .form-grid, .gallery, .project-showcase { grid-template-columns: 1fr; }
  .project-card { min-height: 440px; }
  .section-head { align-items:flex-start; flex-direction:column; gap:8px; }
  .page-hero { min-height: auto; padding: 26px; }
  .modal-head { display: block; margin-right: 48px; }
  .modal-head h1 { font-size: clamp(34px, 13vw, 62px); }
  .modal-panel { max-height: none; height: 100dvh; padding: 14px; margin: 0; border-radius: 0; }
  .modal-layout-head { gap: 16px; }
  .project-meta-card { padding: 16px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 14px; }
  .editorial-grid .showcase-item,
  .editorial-grid .showcase-item:nth-child(n) { grid-column: auto; }
  .editorial-grid .showcase-media { aspect-ratio: auto; object-fit: contain; }
  .project-gallery { grid-template-columns: 1fr; }
  .gallery-item.portrait,
  .gallery-item.square,
  .gallery-item.landscape,
  .gallery-item.wide,
  .gallery-item.loading { grid-column: 1; }
  .media-view-btn { opacity: 1; transform: none; width: 38px; height: 38px; }
  .single-detail img, .single-detail video { height: auto; max-height: 60vh; object-fit: contain; }
  .detail-media { min-height: 56vh; }
  .admin-main { padding: 12px; }
}
