/* stephenwood.ca — shared styles
   Dark industrial palette · Oswald (headings) + IBM Plex Sans (body) · gold accent */

:root {
  --bg: #0f1114;
  --bg-panel: #181b20;
  --bg-alt: #14161b;
  --text: #eae7e0;
  --text-muted: #9aa0ab;
  --border: #2a2e37;
  --accent: #d4a72c;
  --accent-dark: #a9821f;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', Arial, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  background-color: #080202;
  background-image:
    repeating-linear-gradient(93deg,
      rgba(255,255,255,0.04) 0px,
      rgba(255,255,255,0.04) 2px,
      rgba(0,0,0,0.36) 40px,
      rgba(0,0,0,0.16) 90px,
      rgba(255,255,255,0.02) 140px,
      rgba(0,0,0,0.28) 180px
    ),
    repeating-linear-gradient(87deg,
      rgba(255,255,255,0.03) 0px,
      rgba(0,0,0,0.30) 25px,
      rgba(255,255,255,0.02) 65px,
      rgba(0,0,0,0.24) 110px
    ),
    radial-gradient(ellipse 1200px 800px at 35% 30%, rgba(90,14,14,0.13), transparent 65%),
    linear-gradient(180deg, rgba(0,0,0,0.78), transparent 15%, transparent 80%, rgba(0,0,0,0.84)),
    linear-gradient(90deg, #140404, #0c0303 50%, #140404);
  background-blend-mode: overlay, overlay, screen, normal, normal;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  margin: 0 0 0.5em 0;
  font-weight: 600;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

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

/* Header / nav */
header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.logo span { color: var(--accent); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--accent);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

.hero .eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  max-width: 720px;
}

.hero p.lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin-top: 18px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-inner .hero-text { flex: 1 1 auto; }
.hero-photo {
  flex: 0 0 auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 6px var(--bg-panel);
}
@media (max-width: 780px) {
  .hero-inner { flex-direction: column; text-align: left; }
  .hero-photo { width: 200px; height: 200px; }
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 2px;
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: #14161b;
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  text-decoration: none;
  color: #14161b;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
}
.btn-outline:hover {
  background: rgba(212, 167, 44, 0.1);
  text-decoration: none;
}

/* Hero stat callout */
.hero-stat {
  margin-top: 40px;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 26px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
}
.hero-stat .stat-num {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
}
.hero-stat .stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Trust strip */
.trust-strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trust-strip .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-strip .trust-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.trust-strip ul {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.trust-strip li {
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* What I bring — pillar grid */
.bring-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0 0;
}
.bring-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 24px 22px;
}
.bring-card h3 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.bring-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* YouTube channel chips */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 20px 0 0;
}
.channel-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.channel-chip:hover {
  border-color: var(--accent);
  background: var(--bg-panel);
  text-decoration: none;
}
.channel-chip svg { flex: 0 0 auto; color: var(--accent); }

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.stat-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 26px 22px;
}
.stat-card .num {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2.1rem;
  color: var(--accent);
  font-weight: 700;
  display: block;
}
.stat-card .label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* Sections */
section {
  padding: 64px 0;
}
section.alt {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
section h2 {
  font-size: 1.7rem;
  margin-bottom: 26px;
}
section h2 .accent-dot::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  margin-right: 12px;
  border-radius: 1px;
}

p { color: var(--text); }
p.muted { color: var(--text-muted); }

/* Timeline (Experience page) */
.timeline {
  border-left: 2px solid var(--border);
  padding-left: 30px;
  margin-left: 6px;
}
.timeline-item {
  position: relative;
  margin-bottom: 42px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg);
}
.timeline-item .role {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.2rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.timeline-item .meta {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.timeline-item ul {
  margin: 10px 0 0 0;
  padding-left: 20px;
  color: var(--text-muted);
}
.timeline-item li { margin-bottom: 6px; }

/* Photo placeholder blocks */
.photo-placeholder {
  border: 2px dashed var(--border);
  background: var(--bg-alt);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  padding: 20px;
  min-height: 220px;
}
.photo-placeholder.round {
  border-radius: 50%;
  width: 220px;
  height: 220px;
  min-height: 0;
  margin: 0 auto;
}

.round-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  display: block;
  margin: 0 auto;
}

.about-headshot {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  flex: 0 0 auto;
}
.about-intro-row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Feature row: image + text, alternating (Personal page) */
.feature-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  grid-template-areas: "photo text";
  gap: 48px;
  align-items: center;
}
.feature-row.reverse {
  grid-template-columns: 1fr 340px;
  grid-template-areas: "text photo";
}
.feature-img { grid-area: photo; }
.feature-text { grid-area: text; }
.feature-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 4px solid var(--accent);
  display: block;
}
.feature-text h3 {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.feature-text h2 { margin-bottom: 18px; }
@media (max-width: 760px) {
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .feature-img,
  .feature-row.reverse .feature-text { order: initial; }
  .feature-img { max-height: 320px; }
}

.about-personal {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 640px) {
  .about-personal { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}

.editable-note {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--accent);
  background: rgba(212,167,44,0.08);
  border: 1px dashed var(--accent);
  padding: 4px 10px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.contact-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}
.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.contact-card a.btn {
  margin-top: 10px;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0;
  background: var(--bg-alt);
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer.site-footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}
footer .footer-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
footer .footer-nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
}
footer .footer-nav a:hover { color: var(--accent); }
