/* Page shell: warm dark background, phone left, text right. */
:root {
  --bg: #372e27;
  --text: #d8cec4;
  --text-dim: #a6988b;
  --text-bright: #f2ece5;
  --link: #f2ece5;
  --panel-w: 420px;
}

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

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 7vw, 120px);
  padding: 40px clamp(20px, 5vw, 64px);
}

.phone-col { flex-shrink: 0; }

/* ---- Right panel ---- */
.text-col {
  width: var(--panel-w);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  position: relative;
}

.panel { transition: opacity 0.35s ease, transform 0.35s ease; }
.panel.hiddenpanel {
  opacity: 0;
  transform: translateY(8px);
  position: absolute;
  inset: 0 0 auto 0;
  pointer-events: none;
}

.text-col h1 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}

.text-col p {
  font-size: 16.5px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 400;
}

.text-col a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 236, 229, 0.35);
  transition: border-color 0.2s;
}
.text-col a:hover { border-color: rgba(242, 236, 229, 0.9); }
.text-col strong { color: var(--text-bright); font-weight: 600; }

/* ---- Socials ---- */
.socials {
  margin-top: auto;
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.social-icons { display: flex; gap: 22px; }
.socials .social-icons a {
  color: var(--text-dim);
  border: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
}
.socials .social-icons a:hover { color: var(--text-bright); transform: translateY(-2px); }
.resume-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-bright);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 236, 229, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.resume-link:hover { border-color: rgba(242, 236, 229, 0.9); }
.resume-link svg { opacity: 0.7; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .layout {
    flex-direction: column-reverse;
    gap: 40px;
    padding: 48px 20px 64px;
  }
  .text-col { width: 100%; max-width: 460px; min-height: 0; }
  .panel.hiddenpanel { position: absolute; }
  .socials { margin-top: 8px; padding-top: 28px; }
}
