:root {
  --bg: #12141a;
  --ink: #eceae4;
  --soft: #9a968c;
  --line: #2a2e38;
  --panel: #1a1d25;
  --accent: #8eb4c9;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 720px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1000px 480px at 8% -8%, rgba(142, 180, 201, 0.1), transparent 55%),
    linear-gradient(180deg, #151820 0%, var(--bg) 42%, #0f1116 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #12141a;
  padding: 0.75rem 1rem;
  z-index: 10;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.top,
main,
footer {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
}

nav a {
  color: var(--soft);
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.hero {
  padding: clamp(3rem, 10vh, 5.5rem) 0 2.5rem;
}

.kicker {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 9vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.role {
  margin: 1rem 0 0;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.35;
}

.claim {
  margin: 1.5rem 0 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.lead {
  margin: 1.5rem 0 0;
  color: var(--soft);
  max-width: 42rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn {
  background: var(--ink);
  color: #12141a;
  border: 1px solid var(--ink);
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #0f1116;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--ink);
}

.band,
.services,
.stack,
.note {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.band p,
.stack p,
.note p {
  margin: 0;
  color: var(--soft);
}

.services dl {
  margin: 0;
  display: grid;
  gap: 0;
}

.services dl > div {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.services dl > div:first-child {
  border-top: 0;
  padding-top: 0.25rem;
}

.services dt {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.services dd {
  margin: 0;
  color: var(--soft);
}

.stack {
  background: var(--panel);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: max(1.25rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1.25rem, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stack h2,
.stack p {
  width: min(var(--max), 100%);
}

footer {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--line);
}

footer h2 {
  margin-bottom: 0.5rem;
}

footer > p {
  margin: 0;
  color: var(--soft);
}

.mail {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}

.mail:hover,
.mail:focus-visible {
  color: var(--accent);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem !important;
  font-size: 0.9rem;
}

.foot-links a {
  color: var(--soft);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--ink);
}

@media (max-width: 640px) {
  .top {
    padding-top: 1.15rem;
  }

  nav {
    gap: 0.9rem;
    font-size: 0.85rem;
  }

  nav a:first-child {
    display: none;
  }

  .actions {
    width: 100%;
  }

  .btn,
  .btn-ghost {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
