/* =========================================================
   eDev Studio — site styles
   Brand colours live here; change them once, they apply everywhere.
   ========================================================= */
:root {
  --ink: #0b1220;          /* darkest background */
  --ink-2: #111a2e;        /* card background on dark */
  --ink-3: #1b2640;        /* borders on dark */
  --paper: #ffffff;
  --tint: #f3f5f9;         /* light section background */
  --text: #1d2433;
  --muted: #5d6779;
  --muted-light: #9aa6bd;
  --accent: #ffb547;       /* amber */
  --accent-2: #3ad6c5;     /* teal */
  --radius: 14px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--paper); }
h1, h2, h3, h4, h5, h6, .navbar-brand { font-family: var(--font-head); }
a { color: inherit; }
.text-accent { color: var(--accent) !important; }
.text-light-muted { color: var(--muted-light) !important; }

/* ---------- Buttons ---------- */
.btn-accent {
  --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-color: var(--ink);
  --bs-btn-hover-bg: #ffc56e; --bs-btn-hover-border-color: #ffc56e; --bs-btn-hover-color: var(--ink);
  --bs-btn-active-bg: #f0a530; --bs-btn-active-color: var(--ink);
  font-weight: 600;
}

/* ---------- Nav ---------- */
#mainNav { padding: 1.1rem 0; transition: background .25s, padding .25s, box-shadow .25s; }
#mainNav.scrolled, #mainNav.menu-open { background: rgba(11,18,32,.94); backdrop-filter: blur(10px); padding: .6rem 0; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.navbar-brand { font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--ink); font-weight: 700;
}
#mainNav .nav-link { color: rgba(255,255,255,.75); font-weight: 500; }
#mainNav .nav-link:hover, #mainNav .nav-link.active { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; padding: 9rem 0 6rem; overflow: hidden; }
.hero::after { /* glow */
  content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(58,214,197,.18), transparent 60%); pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
}
.eyebrow, .eyebrow-dark { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { color: var(--accent-2); }
.eyebrow-dark { color: #0f8f82; }
.pulse { font-size: .5rem; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.display-title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.hero-lead { color: #c7d0e0; max-width: 560px; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: #fff; }
.hero-stats span { color: var(--muted-light); font-size: .9rem; }

.code-card { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.4); transform: rotate(1.5deg); }
.code-card-bar { display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; border-bottom: 1px solid var(--ink-3); }
.code-card-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a4560; }
.code-card-bar span:nth-child(1) { background: #ff6b6b; } .code-card-bar span:nth-child(2) { background: var(--accent); } .code-card-bar span:nth-child(3) { background: var(--accent-2); }
.code-card-bar em { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--muted-light); }
.code-card pre { margin: 0; padding: 1.4rem 1.5rem; font-size: .92rem; line-height: 1.7; color: #dbe3f1; }
.c-k { color: #c3a6ff; } .c-p { color: var(--accent-2); } .c-s { color: var(--accent); } .c-b { color: #ff8fa3; }
.cursor { animation: pulse 1s steps(1) infinite; color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; margin: .5rem 0 1rem; }
.section-sub { color: var(--muted); font-size: 1.08rem; }

/* ---------- Services ---------- */
.tier-label { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 1.25rem; }
.tier-label i { color: var(--accent); }
.service-card {
  position: relative; height: 100%; padding: 1.75rem; border: 1px solid #e4e8f0; border-radius: var(--radius);
  background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,24,40,.08); border-color: transparent; }
.service-card h4 { font-size: 1.15rem; font-weight: 600; margin: 1rem 0 .5rem; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: .75rem; }
.service-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; background: #fff4e2; color: #c77a00; }
.service-card--alt { background: var(--tint); border-style: dashed; }
.service-card--alt .service-icon { background: #dff8f5; color: #0f8f82; }
.service-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.service-list li { font-size: .78rem; padding: .2rem .6rem; border-radius: 99px; background: var(--tint); color: var(--muted); }
.badge-expanding { position: absolute; top: 1.1rem; right: 1.1rem; font-size: .7rem; font-weight: 600; padding: .2rem .55rem; border-radius: 99px; background: #0f8f82; color: #fff; }

/* ---------- Work ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-btn { border: 1px solid var(--ink-3); background: transparent; color: var(--muted-light); padding: .45rem 1rem; border-radius: 99px; font-size: .9rem; font-weight: 500; transition: all .2s; }
.filter-btn:hover { color: #fff; border-color: #3a4560; }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.work-item { transition: opacity .25s; }
.work-item.is-hidden { display: none; }

.work-card { display: flex; flex-direction: column; height: 100%; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.work-card:hover { transform: translateY(-4px); border-color: #34415f; }
.work-thumb { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-art { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: rgba(255,255,255,.92); text-align: center; padding: 1rem; }
.thumb-art i { font-size: 2.8rem; }
.thumb-art span { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
.work-thumb::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 16px 16px; }
/* Placeholder gradients per project — delete once real screenshots are in */
.t-ourfamily   { background: linear-gradient(135deg, #ff8a5b, #d6406f); }
.t-truenorth   { background: linear-gradient(135deg, #1e5aa8, #31b3c9); }
.t-beefrecords { background: linear-gradient(135deg, #2b0f0f, #b3261e); }
.t-askmybro    { background: linear-gradient(135deg, #3b2fc9, #8a5cf6); }
.t-beefmedia   { background: linear-gradient(135deg, #1b1b1b, #6b1c17); }
.t-dvp         { background: linear-gradient(135deg, #2f3b4c, #8796a8); }
.t-organizer   { background: linear-gradient(135deg, #0f7a5c, #6ad49b); }

.work-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { font-size: 1.25rem; font-weight: 600; margin: .6rem 0 .5rem; }
.work-body p { color: var(--muted-light); font-size: .95rem; }
.work-meta { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--muted-light); }
.status { font-weight: 600; padding: .15rem .55rem; border-radius: 99px; font-size: .72rem; }
.status-live { background: rgba(58,214,197,.15); color: var(--accent-2); }
.status-dev { background: rgba(255,181,71,.15); color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.tags span { font-size: .75rem; padding: .15rem .55rem; border-radius: 6px; background: var(--ink-3); color: #c7d0e0; }
.work-link { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--accent); text-decoration: none; }
.work-link:hover { text-decoration: underline; }
.work-link.muted { color: var(--muted-light); }
.work-card--dev .work-thumb { filter: saturate(.75); }
.work-card--cta { align-items: center; justify-content: center; text-align: center; padding: 2.5rem 2rem; border-style: dashed; text-decoration: none; color: #fff; min-height: 320px; }
.work-card--cta > i { font-size: 2.4rem; color: var(--accent); margin-bottom: 1rem; }
.work-card--cta h3 { font-size: 1.3rem; }
.work-card--cta p { color: var(--muted-light); }
.work-card--cta .work-link { margin-top: .5rem; }

/* ---------- Process ---------- */
.step { height: 100%; padding: 1.75rem; border-radius: var(--radius); background: var(--tint); position: relative; }
.step-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px #0f8f82; }
.step h4 { font-weight: 600; font-size: 1.15rem; margin: .5rem 0; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.tech-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.5rem; border: 1px solid #e4e8f0; border-radius: var(--radius); }
.tech-label { font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.tech-strip li { font-size: .85rem; padding: .3rem .75rem; border-radius: 8px; background: var(--ink); color: #fff; font-family: var(--font-head); }

/* ---------- About ---------- */
.why { height: 100%; background: #fff; border-radius: var(--radius); padding: 1.4rem; border: 1px solid #e4e8f0; }
.why i { font-size: 1.5rem; color: #c77a00; }
.why h5 { font-size: 1rem; font-weight: 600; margin: .6rem 0 .3rem; }
.why p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-list li { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; color: #dbe3f1; }
.contact-list i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--ink-3); color: var(--accent); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.contact-form { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 2rem; }
.contact-form .form-label { color: #c7d0e0; font-size: .9rem; font-weight: 500; }
.contact-form .form-control, .contact-form .form-select { background-color: var(--ink); border-color: var(--ink-3); color: #fff; }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(255,181,71,.2); background-color: var(--ink); color: #fff; }
.contact-form .form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239aa6bd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.contact-form .is-invalid { border-color: #ff6b6b !important; }
.form-status { font-size: .92rem; color: var(--muted-light); }
.form-status.ok { color: var(--accent-2); }
.form-status.err { color: #ff8fa3; }

/* ---------- Footer ---------- */
.site-footer { background: #070c16; color: var(--muted-light); padding: 4rem 0 2rem; }
.site-footer h6 { color: #fff; font-weight: 600; margin-bottom: 1rem; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--ink-3); margin-top: 2.5rem; padding-top: 1.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero { padding: 7.5rem 0 4.5rem; }
  .section { padding: 4.5rem 0; }
  #mainNav .navbar-collapse { padding: 1rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
