*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --text: #0c0c0b;
  --text-muted: #888888;
  --text-faint: #c8c8c8;
  --link-underline: #e0e0e0;
  --accent: #E05020;
  --strip: #E05020;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0b;
    --text: #f5f5f3;
    --text-muted: #888888;
    --text-faint: #444444;
    --link-underline: #333333;
    --accent: #F06830;
    --strip: #F06830;
  }
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Orange strip at top — functional, Braun-style */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--strip);
  z-index: 10;
}

main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 48px;
}

.content {
  max-width: 560px;
  width: 100%;
  opacity: 0;
  animation: fadein 0.4s ease 0.1s forwards;
}

@keyframes fadein {
  to { opacity: 1; }
}

/* Header */

header {
  margin-bottom: 40px;
}

h1 {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 26px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0em;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--text);
}

/* Blinking cursor — the one bit of personality */
.cursor {
  color: var(--accent);
  font-weight: 400;
  animation: blink 1.2s step-end infinite;
  text-decoration: none;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.role {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0;
}

.role a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--link-underline);
  transition: color 0.12s ease, border-color 0.12s ease;
}

.role a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Intro */

.intro {
  margin-bottom: 40px;
}

.intro p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 20px;
}

/* Footer / contact */

footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}

footer a:first-child::before {
  content: '// ';
  color: var(--text-faint);
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 12px;
}

footer a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--link-underline);
  transition: color 0.12s ease, border-color 0.12s ease;
  line-height: 1.4;
}

footer a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.sep {
  color: var(--text-faint);
  font-size: 14px;
  line-height: 1;
  user-select: none;
}

/* Location status panel */

.status {
  position: fixed;
  bottom: 48px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  opacity: 0;
  animation: fadein 0.4s ease 0.4s forwards;
}

.location {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.28;
  transition: opacity 0.25s ease;
}

.location.active {
  opacity: 1;
  cursor: default;
}

.location:not(.active):hover {
  opacity: 0.5;
}

.loc-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.loc-dot {
  font-size: 7px;
  color: var(--text-faint);
  transition: color 0.25s ease;
}

.location.active .loc-dot {
  color: var(--accent);
}

.loc-time {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.01em;
}

.location:not(.active) .loc-time {
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .status {
    display: none;
  }
}

/* Mobile */

@media (max-width: 600px) {
  main {
    padding: 72px 28px;
    align-items: flex-start;
  }

  .sep {
    display: none;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
