:root {
  --bg: #d9d9d9;
  --text: #000000;
  --line: rgba(0, 0, 0, 0.14);
  --surface: rgba(255, 255, 255, 0.5);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #e2e2e2 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 80%);
  pointer-events: none;
}

.page-shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
}

.top-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-link {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.tab-link.is-active {
  background: rgba(255, 255, 255, 0.92);
}

.links-page {
  width: 100%;
  display: grid;
  gap: 28px;
  justify-items: center;
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.line {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  color: #000000;
  letter-spacing: 0.01em;
  text-shadow: 0 10px 20px rgba(255, 255, 255, 0.4);
}


.vision-copy {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.vision-copy p {
  margin: 0;
  color: #000000;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  line-height: 1.5;
  text-align: center;
}

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

.photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: #000000;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: rgba(255, 255, 255, 0.92);
  color: #000000;
  border-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 900px);
  }

  .contact-actions {
    gap: 12px;
  }

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