﻿:root {
  --theme-color: #f5f0df;
  --background: #f5f0df;
  --surface: #fffdf5;
  --text: #161616;
  --soft: #4e4d47;
  --pink: #ff72c7;
  --yellow: #ffe34f;
  --green: #87ed8e;
  --blue: #74c9ff;
  --border: #161616;
  --header: rgba(245, 240, 223, 0.94);
  --shadow: 8px 8px 0 #161616;
}

html[data-theme="dark"] {
  --theme-color: #151515;
  --background: #151515;
  --surface: #222222;
  --text: #f9f5e9;
  --soft: #c2beb2;
  --pink: #ff72c7;
  --yellow: #ffe34f;
  --green: #87ed8e;
  --blue: #74c9ff;
  --border: #f9f5e9;
  --header: rgba(21, 21, 21, 0.94);
  --shadow: 8px 8px 0 #f9f5e9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 3px solid var(--border);
  background: var(--header);
  backdrop-filter: blur(12px);
}

.header-content {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.brand span {
  margin-left: 4px;
  padding: 4px 6px;
  color: #161616;
  background: var(--yellow);
}

.navigation {
  display: flex;
  align-items: center;
  gap: 22px;
}

.navigation > a {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.navigation > a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--pink);
}

.theme-button,
.menu-button {
  min-height: 40px;
  padding: 0 13px;
  color: var(--text);
  border: 2px solid var(--border);
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--border);
  cursor: pointer;
  font-weight: 800;
}

.menu-button {
  display: none;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  padding: 85px 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
}

.kicker {
  padding: 7px 10px;
  display: inline-block;
  color: #161616;
  border: 2px solid #161616;
  background: var(--green);
  box-shadow: 4px 4px 0 #161616;
  font-size: 0.7rem;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 28px 0 24px;
  font-size: clamp(3.3rem, 7.5vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

h1 span {
  color: var(--pink);
  -webkit-text-stroke: 2px var(--border);
  text-shadow: 5px 5px 0 var(--border);
}

.hero-copy > p {
  max-width: 650px;
  color: var(--soft);
  font-size: 1.08rem;
  font-weight: 600;
}

.hero-actions {
  margin-top: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 52px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--border);
  box-shadow: 5px 5px 0 var(--border);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: 0.15s ease;
}

.button:hover {
  box-shadow: 2px 2px 0 var(--border);
  transform: translate(3px, 3px);
}

.button.dark {
  color: var(--background);
  background: var(--text);
}

.button.yellow {
  color: #161616;
  background: var(--yellow);
}

.hero-art {
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
}

.art-card {
  width: min(100%, 430px);
  padding: 28px;
  position: relative;
  z-index: 2;
  border: 3px solid var(--border);
  background: var(--blue);
  box-shadow: 13px 13px 0 var(--border);
  transform: rotate(3deg);
}

.art-face {
  min-height: 280px;
  position: relative;
  display: grid;
  place-items: center;
  border: 3px solid #161616;
  border-radius: 50%;
  background: var(--pink);
}

.art-face > span {
  color: #161616;
  font-size: 5rem;
  font-weight: 950;
  letter-spacing: -0.1em;
}

.eye {
  width: 22px;
  height: 32px;
  position: absolute;
  top: 70px;
  border-radius: 50%;
  background: #161616;
}

.eye-one {
  left: 95px;
}

.eye-two {
  right: 95px;
}

.mouth {
  width: 90px;
  height: 35px;
  position: absolute;
  bottom: 55px;
  border: 7px solid #161616;
  border-top: 0;
  border-radius: 0 0 60px 60px;
}

.art-code {
  margin-top: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #161616;
  font-family: Consolas, monospace;
}

.art-code span {
  font-size: 0.72rem;
}

.art-code strong {
  padding: 5px 8px;
  background: var(--yellow);
}

.sticker {
  position: absolute;
  z-index: 4;
  padding: 9px 12px;
  color: #161616;
  border: 2px solid #161616;
  box-shadow: 4px 4px 0 #161616;
  font-size: 0.7rem;
  font-weight: 950;
}

.sticker-one {
  top: 3%;
  left: -2%;
  background: var(--yellow);
  transform: rotate(-9deg);
}

.sticker-two {
  top: 18%;
  right: -5%;
  background: var(--green);
  transform: rotate(10deg);
}

.sticker-three {
  right: 0;
  bottom: 8%;
  background: var(--pink);
  transform: rotate(-5deg);
}

.marquee {
  padding: 17px 0;
  overflow: hidden;
  color: #161616;
  border-block: 3px solid #161616;
  background: var(--yellow);
  font-weight: 950;
  white-space: nowrap;
}

.marquee div {
  width: max-content;
  animation: marquee 24s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 110px 0;
}

.section-heading {
  margin-bottom: 55px;
}

.section-heading > span,
.project-copy > span,
.contact-content > span {
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.section-heading h2,
.project-copy h2,
.contact-content h2 {
  margin: 15px 0 0;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}

.service-card {
  min-height: 390px;
  position: relative;
  padding: 30px;
  color: #161616;
  border: 3px solid #161616;
  box-shadow: 8px 8px 0 #161616;
}

.service-card.pink {
  background: var(--pink);
  transform: rotate(-1deg);
}

.service-card.yellow {
  background: var(--yellow);
  transform: translateY(20px);
}

.service-card.green {
  background: var(--green);
  transform: rotate(1deg);
}

.number {
  position: absolute;
  top: 22px;
  right: 25px;
  font-size: 0.8rem;
  font-weight: 950;
}

.icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  border: 3px solid #161616;
  border-radius: 50%;
  background: var(--surface);
  font-weight: 950;
}

.service-card h3 {
  margin: 85px 0 13px;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.service-card p {
  margin-bottom: 0;
  font-weight: 600;
}

.process {
  border-block: 3px solid var(--border);
  background: var(--surface);
}

.process-list {
  border-top: 3px solid var(--border);
}

.process-list article {
  padding: 25px 18px;
  display: grid;
  grid-template-columns: 70px 1fr 1.3fr 40px;
  align-items: center;
  gap: 25px;
  border-bottom: 3px solid var(--border);
}

.process-list article > strong {
  color: var(--pink);
  font-size: 1.5rem;
}

.process-list h3 {
  margin: 0;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.process-list p {
  margin: 0;
  color: var(--soft);
}

.process-list article > span {
  font-size: 2rem;
  font-weight: 950;
}

.project-box {
  padding: 55px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 65px;
  color: #161616;
  border: 3px solid #161616;
  background: var(--yellow);
  box-shadow: 12px 12px 0 #161616;
}

.project-copy p {
  max-width: 550px;
  font-weight: 600;
}

.project-tags {
  margin: 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags b {
  padding: 5px 8px;
  border: 2px solid #161616;
  background: var(--surface);
  font-size: 0.67rem;
}

.project-art {
  min-height: 450px;
  position: relative;
  padding: 25px;
  border: 3px solid #161616;
  background: var(--blue);
  box-shadow: 8px 8px 0 #161616;
}

.formula {
  width: fit-content;
  padding: 6px 10px;
  position: relative;
  z-index: 3;
  border: 2px solid #161616;
  background: var(--pink);
  font-weight: 950;
}

.graph {
  position: absolute;
  inset: 70px 25px 25px;
  overflow: hidden;
  border: 3px solid #161616;
  background:
    linear-gradient(rgba(0, 0, 0, 0.15) 2px, transparent 2px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.15) 2px, transparent 2px),
    var(--surface);
  background-size: 35px 35px;
}

.x-axis,
.y-axis {
  position: absolute;
  background: #161616;
}

.x-axis {
  top: 50%;
  right: 0;
  left: 0;
  height: 3px;
}

.y-axis {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
}

.curve {
  width: 190px;
  height: 245px;
  position: absolute;
  bottom: 35px;
  left: 50%;
  border: 8px solid var(--pink);
  border-top: 0;
  border-radius: 0 0 110px 110px;
  transform: translateX(-50%);
}

.project-sticker {
  position: absolute;
  z-index: 5;
  right: -25px;
  bottom: -20px;
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  color: #161616;
  border: 3px solid #161616;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 5px 5px 0 #161616;
  font-size: 0.75rem;
  font-weight: 950;
  text-align: center;
  transform: rotate(12deg);
}

.contact {
  padding: 120px 0;
  color: #161616;
  border-top: 3px solid #161616;
  background: var(--pink);
}

.contact-content h2 {
  max-width: 900px;
  margin-bottom: 50px;
  font-size: clamp(3.5rem, 9vw, 8rem);
}

.contact-content a {
  padding-bottom: 8px;
  border-bottom: 5px solid #161616;
  font-size: clamp(1rem, 4vw, 2rem);
  font-weight: 950;
}

footer {
  border-top: 3px solid var(--border);
}

.footer-content {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 0.78rem;
}

.footer-content p {
  margin: 0;
}

.footer-content div {
  display: flex;
  gap: 20px;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 22px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    border-bottom: 3px solid var(--border);
    background: var(--surface);
  }

  .navigation.is-open {
    display: flex;
  }

  .theme-button {
    justify-content: center;
  }

  .hero-grid,
  .project-box {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .service-card.yellow {
    transform: none;
  }

  .process-list article {
    grid-template-columns: 50px 1fr 40px;
  }

  .process-list p {
    grid-column: 2 / -1;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero-grid {
    padding: 60px 0 80px;
  }

  h1 {
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-art {
    min-height: 430px;
  }

  .art-card {
    transform: none;
  }

  .art-face {
    min-height: 240px;
  }

  .eye-one {
    left: 70px;
  }

  .eye-two {
    right: 70px;
  }

  .sticker {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .process-list article {
    padding: 22px 8px;
    grid-template-columns: 40px 1fr;
  }

  .process-list article > span {
    display: none;
  }

  .process-list p {
    grid-column: 2;
  }

  .project-box {
    padding: 35px 18px;
  }

  .project-art {
    min-height: 350px;
  }

  .project-sticker {
    right: -8px;
  }

  .contact {
    padding: 80px 0;
  }

  .footer-content {
    padding: 30px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}