:root {
  --bg: #0a0a0a;
  --panel: #141414;
  --line: #2a2a2a;
  --text: #f2f2ed;
  --muted: #9a9a94;
  --accent: #c7ff16;
  --violet: #7557ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, svg { max-width: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.noise {
  position: fixed;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.header, .footer, .section { width: min(1400px, calc(100% - 64px)); margin-inline: auto; }
.header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.logo { font-size: 27px; font-weight: 800; letter-spacing: -2px; }
.logo span, h1 em, .contact h2 em { color: var(--accent); font-style: normal; }
.nav { display: flex; gap: 36px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--accent); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 19px 25px;
  border: 1px solid var(--text);
  font-weight: 800;
  text-transform: uppercase;
  transition: transform .2s, background .2s, color .2s;
}
.button:hover { transform: translateY(-3px); }
.button--small { padding: 13px 18px; font-size: 12px; }
.button--accent { border: 0; color: #0a0a0a; background: var(--accent); }

.section { padding: 130px 0; border-bottom: 1px solid var(--line); }
.hero {
  padding-top: 95px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 86% 22%, rgba(199, 255, 22, .24) 0, rgba(199, 255, 22, .08) 18%, transparent 39%),
    radial-gradient(circle at 72% 58%, rgba(117, 87, 255, .24) 0, rgba(117, 87, 255, .07) 24%, transparent 48%),
    linear-gradient(115deg, #090909 12%, #11110f 52%, #090909 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .8;
  background:
    linear-gradient(90deg, rgba(10,10,10,.28) 0%, rgba(10,10,10,.08) 52%, rgba(10,10,10,.4) 100%),
    repeating-radial-gradient(circle at 86% 22%, transparent 0 69px, rgba(255,255,255,.055) 70px 71px, transparent 72px 112px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
}
.hero h1 { text-shadow: 0 4px 40px rgba(0,0,0,.5); }
.eyebrow, .section-number { font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 9px; height: 9px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 16px var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 1250px;
  margin: 35px 0 50px;
  font-size: clamp(68px, 10.5vw, 158px);
  line-height: .84;
  letter-spacing: -.075em;
  font-weight: 800;
}
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; }
.hero__bottom > p { max-width: 530px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.hero__ticker { margin-top: 100px; padding: 23px 0; overflow: hidden; border-block: 1px solid var(--line); }
.hero__ticker div { display: flex; justify-content: space-around; gap: 30px; white-space: nowrap; font-weight: 800; }
.hero__ticker b { color: var(--accent); }

.section-heading { margin-bottom: 60px; }
.section-number { color: var(--accent); margin-bottom: 28px; }
h2 { font-size: clamp(45px, 7vw, 95px); line-height: .93; letter-spacing: -.065em; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { min-width: 0; min-height: 160px; padding: 22px; display: flex; flex-direction: column; position: relative; background: var(--panel); }
.service-card > span { color: var(--muted); font-size: 12px; }
.service-card h3 { margin: 18px 0 10px; font-size: 27px; letter-spacing: -.04em; }
.service-card p { margin-bottom: 10px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.service-card b { margin: auto 0 0 auto; font-size: 20px; }
.service-card--accent { color: #090909; background: var(--accent); }
.service-card--accent p, .service-card--accent > span { color: #2a2a24; }
.service-card--cta { justify-content: flex-end; background: var(--violet); }
.service-card--cta p { color: #e2defe; }
.service-card--cta h3 { margin: 8px 0 14px; }
.service-card--cta a { font-weight: 800; text-transform: uppercase; }

.statement { position: relative; }
.statement h2 span { color: var(--accent); }
.statement__copy { max-width: 620px; margin: 55px 0 80px auto; color: var(--muted); font-size: 20px; line-height: 1.65; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stats div { display: flex; gap: 25px; padding: 32px; border-right: 1px solid var(--line); }
.stats div:last-child { border: 0; }
.stats strong { color: var(--accent); font-size: 13px; }
.stats span { font-size: 17px; font-weight: 700; }

.section-heading--row { display: flex; justify-content: space-between; align-items: flex-end; }
.section-heading--row h2 { margin-bottom: 0; }
.muted { max-width: 310px; color: var(--muted); line-height: 1.5; }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case { min-height: 275px; padding: 22px; color: #0b0b0b; overflow: hidden; position: relative; }
.case--avocado { background: #f6f1e6; }
.case--farsh { color: #f5eee5; background: #c73b2c; }
.case--workshop { color: #f2eadc; background: #26231f; }
.case--beauty { color: #07584f; background: #f8f8f5; }
.case__tag { display: inline-block; padding: 6px 9px; border: 1px solid currentColor; font-size: 10px; font-weight: 800; }
.case__visual { margin: 28px 0 22px; font-size: clamp(58px, 7vw, 104px); line-height: .8; font-weight: 800; letter-spacing: -.09em; transform: rotate(-5deg); }
.case__visual--avocado { display: flex; align-items: center; gap: 18px; transform: rotate(-3deg); }
.avocado-mark {
  width: clamp(78px, 10vw, 132px);
  aspect-ratio: .78;
  display: grid;
  place-items: center;
  flex: none;
  color: #252525;
  background: #dfff17;
  border: 7px solid #229847;
  border-radius: 58% 42% 52% 48% / 68% 64% 36% 32%;
  font-size: clamp(42px, 5vw, 70px);
  box-shadow: inset 0 0 0 4px #252525;
}
.brand-lockup { font-size: clamp(29px, 3.8vw, 55px); line-height: .76; }
.case__visual--farsh { display: flex; justify-content: center; gap: .02em; color: #f8e9d8; transform: rotate(2deg); }
.case__visual--farsh span:nth-child(odd) { transform: translateY(-16px); }
.case__visual--workshop { margin-block: 34px 25px; text-align: center; transform: none; }
.case__visual--workshop small { display: block; margin-bottom: 10px; font-size: 10px; letter-spacing: .35em; }
.case__visual--workshop span { font-family: Georgia, serif; font-size: clamp(38px, 4.5vw, 68px); line-height: .72; letter-spacing: -.075em; }
.case__visual--beauty {
  min-height: 110px;
  margin-block: 28px 22px;
  display: grid;
  place-items: center;
  position: relative;
  color: #fff;
  background: #07584f;
  transform: none;
}
.case__visual--beauty span { font-size: clamp(35px, 4vw, 58px); line-height: .76; text-align: center; }
.case__visual--beauty i { width: 20px; height: 20px; position: absolute; top: -17px; right: -17px; background: #07584f; }
.case h3 { margin-bottom: 5px; font-size: 22px; }
.case p { margin: 0; font-size: 13px; opacity: .7; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 105px;
  grid-auto-flow: dense;
  gap: 18px;
}
.gallery-item {
  min-width: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  color: var(--text);
  background: var(--panel);
  border: 0;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}
.gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 5; }
.gallery-item:nth-child(2) { grid-column: span 3; grid-row: span 5; }
.gallery-item:nth-child(3) { grid-column: span 4; grid-row: span 3; }
.gallery-item:nth-child(4) { grid-column: span 4; grid-row: span 5; }
.gallery-item:nth-child(5), .gallery-item:nth-child(6) { grid-column: span 4; grid-row: span 3; }
.gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .3s; }
.gallery-item:hover img { transform: scale(1.035); filter: brightness(.78); }
.gallery-item__meta {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
  transform: translateY(100%);
  transition: transform .3s;
}
.gallery-item:hover .gallery-item__meta, .gallery-item:focus-visible .gallery-item__meta { transform: translateY(0); }
.gallery-item__meta strong { font-size: 18px; }
.gallery-item__meta small { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.gallery-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.lightbox {
  width: min(92vw, 1100px);
  max-width: none;
  height: min(92vh, 900px);
  padding: 0;
  overflow: hidden;
  color: var(--text);
  background: #080808;
  border: 1px solid var(--line);
}
.lightbox::backdrop { background: rgba(0,0,0,.9); backdrop-filter: blur(7px); }
.lightbox img { width: 100%; height: calc(100% - 54px); display: block; object-fit: contain; }
.lightbox p { height: 54px; margin: 0; padding: 17px 22px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lightbox__close { width: 44px; height: 44px; position: absolute; z-index: 2; top: 12px; right: 12px; color: #111; background: var(--accent); border: 0; border-radius: 50%; cursor: pointer; font-size: 27px; line-height: 1; }

.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 80px 1.2fr 1fr; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); }
.process-list span { color: var(--accent); font-size: 13px; }
.process-list h3 { margin: 0; font-size: 27px; }
.process-list p { margin: 0; color: var(--muted); }

.contact { text-align: center; padding-block: 145px; }
.contact .eyebrow { justify-content: center; }
.contact h2 { margin: 38px 0; font-size: clamp(70px, 11vw, 150px); }
.contact > p { max-width: 560px; margin: 0 auto 40px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.button--telegram { color: #080808; background: var(--accent); border-color: var(--accent); }
.footer { min-height: 105px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; }
.footer .logo { color: var(--text); }

@media (max-width: 900px) {
  .header, .footer, .section { width: min(100% - 36px, 1400px); }
  .header { height: 72px; }
  .nav { display: none; }
  .section { padding: 90px 0; }
  .hero { padding-top: 70px; }
  .hero::before {
    background:
      radial-gradient(circle at 88% 16%, rgba(199, 255, 22, .2) 0, transparent 34%),
      radial-gradient(circle at 72% 60%, rgba(117, 87, 255, .2) 0, transparent 42%),
      linear-gradient(120deg, #090909 15%, #11110f 58%, #090909 100%);
  }
  .hero__bottom { align-items: flex-start; flex-direction: column; gap: 35px; }
  .hero__ticker { margin-top: 70px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .section-heading--row { align-items: flex-start; flex-direction: column; gap: 30px; }
  .case { min-height: 240px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 360px; }
  .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .process-list li { grid-template-columns: 50px 1fr; gap: 10px; }
  .process-list p { grid-column: 2; }
}

@media (max-width: 600px) {
  .header { gap: 14px; }
  .header .button { max-width: 145px; border: 0; padding: 10px 0; font-size: 10px; text-align: right; }
  h1 { font-size: clamp(39px, 13vw, 58px); overflow-wrap: anywhere; }
  h2 { font-size: clamp(34px, 11vw, 48px); overflow-wrap: anywhere; }
  .services-grid, .cases-grid, .stats { grid-template-columns: 1fr; }
  .service-card { min-height: 140px; padding: 16px; }
  .service-card h3 { margin-top: 12px; font-size: 23px; }
  .service-card p { font-size: 13px; line-height: 1.35; }
  .service-card b { position: absolute; top: 13px; right: 16px; }
  .stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .case, .case--workshop { min-height: 195px; padding: 16px; grid-column: auto; }
  .case__visual { margin: 22px 0 17px; font-size: clamp(48px, 18vw, 68px); }
  .case__visual--avocado { gap: 11px; }
  .avocado-mark { width: 68px; border-width: 5px; font-size: 37px; box-shadow: inset 0 0 0 3px #252525; }
  .brand-lockup { font-size: clamp(25px, 9vw, 36px); }
  .case__visual--workshop { margin-block: 24px 18px; }
  .case__visual--workshop span { font-size: clamp(34px, 11vw, 44px); }
  .case__visual--beauty { min-height: 78px; margin-block: 20px 16px; }
  .case__visual--beauty span { font-size: clamp(30px, 10vw, 40px); }
  .case h3 { font-size: 20px; }
  .case p { font-size: 12px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .gallery-item:nth-child(n) { grid-column: 1; grid-row: auto; height: auto; aspect-ratio: 4 / 5; }
  .gallery-item__meta { gap: 12px; padding: 16px; transform: none; }
  .gallery-item__meta strong { min-width: 0; font-size: 15px; overflow-wrap: anywhere; }
  .gallery-item__meta small { flex: none; }
  .gallery-item:nth-child(3), .gallery-item:nth-child(5), .gallery-item:nth-child(6) { aspect-ratio: 1; }
  .contact h2 { font-size: clamp(39px, 13vw, 56px); overflow-wrap: anywhere; }
  .lightbox p { height: auto; min-height: 54px; padding-right: 62px; overflow-wrap: anywhere; }
  .footer { padding: 30px 0; gap: 25px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
