:root {
  color-scheme: light;
  --bg: #f7f5f2;
  --bg-strong: #f1ece6;
  --card: #ffffff;
  --text: #1f1f1f;
  --muted: #5a5a5a;
  --accent: #b68d7a;
  --accent-strong: #9a6c5a;
  --shadow: 0 18px 50px rgba(28, 22, 18, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #ffffff 0%, var(--bg) 45%, var(--bg-strong) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  padding: 28px 24px 64px;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  width: 100%;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-placeholder {
  width: min(360px, 80vw);
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  background: linear-gradient(150deg, #f4ebe4, #ffffff);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin: 12px 0 18px;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  background: var(--accent-strong);
  color: white;
}

.btn.ghost {
  border-color: rgba(0, 0, 0, 0.15);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}


.section {
  padding: 70px 24px;
}

.section-title {
  max-width: var(--max-width);
  margin: 0 auto 38px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 8px;
}

.section-title p {
  color: var(--muted);
  margin: 0;
}

.grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tile {
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(20, 15, 10, 0.08);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(20, 15, 10, 0.12);
}

.tile-media {
  width: 100%;
  aspect-ratio: 4/5;
  background-color: #f0e8e1;
  background-size: cover;
  background-position: center;
}

.tile-body {
  padding: 18px 18px 22px;
}

.tile-body h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.tile-body p {
  margin: 0;
  color: var(--muted);
}

.gradient-1 { background: linear-gradient(140deg, #caa07c, #f0d0b0); }
.gradient-2 { background: linear-gradient(140deg, #c2c2c2, #f6f1ea); }
.gradient-3 { background: linear-gradient(140deg, #8f6a52, #d7b4a0); }
.gradient-4 { background: linear-gradient(140deg, #c18b7f, #f2d3c7); }
.gradient-5 { background: linear-gradient(140deg, #d9c6b0, #f4efe7); }
.gradient-6 { background: linear-gradient(140deg, #b69d8f, #efe7de); }

.contacts {
  background: var(--bg-strong);
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-info {
  width: 100%;
}

.contact-info h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.contact-info p {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  text-align: left;
}

.contact-info li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 10px;
  color: var(--muted);
}

.contact-info li span:first-child {
  font-weight: 500;
  color: var(--text);
}

.contact-info a {
  color: var(--text);
}

.footer {
  padding: 32px 24px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.noscript-note {
  margin: 18px auto 0;
  max-width: var(--max-width);
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 18, 0.65);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: min(900px, 90vw);
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  display: block;
}

.lightbox-caption {
  padding: 18px 20px 22px;
}

.lightbox-caption h3 {
  margin: 0 0 6px;
}

.lightbox-caption p {
  margin: 0;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

@media (max-width: 640px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
  }
}

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .profile-placeholder {
    width: min(360px, 90vw);
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-info li {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    gap: 16px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 40px;
  }
}
