:root {
  --ink: #18212f;
  --muted: #5b6678;
  --paper: #fff8eb;
  --cream: #fffdf7;
  --sky: #8bd3ff;
  --mint: #8de6b8;
  --coral: #ff7f6e;
  --sun: #ffd166;
  --violet: #6656d9;
  --line: rgba(24, 33, 47, 0.14);
  --shadow: 0 22px 70px rgba(24, 33, 47, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 253, 247, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px 8px 18px 8px;
  background: var(--sun);
  box-shadow: 4px 4px 0 var(--ink);
}

.site-nav {
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--violet);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(24px, 3.8vw, 46px) clamp(20px, 5vw, 72px) clamp(28px, 4vw, 44px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 28%, rgba(255, 209, 102, 0.34), transparent 24%),
    linear-gradient(135deg, #fff8eb 0%, #e9fbff 52%, #fff3f0 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 8vw, 5.45rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 58ch;
  color: #344154;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.button:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.button-primary {
  background: var(--coral);
  color: #fffdf7;
}

.button-secondary {
  background: #fffdf7;
}

.hero-art {
  position: relative;
  width: min(760px, 58vw);
  margin: 0 -7vw 0 auto;
}

.hero-art::before {
  position: absolute;
  inset: 10% 12% auto auto;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--mint);
  content: "";
  filter: blur(2px);
  transform: translate(20%, -18%);
}

.hero-art img {
  position: relative;
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 16px 16px 0 var(--ink), var(--shadow);
  transform: rotate(2deg);
}

.intro-section,
.development-section,
.studio-section,
.contact-section {
  padding: clamp(64px, 10vw, 124px) clamp(20px, 5vw, 72px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 6vw, 74px);
  background: var(--ink);
  color: #fffdf7;
}

.intro-section p:last-child {
  align-self: end;
  margin-bottom: 4px;
  color: #dce9f4;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.development-section {
  background: var(--paper);
}

.development-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.development-card {
  min-height: 270px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 8px 8px 0 rgba(24, 33, 47, 0.9);
}

.development-card:nth-child(2) {
  background: #e6fff1;
}

.development-card:nth-child(3) {
  background: #fff0ec;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  margin-bottom: 28px;
  border: 2px solid var(--ink);
  border-radius: 8px 8px 18px 8px;
  background: var(--sky);
  font-weight: 900;
}

.development-card p,
.studio-list p,
.contact-section p {
  margin-bottom: 0;
  color: var(--muted);
}

.studio-section {
  background:
    linear-gradient(90deg, rgba(139, 211, 255, 0.22) 1px, transparent 1px),
    linear-gradient(0deg, rgba(139, 211, 255, 0.22) 1px, transparent 1px),
    #fffdf7;
  background-size: 36px 36px;
}

.studio-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.studio-list article {
  padding-top: 18px;
  border-top: 3px solid var(--line);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, #ffdf78 0%, #8de6b8 48%, #8bd3ff 100%);
}

.contact-section h2 {
  max-width: 760px;
}

.contact-section p {
  max-width: 680px;
  margin-top: 18px;
  color: #243145;
  font-size: 1.08rem;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 940px) {
  .hero,
  .intro-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    width: min(100%, 680px);
    margin: 38px auto 0;
  }

  .development-grid,
  .studio-list {
    grid-template-columns: 1fr;
  }

  .development-card {
    min-height: 0;
  }

  .contact-section .button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-nav {
    gap: 10px;
    font-size: 0.78rem;
  }

  h1 {
    max-width: 10ch;
    margin-bottom: 14px;
    font-size: clamp(2.58rem, 12vw, 3.2rem);
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .button {
    min-height: 44px;
    width: 100%;
  }

  .hero-art {
    margin-top: 20px;
  }

  .hero-art img {
    max-height: 286px;
    object-fit: cover;
    object-position: 56% 42%;
    box-shadow: 8px 8px 0 var(--ink), var(--shadow);
    transform: rotate(1deg);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
