/* =========================================================================
   RadioactiveArtist.com
   Industrial / dark / Detroit-grounded. Stencil display type, brass accents,
   leather + concrete textures. Built to preserve the existing site's feel.
   ========================================================================= */

/* ----- Fonts (loaded in each HTML <head> from Google Fonts) -----
   Display: "Saira Stencil One" (military stencil)
   Headers: "Oswald" (condensed industrial)
   Body:    "Barlow" (clean, utilitarian)
*/

:root {
  --bg:        #0c0c0d;   /* near-black concrete */
  --bg-panel:  #16161a;   /* raised panel */
  --bg-panel2: #1d1d22;   /* hover / nested panel */
  --ink:       #e9e4da;   /* bone white text */
  --ink-dim:   #9b9489;   /* muted text */
  --brass:     #c8a25a;   /* brass / aged gold accent */
  --brass-dim: #8a7038;
  --leather:   #5a3a24;   /* leather brown */
  --hazard:    #d9c63b;   /* caution yellow, used sparingly */
  --line:      #2c2c30;   /* hairline borders */
  --danger:    #b5472d;   /* oxidized red */
  --maxw:      1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* subtle concrete grain */
  background-image:
    radial-gradient(circle at 20% 0%, rgba(200,162,90,0.05), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(90,58,36,0.08), transparent 45%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }

a { color: var(--brass); text-decoration: none; }
a:hover { color: var(--hazard); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: "Oswald", sans-serif; font-weight: 600; line-height: 1.1; letter-spacing: 0.5px; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: 1px; }

.stencil { font-family: "Saira Stencil One", "Oswald", sans-serif; letter-spacing: 1px; }

.eyebrow {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  color: var(--brass);
  margin: 0 0 1rem;
}

.lead { font-size: 1.25rem; color: var(--ink-dim); max-width: 60ch; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,12,13,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand .brand-name {
  font-family: "Saira Stencil One", sans-serif;
  font-size: 1.05rem; letter-spacing: 1px; color: var(--ink);
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: "Oswald", sans-serif; text-transform: uppercase;
  letter-spacing: 2px; font-size: 0.9rem; color: var(--ink); padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--brass); border-bottom-color: var(--brass); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--ink); padding: 8px 12px; cursor: pointer; font-size: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Oswald", sans-serif; text-transform: uppercase;
  letter-spacing: 2px; font-size: 0.95rem;
  padding: 14px 28px; border: 2px solid var(--brass); color: var(--brass);
  background: transparent; cursor: pointer; transition: all 0.18s ease;
}
.btn:hover { background: var(--brass); color: var(--bg); }
.btn-solid { background: var(--brass); color: var(--bg); }
.btn-solid:hover { background: var(--hazard); border-color: var(--hazard); color: var(--bg); }

/* ---------- Sections ---------- */
section { padding: 90px 0; border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 48px; }

/* ---------- Top banner (full-bleed image, logo overlaid left) ---------- */
.banner {
  position: relative; width: 100%;
  height: clamp(200px, 30vw, 520px);
  overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-panel);
}
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,12,13,0.80) 0%, rgba(12,12,13,0.35) 34%, rgba(12,12,13,0) 60%);
}
.banner-inner { position: relative; height: 100%; display: flex; align-items: center; }
.banner-logo {
  width: clamp(180px, 26vw, 430px); height: auto;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.7));
}
@media (max-width: 600px) {
  .banner { height: clamp(170px, 46vw, 260px); }
  .banner-scrim { background: linear-gradient(90deg, rgba(12,12,13,0.80) 0%, rgba(12,12,13,0.45) 50%, rgba(12,12,13,0.15) 100%); }
  .banner-logo { width: clamp(120px, 34vw, 180px); }
}

/* ---------- Hero (declarative statement, below the banner) ---------- */
.hero {
  padding: 66px 0 96px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero .eyebrow { color: var(--hazard); }
.hero h1 { max-width: none; font-size: clamp(2.4rem, 4.6vw, 3rem); }
.hero .lead { margin: 24px 0 36px; max-width: 62ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Two-column hero: copy on the left, large logo on the right */
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.hero-logo { display: flex; justify-content: center; }
.hero-logo img {
  width: 100%; max-width: 440px;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,0.65));
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-logo { order: -1; }            /* logo sits above the headline on mobile */
  .hero-logo img { max-width: 260px; }
}

/* ---------- Credibility bar ---------- */
.cred-bar {
  background: var(--bg-panel);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.cred-bar .wrap { text-align: center; }
.cred-awards {
  margin: 0 auto 16px; padding-bottom: 16px; max-width: 820px;
  border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: center;
  font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; font-size: 1rem; color: var(--brass);
}
.cred-brands {
  margin: 0;
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 0.85rem; color: var(--ink-dim); line-height: 2;
}
.cred-bar .em { color: var(--brass); }
.cred-bar .dot { color: var(--brass-dim); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: var(--bg-panel); border: 1px solid var(--line); padding: 32px;
  border-top: 3px solid var(--brass);
}
.pillar-img {
  width: calc(100% + 64px); margin: -32px -32px 24px; display: block;
  aspect-ratio: 16/9; object-fit: cover; border-bottom: 1px solid var(--line);
}
.pillar h3 { color: var(--ink); }
.pillar p { color: var(--ink-dim); margin: 0; font-size: 1rem; }

/* ---------- Build Lab / video grid ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card {
  background: var(--bg-panel); border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.video-card:hover { transform: translateY(-4px); border-color: var(--brass); }
.video-thumb {
  aspect-ratio: 16/9; background: var(--bg-panel2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-dim); font-family: "Oswald", sans-serif; letter-spacing: 1px;
  text-transform: uppercase; font-size: 0.85rem; position: relative;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb::after {
  content: "\25B6"; position: absolute; font-size: 1.7rem; color: var(--hazard);
  opacity: 0.92; text-shadow: 0 2px 10px rgba(0,0,0,0.7); pointer-events: none;
}
.video-card .meta { padding: 16px; }
.video-card .meta span { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }

/* ---------- Portfolio grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .work-grid.cols-2 { grid-template-columns: 1fr; } }
.work-card {
  background: var(--bg-panel); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; transition: border-color 0.18s ease, transform 0.18s ease;
}
.work-card:hover { border-color: var(--brass); transform: translateY(-4px); }
.work-hero {
  aspect-ratio: 16/9; background: var(--bg-panel2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-dim); font-family: "Oswald", sans-serif; text-transform: uppercase;
  letter-spacing: 2px; font-size: 0.85rem; border-bottom: 1px solid var(--line);
}
.work-body { padding: 26px; }
.work-body h3 { color: var(--ink); margin-bottom: 10px; }
.work-body p { color: var(--ink-dim); font-size: 1rem; margin: 0 0 16px; }
.work-link { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-panel); text-align: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--ink-dim); margin: 0 auto 28px; max-width: 50ch; }

/* ---------- Generic content (bio / resume) ---------- */
.content { padding: 80px 0; }
.content p { color: var(--ink); max-width: 68ch; }
.content .muted { color: var(--ink-dim); }

/* Bio portrait */
.bio-portrait {
  float: right; width: 300px; max-width: 42%; margin: 0 0 24px 32px;
  border: 1px solid var(--line); border-top: 3px solid var(--brass);
}
@media (max-width: 600px) {
  .bio-portrait { float: none; width: 100%; max-width: 100%; margin: 0 0 24px; }
}

/* Resume */
.resume-section { margin-bottom: 44px; }
.resume-job { padding: 18px 0; border-bottom: 1px solid var(--line); }
.resume-job .role { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.resume-job .role h3 { color: var(--ink); margin: 0; }
.resume-job .role .dates { font-family: "Oswald", sans-serif; color: var(--brass); letter-spacing: 1px; font-size: 0.9rem; }
.resume-job .company { color: var(--ink-dim); font-family: "Oswald", sans-serif; letter-spacing: 1px; text-transform: uppercase; font-size: 0.9rem; margin-top: 2px; }
.resume-job ul { margin: 12px 0 0; padding-left: 20px; }
.resume-job ul li { color: var(--ink-dim); font-size: 0.98rem; margin-bottom: 7px; }
.resume-job ul li::marker { color: var(--brass); }
.profile-block p { color: var(--ink); max-width: 75ch; }
.strength-row { margin-bottom: 14px; color: var(--ink-dim); max-width: 80ch; }
.strength-row b { color: var(--brass); font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; font-weight: 600; }
.skills-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.skills-list li { background: var(--bg-panel); border: 1px solid var(--line); padding: 8px 14px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; color: var(--ink-dim); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 20px; max-width: 640px; }
label { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.85rem; color: var(--brass); display: block; margin-bottom: 8px; }
input, select, textarea {
  width: 100%; background: var(--bg-panel); border: 1px solid var(--line);
  color: var(--ink); padding: 14px; font-family: "Barlow", sans-serif; font-size: 1rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brass); }
textarea { min-height: 160px; resize: vertical; }

/* ---------- Video embeds ---------- */
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; background: var(--bg-panel); border: 1px solid var(--line); margin-bottom: 28px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed .ve-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--ink-dim); font-family: "Oswald", sans-serif; letter-spacing: 2px;
  text-transform: uppercase; font-size: 0.9rem; text-align: center; padding: 0 20px;
}
.video-label { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 2px; color: var(--brass); font-size: 0.9rem; margin: 0 0 12px; }
.embed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.embed-grid .video-embed { margin-bottom: 0; }
@media (max-width: 860px) { .embed-grid { grid-template-columns: 1fr; } }

/* Centered section heading (Motion Design layout) */
.center-head { text-align: center; margin-bottom: 28px; }
.center-head h2 { display: inline-block; }
.center-head h2::after {
  content: ""; display: block; width: 60px; height: 2px;
  background: var(--brass-dim); margin: 14px auto 0;
}
/* Large centered reel */
.reel-wrap { max-width: 1000px; margin: 0 auto; }
.reel-sub { text-align: center; color: var(--ink-dim); max-width: 62ch; margin: 0 auto 34px; }
/* Selected work grid (title + video + description) */
.sw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.sw-item h3 { text-align: center; color: var(--ink); font-size: 1.05rem; margin-bottom: 16px; min-height: 2.6em; }
.sw-item .video-embed { margin-bottom: 18px; }
.sw-item p { color: var(--ink-dim); font-size: 0.95rem; margin: 0; }
@media (max-width: 860px) { .sw-grid { grid-template-columns: 1fr; } .sw-item h3 { min-height: 0; } }

/* ---------- Contact layout (form + capabilities) ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.contact-grid .form-grid { max-width: none; }
.capabilities {
  background: var(--bg-panel); border: 1px solid var(--line);
  border-top: 3px solid var(--brass); padding: 28px 30px;
}
.capabilities h3 { color: var(--ink); margin-bottom: 16px; }
.capabilities ul { list-style: none; padding: 0; margin: 0; }
.capabilities li {
  padding: 11px 0; border-bottom: 1px solid var(--line);
  color: var(--ink-dim); font-size: 0.95rem;
}
.capabilities li:last-child { border-bottom: none; }
.capabilities li::before { content: "\25B8"; color: var(--brass); margin-right: 10px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Connect / social links ---------- */
.connect { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.connect h3 { color: var(--ink); }
.connect-links { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 0; }
.connect-links a {
  display: inline-block; border: 1px solid var(--brass); color: var(--brass);
  padding: 10px 20px; font-family: "Oswald", sans-serif; text-transform: uppercase;
  letter-spacing: 2px; font-size: 0.85rem; transition: all 0.18s ease;
}
.connect-links a:hover { background: var(--brass); color: var(--bg); }

/* ---------- Page header (interior pages) ---------- */
.page-head { padding: 90px 0 50px; border-bottom: 1px solid var(--line); }
.page-head .eyebrow { color: var(--hazard); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-panel); padding: 50px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer .foot-brand { font-family: "Saira Stencil One", sans-serif; letter-spacing: 1px; color: var(--ink); text-transform: uppercase; }
.foot-links { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; }
.foot-links a { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; color: var(--ink-dim); }
.foot-links a:hover { color: var(--brass); }
.foot-note { width: 100%; color: var(--ink-dim); font-size: 0.85rem; border-top: 1px solid var(--line); padding-top: 20px; }

/* ---------- Image heroes (portfolio cards) ---------- */
img.work-hero {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
  border-bottom: 1px solid var(--line); background: var(--bg-panel2);
}

/* ---------- Photo gallery (project subpages) ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px;
}
.gallery img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; cursor: pointer;
  border: 1px solid var(--line); transition: border-color 0.15s ease, transform 0.15s ease;
  background: var(--bg-panel2);
}
.gallery img:hover { border-color: var(--brass); transform: scale(1.02); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.94);
  display: none; align-items: center; justify-content: center; z-index: 100;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border: 1px solid var(--line); }
.lb-btn {
  position: absolute; background: none; border: none; color: var(--ink);
  font-size: 2.6rem; cursor: pointer; padding: 14px; line-height: 1;
  font-family: "Oswald", sans-serif; user-select: none;
}
.lb-btn:hover { color: var(--brass); }
.lb-close { top: 8px; right: 20px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute; bottom: 18px; left: 0; right: 0; text-align: center;
  color: var(--ink-dim); font-family: "Oswald", sans-serif; letter-spacing: 2px; font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-panel);
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .pillars, .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section, .hero { padding: 60px 0; }
  .work-grid { grid-template-columns: 1fr; }
}
