* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #e8e3dc;
  --surface: #fbfaf7;
  --ink: #171717;
  --muted: #68645f;
  --accent: #171717;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.72), transparent 30rem),
    linear-gradient(135deg, #eeeae4 0%, #ddd7cf 100%);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px;
}

main {
  width: min(1180px, 100%);
  min-height: min(800px, calc(100vh - 84px));
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 32px 90px rgba(30,25,20,.16), 0 8px 24px rgba(30,25,20,.08);
}

.hero {
  position: relative;
  min-height: 716px;
  overflow: hidden;
  background: #d4d0c9;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.22), transparent 30%),
    linear-gradient(to top, rgba(0,0,0,.70), transparent 58%);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 999px;
  background: rgba(20,20,20,.24);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.status { position: absolute; top: 28px; left: 28px; }

.dotwrap {
  width: 15px; height: 15px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: rgba(52,211,153,.28);
}
.dot {
  width: 8px; height: 8px; border-radius: 999px; background: #34d399;
  animation: pulse 1.8s ease-out infinite;
}

.name {
  position: absolute;
  right: 34px; bottom: 40px; left: 34px;
  color: #fff;
  animation: up .7s cubic-bezier(.2,.7,.2,1) both;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(64px, 7vw, 94px);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.035em;
}

h1 em { font-style: italic; font-weight: 500; }

.loc { margin-top: 18px; width: fit-content; }

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(48px, 6vw, 86px);
  background:
    radial-gradient(circle at 100% 0%, rgba(220,210,195,.38), transparent 26rem),
    var(--surface);
}

.copy { max-width: 570px; }

.eyebrow {
  margin-bottom: 17px;
  color: #9a9188;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bio {
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.75;
  letter-spacing: -.012em;
}

.language-bar {
  position: fixed;
  z-index: 20;
  top: 22px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 12px;
  border: 1px solid rgba(23,23,23,.09);
  border-radius: 999px;
  background: rgba(251,250,247,.90);
  box-shadow: 0 10px 30px rgba(23,23,23,.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.language-label {
  color: #77716a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.language-select-wrap { display: flex; align-items: center; gap: 5px; }
.globe { color: #5e5a55; font-size: 16px; line-height: 1; }

#languageSelect {
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #24211f;
  padding: 3px 22px 3px 0;
  font: 700 13px/1 "DM Sans", sans-serif;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #6c6761 50%),
    linear-gradient(135deg, #6c6761 50%, transparent 50%);
  background-position: calc(100% - 8px) 50%, calc(100% - 4px) 50%;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 470px);
  min-height: 72px;
  margin-top: 34px;
  padding: 7px;
  border: 1px solid rgba(23,23,23,.14);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(23,23,23,.20), 0 5px 12px rgba(23,23,23,.10);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn:hover {
  transform: translateY(-3px);
  background: #292929;
  box-shadow: 0 22px 42px rgba(23,23,23,.25), 0 7px 15px rgba(23,23,23,.12);
}

.btn:focus-visible { outline: 3px solid rgba(23,23,23,.24); outline-offset: 4px; }

.btn-main {
  width: 100%; min-height: 56px; display: flex; align-items: center;
  justify-content: center; position: relative;
}

.circle {
  position: absolute; left: 0; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 999px; background: #fff; color: #171717;
  transition: transform .35s ease;
}
.btn:hover .circle { transform: translateX(3px) scale(1.05); }

.btn .t {
  padding: 0 64px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  text-align: center;
  white-space: nowrap;
}

.microcopy {
  margin-top: 13px;
  color: #a39c94;
  font-size: 12px;
  text-align: center;
  width: min(100%, 470px);
}

footer {
  margin-top: 42px;
  color: #aaa39b;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,.5); }
  70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

@keyframes up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .page-shell { padding: 24px; align-items: flex-start; }
  main { grid-template-columns: 1fr; max-width: 680px; min-height: auto; }
  .hero { min-height: 620px; height: 70vh; max-height: 720px; }
  .card { min-height: 440px; padding: 50px 42px 42px; }
}

@media (max-width: 560px) {
  .page-shell { padding: 0; display: block; }
  main { width: 100%; min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .language-bar { top: 14px; right: 14px; }
  .language-label { display: none; }
  .hero { min-height: 560px; height: 68vh; }
  .status { top: 18px; left: 18px; }
  .name { right: 22px; bottom: 30px; left: 22px; }
  h1 { font-size: clamp(58px, 17vw, 78px); }
  .card { margin-top: -24px; min-height: 430px; padding: 40px 22px 30px; border-radius: 26px 26px 0 0; }
  .bio { font-size: 17px; line-height: 1.68; }
  .btn { min-height: 68px; margin-top: 28px; }
  .btn .t { font-size: 12px; letter-spacing: .10em; }
  footer { margin-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
