:root {
  --bg: #000;
  --bg-alt: #0b0b0d;
  --bg-contact: #151011;
  --card: #141418;
  --card-border: #26262c;
  --text: #fff;
  --muted: #b4b4bb;
  --accent: #ff7a3d;
  --red: #ff3b47;
  --lav: #d6c8f2;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 70px);
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
}
.logo { font-weight: 700; letter-spacing: .08em; font-size: 15px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--card-border);
  color: var(--text); font: inherit; font-size: 13px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 130px clamp(20px, 5vw, 70px) 70px;
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px); align-items: center;
  background-color: #000;
  background-image:
    radial-gradient(ellipse at 20% 40%, rgba(0,0,0,.2), #000 85%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='180' viewBox='0 0 104 180'%3E%3Cg fill='none' stroke='%23ff3b47' stroke-opacity='.22' stroke-width='1.2'%3E%3Cpath d='M52 0 L104 30 L104 90 L52 120 L0 90 L0 30 Z'/%3E%3Cpath d='M52 120 L52 180 M104 90 L104 150 L52 180 M0 90 L0 150 L52 180'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 104px 180px;
}
.eyebrow {
  color: var(--accent); font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
.gradient-name {
  margin: 22px 0 36px;
  font-size: clamp(48px, 7.4vw, 96px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em;
  background: linear-gradient(100deg, var(--lav) 0%, #e58aa6 50%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.role { font-size: clamp(22px, 2.5vw, 30px); font-weight: 600; line-height: 1.4; }
.lead { margin: 26px 0 28px; max-width: 640px; font-size: 18px; color: var(--muted); }
.stack-box {
  max-width: 740px; padding: 20px 20px; border: 1px solid #333;
  border-radius: 10px; background: #100d0d; font-weight: 500; font-size: 15px;
}
.auth { margin-top: 28px; color: var(--muted); font-size: 16px; }
.tagline { margin-top: 56px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.hero-photo img {
  display: block; width: 100%; max-height: 640px; object-fit: cover;
  border-radius: 28px;
}
.hero-photo figcaption { margin-top: 18px; font-size: 12px; }

/* SECTIONS */
.section { padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 70px); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section.alt { background: var(--bg-alt); }
.section.contact { background: var(--bg-contact); }
.title {
  margin: 14px auto 40px; font-size: clamp(30px, 4vw, 44px);
  font-weight: 700; letter-spacing: -.01em; line-height: 1.2;
}
.big { font-size: clamp(18px, 2vw, 22px); font-weight: 400; line-height: 1.6; margin-bottom: 22px; }
.body-muted { color: var(--muted); font-size: 17px; }
.body-muted a:hover, .links a:hover, .email:hover { text-decoration: underline; }

/* CARDS */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 22px; padding: 32px;
}
.card h3 { font-size: 22px; font-weight: 600; line-height: 1.3; margin-bottom: 14px; }
.card p, .card li { color: var(--muted); font-size: 16.5px; }
.card .meta {
  color: var(--accent); font-size: 14px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px;
}
.card .meta.spaced { margin-top: 20px; }
.card .sub { font-size: 15px; margin-bottom: 18px; }
.card strong { font-weight: 500; color: #e6e6ea; }
.card ul { list-style: none; }
.card.job li { position: relative; padding-left: 18px; margin-bottom: 12px; }
.card.job li::before { content: "•"; position: absolute; left: 0; color: var(--muted); }
.card ul.plain li { margin-bottom: 4px; }
.card ul.plain li::before { content: "•"; margin-right: 10px; }
.job { margin-bottom: 24px; }
.stack { display: grid; gap: 22px; }
.project .num { display: block; color: var(--accent); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.card.wide { margin-top: 24px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.email { display: inline-block; margin: 14px 0 20px; font-size: clamp(24px, 3vw, 34px); font-weight: 600; word-break: break-all; }
.links { display: grid; gap: 18px; padding-top: 14px; }
.links a { color: #ffa77a; font-size: 18px; font-weight: 400; word-break: break-all; }
.foot { margin-top: 56px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-photo { max-width: 420px; }
  .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #000;
    border-top: 1px solid var(--card-border);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links a { padding: 16px clamp(20px, 5vw, 70px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
