:root {
  color-scheme: dark;
  font-family: Georgia, "Times New Roman", serif;
  --bg-start: #07110a;
  --bg-mid: #123221;
  --bg-end: #2f5b3b;
  --surface: #14241a;
  --surface-alt: #193021;
  --surface-soft: #22422d;
  --border: #2f5b3b;
  --text: #f2f8ef;
  --text-muted: #b8d1b8;
  --accent: #6bd27d;
  --accent-dark: #9ee6a8;
  --accent-soft: #244a2e;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top left, rgba(107, 210, 125, 0.14), transparent 28%), linear-gradient(135deg, var(--bg-start), var(--bg-mid) 55%, var(--bg-end));
  color: var(--text);
  padding: 24px;
  font-family: "Raleway", sans-serif;
  position: relative;
}

.top-bar {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 2;
}

.lang-select-corner select {
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 10px 42px 10px 14px;
  min-width: 150px;
  background: linear-gradient(135deg, var(--surface-alt), var(--surface-soft));
  color: var(--text);
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.lang-select-corner select:hover,
.lang-select-corner select:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  display: flex;
  align-items: center;
  gap: 40px;
  width: min(100%, 1200px);
}

.photo-frame {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 220px;
}

.photo-frame-right {
  min-width: 280px;
}

.photo-frame-left {
  min-width: 280px;
}

.photo-left-slot {
  min-height: 420px;
}

.photo-slot {
  min-height: 190px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 6px 14px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-slot.photo-placeholder {
  padding: 14px;
  color: var(--accent);
  font-weight: 700;
  text-align: center;
}

.photo-slot.photo-placeholder span {
  display: block;
}

.photo-slot:hover {
  transform: scale(1.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 12px 24px rgba(0, 0, 0, 0.25);
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.photo-slot:hover img {
  transform: scale(1.08);
}

.photo-slot {
  cursor: pointer;
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.image-modal.is-open {
  display: flex;
}

.image-modal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
}

.photo-main {
  min-height: 360px;
}

.photo-frame-center .photo-slot {
  min-height: 280px;
}

.photo-frame-center {
  min-width: 260px;
}

.logo-slot {
  width: 250px;
  height: 250px;
  border: 1.5px solid var(--accent);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 auto 18px;
  overflow: hidden;
  padding: 12px;
}

.logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.card {
  width: min(100%, 640px);
  background: linear-gradient(145deg, var(--surface), rgba(10, 18, 13, 0.98));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 18px 42px var(--shadow);
  padding: 34px;
}

.badge {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h1,
.role {
  font-family: "Poppins", sans-serif;
}

h1 {
  margin: 0 0 6px;
  font-size: 2rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.role {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.description {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-family: "Raleway", sans-serif;
}

.info-box {
  background: linear-gradient(135deg, var(--surface-alt), rgba(16, 29, 20, 0.95));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  min-height: 170px;
  margin: 24px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 20px rgba(0,0,0,0.18);
}

.big-empty-box {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--accent-dark);
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  flex-direction: row;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  font-family: "Poppins", sans-serif;
  padding: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.big-empty-box p {
  margin: 0;
  white-space: nowrap;
  background: rgba(255,255,255,0.1);
  padding: 6px 10px;
  border-radius: 999px;
}

.info-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-family: "Raleway", sans-serif;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-links a {
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 10px;
  background: #1F4D39;
  color: #ffffff;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
  font-family: "Raleway", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.emoji {
  font-size: 0.9em;
  opacity: 0.85;
  line-height: 1;
}

.contact-links a:hover {
  transform: translateY(-2px);
  background: #2b6a4d;
}

@media (max-width: 760px) {
  .page-shell {
    flex-direction: column;
  }

  .photo-frame {
    flex-direction: row;
    width: 100%;
    min-width: 0;
  }

  .photo-frame .photo-slot {
    flex: 1;
  }
}
