/*
Theme Name: DaemonHive Studio
Theme URI: https://daemonhive.net/
Author: DaemonHive
Description: Custom business portfolio theme for DaemonHive.
Version: 1.2.0
*/
:root {
  --bg: #070d1a;
  --surface: #101b31;
  --surface-2: #152645;
  --surface-3: #1a3157;
  --line: #294773;
  --text: #edf2ff;
  --muted: #b7c4de;
  --brand: #ffc44d;
  --brand-ink: #1d1a12;
  --accent: #66b9ff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(120% 95% at 15% -10%, #173668 0%, rgba(23, 54, 104, 0) 45%),
    radial-gradient(90% 70% at 100% 0%, #102a4f 0%, rgba(16, 42, 79, 0) 52%),
    var(--bg);
  line-height: 1.62;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #9dd4ff; }
.container { width: min(1160px, 92vw); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(7, 13, 26, 0.74);
  border-bottom: 1px solid rgba(74, 117, 178, 0.28);
}
.site-header__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 76px;
}
.brand {
  font-family: Space Grotesk, Manrope, sans-serif;
  font-size: 1.17rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: #fff;
}
.nav { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  font-size: .94rem;
  font-weight: 600;
  transition: color .18s ease;
}
.nav a:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  border-radius: 11px;
  padding: .64rem 1rem;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 8px 26px rgba(255, 196, 77, .28);
}
.btn-primary:hover { background: #ffd680; color: #1b1610; }
.btn-secondary {
  border-color: rgba(92, 137, 201, .42);
  color: #e7f0ff;
  background: linear-gradient(180deg, rgba(27, 48, 82, .92), rgba(20, 36, 63, .92));
}
.btn-secondary:hover { background: linear-gradient(180deg, rgba(36, 63, 104, .95), rgba(27, 48, 82, .95)); }
.hero { padding: 6rem 0 3.2rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.2rem; align-items: start; }
.eyebrow {
  margin: 0 0 .65rem;
  color: var(--brand);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}
h1, h2, h3 {
  font-family: Space Grotesk, Manrope, sans-serif;
  letter-spacing: -.015em;
}
h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.05;
  max-width: 18ch;
}
.lede {
  color: var(--muted);
  max-width: 65ch;
  margin-bottom: 1.15rem;
  font-size: 1.02rem;
}
.hero-actions { display:flex; gap:.7rem; flex-wrap:wrap; }
.hero-panel {
  background: linear-gradient(180deg, rgba(22, 39, 68, .9), rgba(17, 31, 54, .94));
  border: 1px solid rgba(82, 124, 183, .33);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 10px 30px rgba(3, 8, 18, .45);
}
.hero-panel h3 { margin: 0 0 .5rem; font-size: 1.02rem; }
.hero-panel ul { margin: 0; padding-left: 1.05rem; color: var(--muted); }
.proof-strip { padding: 0 0 1.4rem; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}
.proof-grid article {
  background: rgba(20, 36, 63, .74);
  border: 1px solid rgba(93, 136, 199, .28);
  border-radius: 12px;
  padding: .8rem .9rem;
}
.proof-grid span {
  display: block;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9db6d9;
  margin-bottom: .28rem;
  font-weight: 700;
}
.proof-grid strong {
  display: block;
  font-size: .97rem;
  color: #e7efff;
  line-height: 1.35;
}
.section { padding: 3.3rem 0; }
.section--alt {
  background: linear-gradient(180deg, rgba(15, 28, 50, .72), rgba(15, 28, 50, .42));
  border-top: 1px solid rgba(75, 118, 177, .25);
  border-bottom: 1px solid rgba(75, 118, 177, .25);
}
.section h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.55rem);
  margin: 0 0 1rem;
}
.split-head {
  display:flex;
  justify-content:space-between;
  gap:1rem;
  align-items:flex-end;
  margin-bottom: .9rem;
  flex-wrap:wrap;
}
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; }
.tile, .card {
  background: linear-gradient(180deg, rgba(23, 39, 68, .9), rgba(19, 33, 58, .9));
  border: 1px solid rgba(86, 127, 187, .32);
  border-radius: 14px;
  padding: 1.02rem;
}
.tile h3, .card h3 { margin: .08rem 0 .45rem; font-size: 1.12rem; }
.tile p, .card p { color: var(--muted); margin: 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.project-card {
  position: relative;
  overflow: hidden;
}
.project-card__media {
  display: block;
  overflow: hidden;
  border-radius: 11px;
}
.project-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 11px;
  border: 1px solid rgba(84, 127, 189, .32);
  background: #0c172b;
  transition: transform .22s ease;
}
.project-card:hover img { transform: scale(1.02); }
.project-card__meta { color: #b8c6df; font-size: .9rem; margin-top: .45rem; }
.kicker {
  color: var(--brand);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-top: .75rem;
}
.outcomes { margin: .55rem 0 0; padding-left: 1rem; color: var(--muted); }
.code-block {
  background: #071124;
  border: 1px solid #294977;
  border-radius: 10px;
  padding: .9rem;
  overflow-x: auto;
  font-size: .84rem;
  line-height: 1.45;
  color: #d7e8ff;
}
.project-cta-row { display:flex; gap:.7rem; flex-wrap:wrap; margin:.9rem 0; }
.cta-strip {
  display:flex;
  justify-content:space-between;
  gap:1rem;
  align-items:center;
  flex-wrap:wrap;
}
.cta-strip p { color: var(--muted); margin: 0; }
.cta-panel p { color: var(--muted); }
.contact-shell {
  background: linear-gradient(180deg, rgba(20, 37, 65, .76), rgba(18, 33, 58, .76));
  border: 1px solid rgba(86, 127, 187, .28);
  border-radius: 16px;
  padding: 1.1rem;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; margin-bottom: .32rem; color: #deebff; }
input, textarea {
  width: 100%;
  background: #0a1730;
  border: 1px solid rgba(96, 140, 204, .38);
  color: #f2f6ff;
  border-radius: 9px;
  padding: .62rem .66rem;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #8ac8ff;
  box-shadow: 0 0 0 3px rgba(90, 164, 238, .18);
}
textarea { min-height: 150px; resize: vertical; }
.notice {
  border: 1px solid #356097;
  background: #133158;
  border-radius: 10px;
  padding: .66rem .78rem;
  margin-bottom: .8rem;
}
.site-footer {
  border-top: 1px solid rgba(76, 117, 177, .32);
  padding: 1.25rem 0;
  color: var(--muted);
}
.meta-row { display: flex; gap: 1.2rem; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }

@media (max-width: 980px) {
  .hero-grid, .project-grid, .tiles, .proof-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .site-header__inner { flex-direction: column; align-items: flex-start; padding: .7rem 0; }
  .hero { padding-top: 4.2rem; }
  .hero-grid, .project-grid, .tiles, .proof-grid, .form-grid { grid-template-columns: 1fr; }
}
