:root {
  color-scheme: light;
  --paper: #f4efe6;
  --ink: #18211d;
  --muted: #657068;
  --line: rgba(24, 33, 29, 0.17);
  --accent: #e0603d;
  --accent-dark: #b84226;
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 12%, rgba(224, 96, 61, 0.08), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(24, 33, 29, 0.035) 1px, transparent 1px);
  background-size: 100% 4rem;
  content: "";
  pointer-events: none;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.55rem 0.8rem;
  border-radius: 0.3rem;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  display: grid;
  width: min(100% - 3rem, 74rem);
  min-height: 100svh;
  margin: 0 auto;
  grid-template-rows: auto 1fr auto;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
}

.wordmark span,
.accent { color: var(--accent); }

.header-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.25rem rgba(224, 96, 61, 0.13);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.language-switch a { text-underline-offset: 0.2rem; }
.language-switch a:hover { color: var(--ink); }

.language-switch [aria-current="page"] {
  color: var(--ink);
  text-decoration-thickness: 0.14em;
  text-decoration-color: var(--accent);
}

.hero {
  align-self: center;
  max-width: 59rem;
  padding: clamp(5rem, 13vh, 9rem) 0;
}

.profile-image {
  display: block;
  width: clamp(6.5rem, 12vw, 9rem);
  height: auto;
  margin: 0 0 clamp(2rem, 5vh, 3.5rem);
  filter: drop-shadow(0.35rem 0.45rem 0 rgba(24, 33, 29, 0.13));
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 9vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.handle {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.intro {
  max-width: 42rem;
  margin: clamp(2.5rem, 6vh, 4rem) 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.55;
}

.intro strong {
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(224, 96, 61, 0.45);
  text-decoration-thickness: 0.18em;
  text-underline-offset: 0.14em;
}

.actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.primary-action,
.text-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-weight: 750;
  text-decoration: none;
}

.primary-action {
  min-height: 3.5rem;
  padding: 0.8rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 0.35rem;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0.35rem 0.35rem 0 var(--accent);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-action:hover {
  box-shadow: 0.2rem 0.2rem 0 var(--accent);
  transform: translate(0.15rem, 0.15rem);
}

.text-action { text-underline-offset: 0.25rem; }
.text-action:hover { color: var(--accent-dark); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.footer {
  gap: 2rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.footer p { margin: 0; }

.footer nav {
  display: flex;
  gap: 1.25rem;
}

.footer a { text-underline-offset: 0.2rem; }
.footer a:hover { color: var(--ink); }

@media (max-width: 40rem) {
  .shell { width: min(100% - 2rem, 74rem); }
  .topbar { padding: 1.25rem 0; }
  .header-meta { gap: 0.8rem; }
  .location { display: none; }
  .hero { padding: 4.5rem 0; }
  .actions { align-items: stretch; flex-direction: column; }
  .text-action { padding: 0.65rem; }
  .footer { align-items: flex-start; flex-direction: column; gap: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
