/* Romano Assets — one stylesheet, no framework, no web fonts (the system font loads instantly and phones home to nobody). */

:root {
  --bg: #0e1014;
  --surface: #161920;
  --surface-2: #1d212a;
  --line: #2a2f3a;
  --text: #e8eaef;
  --muted: #a3abb9;
  --gold: #f2b544;   /* Pawnheads */
  --teal: #4fd1c5;   /* the World Builder Kit */
  --radius: 14px;
  --wrap: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--gold);
  color: #111;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(14, 16, 20, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  color: #111;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
}
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

/* ---------- shared ---------- */

section { padding: 72px 0; }

h1, h2 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 16px; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 22ch; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }

.lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; margin: 0 0 24px; }

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-gold { color: var(--gold); }
.eyebrow-teal { color: var(--teal); }

.button {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--text);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.button:hover { transform: translateY(-1px); background: #fff; }
.button-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.button-ghost:hover { background: var(--surface-2); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.tags li {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}
.tags .tag-status { border-color: var(--gold); color: var(--gold); }
.tags .tag-status-teal { border-color: var(--teal); color: var(--teal); }

figure { margin: 0; }
figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }

/* ---------- intro ---------- */

.intro {
  padding: 96px 0 80px;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(242, 181, 68, 0.12), transparent 70%),
    radial-gradient(600px 300px at 90% 20%, rgba(79, 209, 197, 0.10), transparent 70%);
}

/* ---------- projects ---------- */

.project { border-top: 1px solid var(--line); }
.project-alt { background: var(--surface); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.features li {
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
}
.features strong { color: var(--text); }

/* ---------- contact ---------- */

.contact { border-top: 1px solid var(--line); text-align: center; }
.contact .lead { margin-left: auto; margin-right: auto; }
.email { background: var(--gold); word-break: break-all; }
.email:hover { background: #f6c86d; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: 0.9rem; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-row p { margin: 0; }

/* ---------- phones and small tablets ---------- */

@media (max-width: 820px) {
  section { padding: 56px 0; }
  .intro { padding: 64px 0 56px; }
  .gallery { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav { gap: 12px; font-size: 14px; }
  .brand > span:last-child { display: none; } /* just the R mark: room for the three links */
}
