/* Hunt IT — site styles. No framework; system fonts; one file. */
:root {
  --bg: #0b0c0d; --bg-2: #141618; --ink: #f2f4f5; --ink-soft: #a3abb0;
  --accent: #2fd0b5; --accent-ink: #04211c; --line: #24282b; --radius: 14px;
  --ok: #2fd0b5; --err: #ff8a80;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { font: 18px/1.65 var(--font); background: var(--bg); color: var(--ink); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
.logo { fill: var(--accent); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11,12,13,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 15px; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav ul { list-style: none; display: flex; gap: 6px; }
.nav ul a { color: var(--ink-soft); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 8px; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--ink); background: rgba(255,255,255,.06); text-decoration: none; }

/* Hero */
.hero { min-height: min(88vh, 760px); display: grid; place-items: center; text-align: center; padding: 64px 0;
  background: linear-gradient(180deg, rgba(11,12,13,.15) 0%, rgba(11,12,13,.55) 60%, var(--bg) 100%), url(../img/hero.webp) center 70% / cover no-repeat var(--bg); }
.hero .mark { width: 76px; height: 76px; margin: 0 auto 18px; display: block; }
.hero h1 { font-size: clamp(44px, 9vw, 96px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; font-weight: 800; }
.hero p { margin: 20px auto 34px; color: #e3e8ea; font-size: clamp(18px, 2.4vw, 23px); line-height: 1.5; }
.hero p span { display: inline-block; }
.hero p span + span::before { content: "·"; color: var(--accent); margin: 0 .5em; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; font-size: 16px; line-height: 1.4; padding: 13px 24px; border: 0; border-radius: 999px; cursor: pointer; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid rgba(255,255,255,.35); margin-left: 8px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Sections */
section { padding: 96px 0; }
.eyebrow { color: var(--accent); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
h2, .page-head h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin-bottom: 24px; }
.about { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.about p { color: #d3d9dc; }
.about p + p { margin-top: 18px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; }
.skills li { border: 1px solid var(--line); background: var(--bg-2); border-radius: 999px; padding: 5px 13px; font-size: 14px; color: var(--ink-soft); }

/* Projects */
.projects { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 36px; }
.head h2 { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: #3a4044; }
.shot { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1b1f22, #262b2f); border-bottom: 1px solid var(--line); overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot:empty::after { content: ""; position: absolute; inset: 0; background: url(../favicon.svg) center / 52px no-repeat; opacity: .16; }
.card .body { padding: 18px 20px 22px; }
.meta { font-size: 13px; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.card h3, .card h2 { font-size: 20px; line-height: 1.3; margin: 4px 0 8px; }
.card p { font-size: 16px; color: var(--ink-soft); line-height: 1.55; }
.page-head { padding: 72px 0 40px; }
.page-head p { color: var(--ink-soft); max-width: 68ch; text-wrap: balance; }
p { text-wrap: pretty; }
.page-grid { padding: 0 0 96px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.contact .lead { color: var(--ink-soft); }
form { display: grid; gap: 16px; }
label { font-size: 14px; color: var(--ink-soft); display: grid; gap: 6px; }
input, textarea { font: inherit; font-size: 17px; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
textarea { resize: vertical; min-height: 140px; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
input.short { max-width: 140px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 16px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--ink-soft); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
footer a { color: var(--ink-soft); display: inline-flex; gap: 6px; align-items: center; }
footer a:hover { color: var(--ink); }
footer svg { width: 18px; height: 18px; fill: currentColor; }

/* Simple message page (humans.php fallback) */
.message { min-height: 70vh; display: grid; place-items: center; text-align: center; }

@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .about, .contact { grid-template-columns: 1fr; gap: 24px; }
  .grid, .row2 { grid-template-columns: 1fr; }
  .nav ul a { padding: 8px; font-size: 13px; letter-spacing: .04em; }
  .brand span { display: none; }
  section { padding: 64px 0; }
  .page-head { padding: 48px 0 28px; }
  .btn.ghost { margin: 10px 0 0; }
  .hero p span { display: block; }
  .hero p span + span::before { content: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card:hover { transition: none; transform: none; }
}
