:root {
  --bg: #08090b;
  --bg-soft: #0d1015;
  --panel: #11151b;
  --text: #f2efe7;
  --muted: #a7adb8;
  --line: rgba(255,255,255,.12);
  --cyan: #6ee7ff;
  --red: #ff4d5e;
  --violet: #b389ff;
  --max: 1320px;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -5%, rgba(110,231,255,.11), transparent 34rem),
    radial-gradient(circle at 92% 4%, rgba(255,77,94,.10), transparent 30rem),
    linear-gradient(180deg, #08090b 0%, #090b0f 45%, #060709 100%);
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}
a { color: inherit; }
img { max-width: 100%; }
.no-scroll { overflow: hidden; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8,9,11,.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.brand strong {
  color: var(--cyan);
  text-shadow: 0 0 22px rgba(110,231,255,.38);
}
.brand em {
  margin-left: .42rem;
  color: var(--muted);
  font-size: .72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.nav-links a, .lang-switch a {
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  padding: .5rem .72rem;
  font-size: .9rem;
  font-weight: 700;
}
.nav-links a:hover, .lang-switch a:hover, .lang-switch a.active {
  color: var(--text);
  background: rgba(255,255,255,.07);
}
.lang-switch { display: flex; gap: 2px; border-left: 1px solid var(--line); padding-left: 14px; }

.hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 690px;
  padding: 86px 0 82px;
  display: grid;
  grid-template-columns: minmax(0,1.06fr) minmax(360px,.94fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
}
.eyebrow {
  display: inline-block;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: .72rem;
  font-weight: 900;
}
.hero h1, .gallery-hero h1 {
  margin: .72rem 0 1.3rem;
  max-width: 13ch;
  font-size: clamp(3.3rem, 7.2vw, 7rem);
  line-height: .86;
  letter-spacing: -.075em;
}
.hero h1 span { color: transparent; -webkit-text-stroke: 1.2px rgba(242,239,231,.74); }
.hero-copy > p {
  color: var(--muted);
  max-width: 48rem;
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: .7rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  text-decoration: none;
  color: var(--text);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.btn.primary { background: var(--text); color: #07090b; border-color: var(--text); }
.btn.primary:hover { background: var(--cyan); border-color: var(--cyan); }
.btn.ghost:hover { border-color: rgba(110,231,255,.55); }
.stats { display: flex; gap: 24px; margin-top: 44px; color: var(--muted); flex-wrap: wrap; }
.stats div { display: grid; }
.stats strong { color: var(--text); font-size: 1.45rem; line-height: 1; }
.stats span { font-size: .76rem; margin-top: 4px; }

.hero-stack { position: relative; min-height: 520px; }
.hero-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.17);
  background: #111;
  box-shadow: 0 35px 80px rgba(0,0,0,.55);
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-shot figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: rgba(6,7,9,.72); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15); border-radius: 10px;
  padding: 8px 10px; font-size: .78rem; font-weight: 800;
}
.shot-1 { width: 64%; height: 72%; left: 20%; top: 5%; transform: rotate(4deg); z-index: 3; }
.shot-2 { width: 52%; height: 60%; left: 1%; top: 27%; transform: rotate(-6deg); z-index: 2; }
.shot-3 { width: 52%; height: 58%; right: 0; bottom: 0; transform: rotate(7deg); z-index: 1; }
.empty-art { min-height: 480px; border: 1px dashed var(--line); border-radius: var(--radius); display:grid; place-items:center; color:var(--muted); font-weight:900; letter-spacing:.15em; }

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}
.section-title {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 520px);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}
.section-title h2, .about-grid h2, .feedback-grid h2 {
  margin: .55rem 0 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .95;
  letter-spacing: -.06em;
}
.section-title p, .feedback-grid > div > p { margin: 0; color: var(--muted); }

.gallery-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #101318;
  text-decoration: none;
  isolation: isolate;
}
.gallery-card img {
  position: absolute; inset: 0; width:100%; height:100%; object-fit:cover;
  filter: saturate(.72) contrast(1.04);
  transition: transform .45s ease, filter .45s ease;
}
.gallery-card-shade { position:absolute; inset:0; background:linear-gradient(180deg, rgba(5,6,8,.05), rgba(5,6,8,.15) 35%, rgba(5,6,8,.92) 100%); }
.gallery-card-copy { position:absolute; left:22px; right:22px; bottom:20px; z-index:2; }
.gallery-card-copy span { color:var(--cyan); font-size:.72rem; font-weight:850; text-transform:uppercase; letter-spacing:.12em; }
.gallery-card-copy h3 { margin:.35rem 0 .2rem; font-size:clamp(1.35rem,2vw,2rem); line-height:1; letter-spacing:-.04em; }
.gallery-card-copy em { color:var(--muted); font-size:.78rem; font-style:normal; }
.gallery-card:hover img { transform: scale(1.035); filter:saturate(1) contrast(1.05); }
.gallery-card:hover { border-color:rgba(110,231,255,.45); }
.notice { border:1px dashed var(--line); border-radius:var(--radius); padding:42px; display:grid; gap:8px; color:var(--muted); }
.notice strong { color:var(--text); }

.about-section { border-top:1px solid var(--line); }
.about-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap:clamp(40px,8vw,120px); align-items:start; }
.about-copy { color:var(--muted); font-size:clamp(1.05rem,1.5vw,1.24rem); }
.about-copy p { margin:0 0 1rem; }
.about-copy strong { color:var(--text); }

.gallery-hero {
  width:min(var(--max),calc(100% - 32px)); margin:0 auto; padding:66px 0 30px;
  border-bottom:1px solid var(--line);
}
.back-link { color:var(--muted); text-decoration:none; font-weight:750; }
.back-link:hover { color:var(--cyan); }
.gallery-hero-row { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-top:36px; }
.gallery-hero h1 { max-width:16ch; font-size:clamp(3rem,7vw,7rem); margin:.55rem 0 0; }
.gallery-hero-row p { color:var(--muted); margin:0 0 12px; white-space:nowrap; }
.gallery-hero-row p strong { color:var(--text); font-size:1.5rem; }

.gallery-view {
  width:min(1600px,calc(100% - 24px));
  margin:0 auto;
  padding:26px 0 72px;
  columns:4 280px;
  column-gap:12px;
}
.art-tile {
  position:relative;
  display:block;
  break-inside:avoid;
  margin:0 0 12px;
  overflow:hidden;
  border-radius:14px;
  border:1px solid var(--line);
  background:#111;
}
.art-tile img { width:100%; height:auto; display:block; transition:transform .3s ease, filter .3s ease; }
.art-tile:hover img { transform:scale(1.018); filter:brightness(1.06); }
.sequence-view { columns:unset; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.sequence-view .art-tile { margin:0; }
.sequence-number { position:absolute; top:10px; left:10px; min-width:36px; padding:4px 7px; border-radius:8px; background:rgba(5,6,8,.72); border:1px solid rgba(255,255,255,.16); color:var(--cyan); font-size:.72rem; font-weight:900; text-align:center; backdrop-filter:blur(8px); }
.next-strip { width:min(var(--max),calc(100% - 32px)); margin:0 auto 30px; border-top:1px solid var(--line); padding:28px 0 0; }
.next-strip a { color:var(--muted); text-decoration:none; font-weight:800; }
.next-strip a:hover { color:var(--cyan); }

.feedback-section { border-top:1px solid var(--line); }
.feedback-grid { display:grid; grid-template-columns:.72fr 1.28fr; gap:clamp(40px,8vw,120px); }
.feedback-form { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.feedback-form label { display:grid; gap:6px; color:var(--muted); font-size:.78rem; font-weight:800; }
.feedback-form label:nth-of-type(3), .feedback-form label:nth-of-type(4), .feedback-form .btn { grid-column:1 / -1; }
.feedback-form input, .feedback-form textarea {
  width:100%; color:var(--text); background:#0c0f13; border:1px solid var(--line); border-radius:12px;
  padding:.82rem .9rem; font:inherit; outline:none;
}
.feedback-form input:focus, .feedback-form textarea:focus { border-color:rgba(110,231,255,.55); box-shadow:0 0 0 3px rgba(110,231,255,.08); }
.feedback-form textarea { resize:vertical; min-height:150px; }
.hp { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; }

.site-footer { border-top:1px solid var(--line); padding:28px 16px 40px; color:var(--muted); font-size:.8rem; }
.site-footer > div { width:min(var(--max),100%); margin:0 auto; display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }

.lightbox {
  position:fixed; inset:0; z-index:100; display:none; align-items:center; justify-content:center;
  background:rgba(0,0,0,.94); padding:22px 70px;
}
.lightbox.open { display:flex; }
.lightbox figure { margin:0; max-width:calc(100vw - 160px); max-height:94vh; display:grid; place-items:center; gap:8px; }
.lightbox img { max-width:100%; max-height:88vh; object-fit:contain; border-radius:8px; box-shadow:0 30px 120px rgba(0,0,0,.65); }
.lightbox figcaption { color:var(--muted); font-size:.8rem; }
.lightbox button { position:absolute; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.08); color:white; cursor:pointer; border-radius:999px; backdrop-filter:blur(8px); }
.lightbox-close { top:18px; right:18px; width:46px; height:46px; font-size:1.5rem; }
.lightbox-prev, .lightbox-next { top:50%; transform:translateY(-50%); width:48px; height:64px; font-size:2rem; }
.lightbox-prev { left:18px; }.lightbox-next { right:18px; }

.result-page { min-height:100vh; display:grid; place-items:center; padding:24px; }
.result-card { width:min(620px,100%); border:1px solid var(--line); background:rgba(17,21,27,.86); border-radius:24px; padding:34px; box-shadow:0 35px 100px rgba(0,0,0,.45); }
.result-mark { width:54px; height:54px; display:grid; place-items:center; border-radius:999px; margin:34px 0 18px; font-weight:950; font-size:1.4rem; }
.result-mark.ok { background:rgba(110,231,255,.12); color:var(--cyan); border:1px solid rgba(110,231,255,.35); }
.result-mark.error { background:rgba(255,77,94,.12); color:var(--red); border:1px solid rgba(255,77,94,.35); }
.result-card h1 { font-size:clamp(2.2rem,6vw,4rem); line-height:.95; letter-spacing:-.055em; margin:.2rem 0 1rem; }
.result-card p { color:var(--muted); }

@media (max-width: 980px) {
  .hero { grid-template-columns:1fr; min-height:auto; padding-top:62px; }
  .hero-stack { min-height:460px; max-width:680px; width:100%; margin:0 auto; }
  .gallery-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .about-grid, .feedback-grid { grid-template-columns:1fr; }
  .sequence-view { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .nav-shell { grid-template-columns:1fr auto; min-height:64px; }
  .nav-links { display:none; }
  .hero h1 { font-size:clamp(3rem,15vw,5.5rem); }
  .hero-stack { min-height:390px; }
  .section-title { grid-template-columns:1fr; gap:16px; }
  .gallery-cards { grid-template-columns:1fr; }
  .gallery-card { min-height:340px; }
  .gallery-hero-row { display:block; }
  .gallery-hero-row p { margin-top:12px; }
  .sequence-view { grid-template-columns:1fr; }
  .feedback-form { grid-template-columns:1fr; }
  .feedback-form label, .feedback-form label:nth-of-type(3), .feedback-form label:nth-of-type(4), .feedback-form .btn { grid-column:1; }
  .lightbox { padding:20px 48px; }
  .lightbox figure { max-width:calc(100vw - 100px); }
}
@media (max-width: 460px) {
  .brand em { display:none; }
  .hero-stack { min-height:330px; }
  .shot-1 { width:68%; left:17%; }
  .shot-2, .shot-3 { width:55%; }
  .section { padding:60px 0; }
}
