:root {
  --background: #f5f3ee;
  --ink: #151515;
  --muted: #5d5d5d;
  --accent: #4e3bf6;
  --accent-soft: #e7f0ff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--background);
  font-family: Arial, Helvetica, arial, sans-serif;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(59, 130, 246, 0.45);
}

a:hover,
a:focus {
  color: #1d4ed8;
}

.page {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(32px, 7vw, 88px) 0;
  display: grid;
  align-content: center;
  gap: clamp(40px, 7vw, 88px);
}

.studio-label {
  margin: 0 0 18px;
  display: inline-grid;
  gap: 0.08em;
  color: var(--accent);
  font-size: clamp(84px, 18vw, 184px);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 1000;
  text-transform: uppercase;
}

.studio-label-secondary {
  text-transform: none;
  font-size: 1em;
  letter-spacing: 0;
}

h1,
h2,
p,
figure {
  margin: 0;
}

img {
  display: block;
  width: 100%;
  background: #ffffff;
}

h1 {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0;
}

.hero {
  max-width: 920px;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.hero-copy {
  padding-bottom: 8px;
}

.hero-image,
.gallery-item {
  overflow: hidden;
}

.hero-image img {
  aspect-ratio: 5 / 4;
  height: 100%;
  object-fit: cover;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.panel {
  min-height: 260px;
  padding: clamp(24px, 4vw, 44px);
}

h2 {
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-label-primary,
.studio-label-secondary {
  display: block;
}

.service-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li,
.panel p {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  letter-spacing: 0;
}

.panel p + p {
  margin-top: 12px;
}

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

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
}

.gallery-item-large img {
  aspect-ratio: 8 / 6.2;
}

.site-footer {
  width: 100%;
  padding: 18px 20px;
  background: var(--accent);
  color: var(--accent-soft);
}

.site-footer p {
  margin: 0 auto;
  width: min(1120px, calc(100% - 40px));
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .page {
    width: min(100% - 28px, 680px);
    align-content: start;
  }

  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    min-height: auto;
  }

  .image-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .page {
    width: calc(100% - 24px);
    padding: clamp(24px, 6vw, 40px) 0;
  }

  .studio-label {
    font-size: clamp(34px, 12vw, 72px);
  }

  .panel {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 20px 0;
  }

  .image-gallery {
    grid-template-columns: 1fr;
  }
}
