﻿:root {
  --bg: #f2efe8;
  --paper: #fffdf7;
  --text: #101727;
  --muted: #4b566d;
  --accent: #c2482f;
  --accent-2: #1b6d8a;
  --card: #ffffff;
  --border: #dcd3c0;
  --shadow: 0 20px 60px rgba(16, 23, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 80% -10%, #ffdca7 0%, transparent 45%),
    radial-gradient(circle at -10% 30%, #b4e6f7 0%, transparent 40%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.22;
  z-index: -1;
}

.shape-a {
  background: #de5f44;
  top: -120px;
  right: -120px;
}

.shape-b {
  background: #2d8bad;
  bottom: -140px;
  left: -120px;
}

.top-controls {
  width: min(1100px, 92%);
  margin: 1.1rem auto 0.4rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
}

.top-controls label {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 700;
}

.top-controls select {
  border: 1px solid #cfd6e4;
  border-radius: 10px;
  padding: 0.38rem 0.55rem;
  background: #ffffff;
  color: var(--text);
  font-weight: 600;
}

.hero {
  width: min(1100px, 92%);
  margin: 2rem auto 1.5rem;
  background: linear-gradient(130deg, rgba(255, 253, 247, 0.95), rgba(255, 255, 255, 0.8));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: rise 0.8s ease-out;
}

.brand-header {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
}

.about-title {
  margin: 0;
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  line-height: 1.15;
  color: var(--text);
}

.lead {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.lead-secondary {
  max-width: none;
}

.about-copy {
  margin-top: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 24px rgba(16, 23, 39, 0.08);
}

.about-copy .lead {
  color: #4b5870;
}

.about-copy .lead + .lead {
  margin-top: 0.75rem;
}

.about .section-head,
.contact .section-head {
  text-align: center;
}

.section {
  width: min(1100px, 92%);
  margin: 1.5rem auto;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.cards {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(16, 23, 39, 0.08);
  transform: translateY(8px);
  opacity: 0;
  animation: reveal 0.6s ease forwards;
}

.card:nth-child(2) {
  animation-delay: 0.1s;
}

.card:nth-child(3) {
  animation-delay: 0.2s;
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--muted);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.2rem 0 0.8rem;
  font-size: 0.78rem;
  color: #344157;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-meta span {
  background: #f1f5fb;
  border: 1px solid #d6deea;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-weight: 700;
}

.project-meta .badge.live {
  background: #e7f9ef;
  border-color: #bde8cd;
  color: #1f6f41;
}

.project-points {
  margin: 0.85rem 0;
  padding-left: 1rem;
  color: var(--muted);
}

.project-points li {
  margin-bottom: 0.35rem;
}

.project-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.9rem 0 1rem;
}

.shot {
  border: 1px solid #d8e2f1;
  border-radius: 10px;
  background: #f8fbff;
  min-height: 120px;
  margin: 0;
  overflow: hidden;
}

.shot img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  display: block;
}

.card a {
  font-weight: 700;
  color: var(--accent-2);
  text-decoration: none;
}

.card a[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.contact {
  margin-bottom: 2.8rem;
}

.contact-card {
  margin-top: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 24px rgba(16, 23, 39, 0.08);
  text-align: center;
}

.contact-card p {
  margin-top: 0;
  color: var(--muted);
}

.contact-card a {
  font-weight: 700;
  color: var(--accent-2);
  text-decoration: none;
}

.footer {
  width: min(1100px, 92%);
  margin: 0 auto 2rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  text-align: center;
}

.footer img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .top-controls {
    justify-content: flex-start;
    margin-top: 0.85rem;
  }

  .hero {
    margin-top: 1.2rem;
  }

  .brand-header {
    max-height: 180px;
  }

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

  .project-shots {
    grid-template-columns: 1fr;
  }
}
