:root {
  --ink: #101010;
  --paper: #f5f1e8;
  --white: #ffffff;
  --muted: #a7a39c;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(16, 16, 16, 0.15);
  --green: #8cff32;
  --red: #ff2455;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: var(--red);
  animation: loader-out 1.15s ease 1s forwards;
  pointer-events: none;
}

.loader img {
  width: min(280px, 58vw);
  filter: brightness(0) invert(1);
  animation: pulse-mark 0.9s ease-in-out infinite alternate;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 16, 16, 0.84);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 126px;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--green);
}

.nav-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-button {
  min-width: 34px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
}

.lang-button.is-active {
  background: var(--white);
  color: var(--ink);
}

.section-dark,
.section-light,
.section-accent {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 64px);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-accent {
  background: var(--green);
  color: var(--ink);
}

.photobook-lab {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  overflow: hidden;
  border-block: 1px solid rgba(16, 16, 16, 0.18);
}

.photobook-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.photobook-copy .eyebrow {
  color: var(--ink);
}

.photobook-copy h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 7.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.photobook-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 28px 0 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.55;
}

.photobook-cta {
  margin-top: 34px;
  box-shadow: 8px 8px 0 var(--red);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.photobook-cta:hover {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 var(--red);
}

.photobook-preview {
  position: relative;
  min-height: 460px;
}

.photobook-page {
  position: absolute;
  width: 48%;
  aspect-ratio: 4 / 5;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 18px 22px 0 rgba(16, 16, 16, 0.16);
}

.photobook-page span {
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-size: 0.75rem;
  font-weight: 900;
}

.photobook-page-one {
  top: 4%;
  left: 5%;
  transform: rotate(-8deg);
  background: var(--ink);
  color: var(--white);
}

.photobook-page-two {
  right: 7%;
  bottom: 3%;
  transform: rotate(7deg);
  background: var(--red);
}

.photobook-ring {
  position: absolute;
  inset: 13%;
  border: 24px solid var(--white);
  border-radius: 50%;
  transform: rotate(18deg) scaleX(1.25);
  mix-blend-mode: screen;
}

.photobook-stamp {
  position: absolute;
  top: 3%;
  right: 2%;
  z-index: 3;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero {
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(4rem, 10vw, 8.4rem);
}

.hero-text {
  max-width: 600px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.button-primary {
  background: var(--green);
  color: var(--ink);
}

.button-secondary {
  border: 1px solid var(--line);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.hero-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
}

.hero-ring {
  position: absolute;
  inset: 10%;
  z-index: -1;
  border: 34px solid var(--red);
  border-radius: 50%;
  animation: rotate 18s linear infinite;
}

.hero-ring-one {
  transform: rotate(-14deg) scaleX(1.3);
}

.hero-ring-two {
  inset: 27% 4%;
  border-color: rgba(255, 255, 255, 0.9);
  animation-duration: 26s;
}

.hero-image {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #202020;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  animation: float 4s ease-in-out infinite alternate;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-a {
  top: 4%;
  left: 0;
  width: 62%;
  aspect-ratio: 1078 / 606;
}

.hero-image-b {
  right: 0;
  top: 35%;
  width: 54%;
  aspect-ratio: 1078 / 606;
  animation-delay: 0.45s;
}

.hero-image-c {
  left: 16%;
  bottom: 4%;
  width: 52%;
  aspect-ratio: 1078 / 606;
  animation-delay: 0.9s;
}

.logo-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #151515;
}

.strip-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.strip-track span {
  padding: 28px 42px;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(1.3rem, 3vw, 2.3rem);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.intro {
  display: grid;
  min-height: 470px;
  align-items: center;
}

.intro h2 {
  max-width: var(--max);
  font-size: clamp(2.7rem, 7vw, 6.5rem);
}

.section-heading {
  display: grid;
  max-width: var(--max);
  gap: 18px;
  margin: 0 auto 44px;
}

.section-heading h2 {
  max-width: 880px;
  font-size: clamp(3rem, 7vw, 7rem);
}

.section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.section-light .section-heading p:not(.eyebrow) {
  color: rgba(16, 16, 16, 0.66);
}

.portfolio-grid {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: clamp(360px, 42vw, 560px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #202020;
  color: var(--white);
  cursor: pointer;
}

.project-card:nth-child(3n + 1) {
  grid-row: span 2;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.project-card:hover img {
  filter: saturate(1.14) contrast(1.04);
  transform: scale(1.08);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.82));
}

.project-meta {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 28px;
}

.project-meta span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-meta h3 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.service-list,
.process-grid {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  gap: 0;
  padding: 0;
}

.service-list article,
.process-grid li {
  display: grid;
  grid-template-columns: 84px minmax(190px, 0.7fr) minmax(260px, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.process-grid li {
  border-color: var(--line);
}

.service-list span,
.process-grid span {
  color: var(--red);
  font-weight: 900;
}

.service-list h3,
.process-grid h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
}

.service-list p,
.process-grid p {
  margin: 0;
  color: rgba(16, 16, 16, 0.68);
  line-height: 1.6;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 6vw, 86px);
  min-height: 520px;
  align-items: center;
}

.contact h2 {
  max-width: 900px;
  font-size: clamp(4rem, 11vw, 10rem);
}

.contact p:not(.eyebrow) {
  max-width: 580px;
  margin: 22px 0 30px;
  font-size: 1.12rem;
  line-height: 1.55;
}

.contact-box {
  display: grid;
  gap: 16px;
}

.contact-form,
.chat-card {
  border: 1px solid rgba(16, 16, 16, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 34px 80px rgba(16, 16, 16, 0.12);
  backdrop-filter: blur(18px);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
}

.hidden-field {
  display: none;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field-group label,
.chat-card span {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(16, 16, 16, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.field-group input,
.field-group select {
  min-height: 48px;
  padding: 0 14px;
}

.field-group textarea {
  resize: vertical;
  padding: 14px;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(16, 16, 16, 0.12);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(16, 16, 16, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.form-status.is-success {
  color: #0f4d16;
}

.form-status.is-error {
  color: #8a1230;
}

.chat-card {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
}

.chat-card h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.chat-card p {
  margin: 0 0 6px;
  color: rgba(16, 16, 16, 0.72);
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.case-dialog {
  width: min(1180px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.case-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.close-dialog {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(16, 16, 16, 0.72);
  color: var(--white);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.case-layout {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  min-height: 680px;
}

.case-info {
  padding: clamp(30px, 5vw, 58px);
  border-right: 1px solid var(--line);
}

.case-info h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.case-info p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.case-tags span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 680px;
}

.gallery-main {
  display: grid;
  min-height: 520px;
  place-items: center;
  margin: 0;
  padding: 32px;
  background: #181818;
}

.gallery-main img {
  width: 100%;
  max-height: 590px;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.thumb {
  min-height: 94px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #202020;
  cursor: pointer;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.is-active {
  border-color: var(--green);
  box-shadow: inset 0 0 0 2px var(--green);
}

@keyframes loader-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes pulse-mark {
  to {
    transform: scale(1.05);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg) scaleX(1.3);
  }
}

@keyframes float {
  to {
    transform: translateY(-18px);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .brand img {
    width: 104px;
  }

  .nav {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .photobook-lab {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .photobook-preview {
    min-height: 390px;
  }

  .hero-stage {
    min-height: 460px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(3n + 1) {
    grid-row: auto;
  }

  .service-list article,
  .process-grid li,
  .case-layout {
    grid-template-columns: 1fr;
  }

  .case-info {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gallery,
  .case-layout {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero h1,
  .intro h2,
  .section-heading h2,
  .contact h2 {
    line-height: 0.98;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .nav-cta {
    padding: 0 14px;
  }

  .lang-button {
    min-width: 30px;
  }

  .section-heading h2,
  .intro h2 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero-stage {
    min-height: 380px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    flex-direction: column;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .photobook-copy h2 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .photobook-preview {
    min-height: 310px;
  }
}
