/* ═══════════════════════════════════════════
   Bouncethebox Theme — assets/css/theme.css
   Grey + Blue dual-accent edition
   ═══════════════════════════════════════════ */

:root {
  --bg:           #080808;
  --surface:      #101418;
  --surface-2:    #161c22;
  --border:       #1e2630;
  --border-light: #2a3540;

  --blue:         #4aa8ff;
  --blue-dim:     #2e78cc;
  --blue-glow:    rgba(74,168,255,0.12);
  --grey:         #8fa3b5;
  --grey-dim:     #5a7080;
  --slate:        #141c25;

  --white:        #f0ece6;
  --muted:        #5c6b78;
  --muted-2:      #3d4e5a;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Mono', monospace;
  --font-serif:   'Fraunces', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
}

/* ── CURSOR ── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid var(--grey); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0.45;
  transition: width 0.2s, height 0.2s, opacity 0.2s, border-color 0.2s;
}

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 60px;
  border-bottom: 1px solid var(--border);
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(16px);
}
.logo {
  font-family: var(--font-display); font-size: 22px;
  letter-spacing: 0.04em; color: var(--white);
  display: flex; align-items: center; gap: 8px;
}
.logo-dot {
  display: inline-block; width: 8px; height: 8px;
  background: var(--blue); border-radius: 50%;
  animation: blink 2.4s ease-in-out infinite;
  box-shadow: 0 0 8px var(--blue);
}
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--blue); }
  50% { opacity: 0.2; box-shadow: none; }
}
.logo:hover .logo-text { animation: glitch 0.4s step-end; }
@keyframes glitch {
  0%   { text-shadow: none; }
  20%  { text-shadow: -2px 0 var(--blue), 2px 0 var(--grey); }
  40%  { text-shadow: 2px 0 var(--grey), -2px 0 var(--blue); }
  60%  { text-shadow: -1px 0 var(--blue), 1px 0 var(--grey); }
  80%  { text-shadow: 1px 0 var(--grey), -1px 0 var(--blue); }
  100% { text-shadow: none; }
}
.site-nav .nav-list { display: flex; gap: 32px; list-style: none; }
.site-nav .nav-list a {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
  position: relative;
}
.site-nav .nav-list a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--blue); transition: width 0.3s;
}
.site-nav .nav-list a:hover { color: var(--white); }
.site-nav .nav-list a:hover::after { width: 100%; }
.header-cta {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); background: transparent;
  border: 1px solid var(--blue); padding: 7px 20px;
  cursor: none; transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.header-cta:hover { background: var(--blue); color: var(--bg); box-shadow: 0 0 20px var(--blue-glow); }

/* ── HERO ── */
.hero {
  padding-top: 60px; min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero-left {
  padding: 80px 40px; display: flex; flex-direction: column;
  justify-content: center; border-right: 1px solid var(--border);
}
.hero-eyebrow {
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 10vw, 160px);
  line-height: 0.9; letter-spacing: -0.02em;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title .outline { -webkit-text-stroke: 1px var(--grey); color: transparent; display: block; }
.hero-title .filled  { color: var(--white); display: block; }
.hero-title .blue-word { color: var(--blue); display: block; text-shadow: 0 0 40px var(--blue-glow); }
.hero-sub {
  font-family: var(--font-serif); font-style: italic; font-size: 18px;
  color: var(--muted); margin-top: 32px; max-width: 420px; line-height: 1.5;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-meta {
  margin-top: 48px; display: flex; gap: 32px;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.hero-stat strong { font-family: var(--font-display); font-size: 36px; letter-spacing: 0.02em; }
.hero-stat:nth-child(1) strong { color: var(--blue); }
.hero-stat:nth-child(2) strong { color: var(--grey); }
.hero-stat:nth-child(3) strong { color: var(--blue); }
.hero-stat:nth-child(3) strong { color: var(--grey); }
.hero-stat span { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.hero-right { padding: 80px 40px; display: flex; align-items: center; }
.hero-featured {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--blue); padding: 40px;
  opacity: 0; animation: fadeIn 1s 1s forwards;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block; width: 100%;
}
.hero-featured:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px var(--blue-glow); }
.tag {
  display: inline-block; font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 3px 10px; margin-bottom: 16px;
  color: var(--blue); border: 1px solid var(--blue);
}
.tag.grey-tag { color: var(--grey); border-color: var(--grey-dim); }
.hero-featured h2 {
  font-family: var(--font-serif); font-size: 28px; line-height: 1.2;
  font-weight: 700; color: var(--white); margin-bottom: 16px;
}
.hero-featured p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.post-meta {
  display: flex; align-items: center; gap: 16px;
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.post-meta-date { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.post-meta-views { font-size: 10px; color: var(--grey-dim); }
.read-more {
  margin-left: auto; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--grey);
  display: flex; align-items: center; gap: 8px;
  transition: gap 0.2s, color 0.2s;
}
.read-more::after { content: '→'; }
.hero-featured:hover .read-more { gap: 14px; color: var(--blue); }

/* ── TICKER ── */
.ticker {
  background: var(--slate); overflow: hidden; height: 40px;
  display: flex; align-items: center;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.ticker-inner {
  display: flex; animation: ticker 32s linear infinite; white-space: nowrap;
}
.ticker-item {
  font-family: var(--font-display); font-size: 12px; letter-spacing: 0.12em;
  display: flex; align-items: center; padding: 0 28px; height: 40px;
  border-right: 1px solid var(--border);
}
.ticker-item:nth-child(odd)  { color: var(--blue); }
.ticker-item:nth-child(even) { color: var(--grey); }
.ticker-item::before { content: '◆'; font-size: 6px; margin-right: 12px; opacity: 0.4; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── MAIN ── */
.site-main { max-width: 1400px; margin: 0 auto; padding: 80px 40px; }
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 48px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.section-title {
  font-family: var(--font-display); font-size: 48px; color: var(--white);
  display: flex; align-items: center; gap: 16px;
}
.section-title::before {
  content: ''; display: block; width: 4px; height: 36px;
  background: linear-gradient(to bottom, var(--blue), var(--grey));
}
.section-count { font-size: 11px; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; }

/* ── POST GRID ── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.post-card {
  background: var(--bg); padding: 32px; transition: background 0.3s;
  position: relative; overflow: hidden; display: block; color: inherit;
}
.post-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; transition: width 0.4s ease;
}
.post-card:nth-child(odd)::after  { background: var(--blue); }
.post-card:nth-child(even)::after { background: var(--grey); }
.post-card:hover::after { width: 100%; }
.post-card:hover { background: var(--surface); }
.post-number {
  font-family: var(--font-display); font-size: 72px; color: var(--border);
  line-height: 1; margin-bottom: 16px; transition: color 0.3s, opacity 0.3s;
}
.post-card:nth-child(odd):hover  .post-number { color: var(--blue); opacity: 0.2; }
.post-card:nth-child(even):hover .post-number { color: var(--grey); opacity: 0.25; }
.post-category {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px;
}
.post-card:nth-child(odd)  .post-category { color: var(--blue); }
.post-card:nth-child(even) .post-category { color: var(--grey); }
.post-title {
  font-family: var(--font-serif); font-size: 20px; line-height: 1.25;
  font-weight: 700; color: var(--white); margin-bottom: 16px;
}
.post-excerpt { font-size: 12px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.post-footer {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); padding-top: 20px; border-top: 1px solid var(--border);
}
.post-card.wide {
  grid-column: span 2; display: grid; grid-template-columns: auto 1fr;
  gap: 32px; align-items: start; border-left: 3px solid var(--blue);
}
.post-card.wide .wide-number .post-number { font-size: 120px; }
.post-card.wide .post-title { font-size: 28px; }

.pagination { margin-top: 60px; display: flex; gap: 4px; font-size: 11px; letter-spacing: 0.1em; }
.pagination .page-numbers {
  padding: 8px 14px; border: 1px solid var(--border); color: var(--muted); transition: border-color 0.2s, color 0.2s;
}
.pagination .page-numbers:hover { border-color: var(--grey); color: var(--grey); }
.pagination .page-numbers.current { border-color: var(--blue); color: var(--blue); }

/* ── QUOTE ── */
.quote-section {
  padding: 100px 40px; text-align: center; position: relative;
  overflow: hidden; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); background: var(--surface);
}
.quote-section::before {
  content: '"'; position: absolute; font-family: var(--font-display);
  font-size: 400px; color: var(--border); top: -60px; left: 50%;
  transform: translateX(-50%); line-height: 1; z-index: 0; pointer-events: none;
}
.quote-text {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(22px, 3vw, 40px); line-height: 1.35;
  color: var(--white); max-width: 800px; margin: 0 auto 24px;
  position: relative; z-index: 1;
}
.quote-attr { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--grey); position: relative; z-index: 1; }

/* ── ABOUT STRIP ── */
.about-strip { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.about-left { padding: 80px 40px; border-right: 1px solid var(--border); }
.about-left h3 { font-family: var(--font-display); font-size: 56px; line-height: 0.95; margin-bottom: 24px; }
.about-left h3 .blue { color: var(--blue); }
.about-left h3 .grey { color: var(--grey); }
.about-left p { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 380px; }
.about-right { padding: 80px 40px; display: flex; flex-direction: column; justify-content: space-between; }
.social-links { display: flex; flex-direction: column; }
.social-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-bottom: 1px solid var(--border);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s, padding-left 0.2s;
}
.social-link:hover { color: var(--blue); padding-left: 8px; }
.social-link span:last-child { font-size: 16px; }
.about-email { margin-top: 32px; font-size: 11px; letter-spacing: 0.1em; }
.about-email a { color: var(--blue); transition: color 0.2s; }
.about-email a:hover { color: var(--grey); }

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--slate); border-top: 1px solid var(--border);
  padding: 80px 40px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; position: relative; overflow: hidden;
}
.newsletter::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--blue), var(--grey));
}
.newsletter h3 {
  font-family: var(--font-display); font-size: 56px; line-height: 0.95; letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--blue) 30%, var(--grey) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.newsletter p { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 16px; }
.newsletter-form { display: flex; }
.newsletter-form input {
  flex: 1; background: var(--bg); border: 1px solid var(--border); border-right: none;
  padding: 16px 20px; color: var(--white); font-family: var(--font-body); font-size: 13px;
  outline: none; transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--blue); }
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form button {
  background: linear-gradient(135deg, var(--blue), var(--blue-dim));
  color: var(--white); border: none; padding: 16px 28px;
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; cursor: none; transition: opacity 0.2s, box-shadow 0.2s;
}
.newsletter-form button:hover { opacity: 0.85; box-shadow: 0 0 20px var(--blue-glow); }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border); padding: 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface);
}
.footer-logo { font-family: var(--font-display); font-size: 18px; }
.footer-tagline { font-family: var(--font-serif); font-style: italic; font-size: 12px; color: var(--muted); }
.footer-copy { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-2); }

/* ── SINGLE ── */
.single-hero { padding-top: 60px; border-bottom: 1px solid var(--border); background: var(--surface); }
.single-hero-inner { max-width: 900px; margin: 0 auto; padding: 80px 40px 60px; }
.single-meta-top { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.single-date, .single-read-time { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.single-title { font-family: var(--font-display); font-size: clamp(40px,6vw,88px); line-height: 0.95; color: var(--white); margin-bottom: 24px; }
.single-excerpt { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--muted); line-height: 1.5; }
.single-thumbnail { max-height: 60vh; overflow: hidden; }
.single-thumbnail img { width: 100%; object-fit: cover; }
/* ↓↓↓ BLOG POST CONTENT WIDTH — change this value to make post body wider or narrower ↓↓↓ */
.single-body { max-width: 960px; margin: 0 auto; padding: 60px 40px 80px; }
/* ↑↑↑ BLOG POST CONTENT WIDTH ↑↑↑ */
/* ↓↓↓ BLOG POST TEXT — font size and line height for article body text ↓↓↓ */
.post-content { font-size: 16px; line-height: 1.85; }
/* ↑↑↑ BLOG POST TEXT ↑↑↑ */
.post-content h2 { font-family: var(--font-display); font-size: 36px; margin: 48px 0 16px; padding-left: 20px; border-left: 3px solid var(--blue); }
.post-content h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--grey); margin: 36px 0 12px; }
.post-content p { margin-bottom: 24px; color: #b8b4ae; }
.post-content a { color: var(--blue); border-bottom: 1px solid var(--blue-dim); transition: color 0.2s; }
.post-content a:hover { color: var(--grey); }
.post-content code { font-family: var(--font-body); background: var(--surface-2); color: var(--blue); padding: 2px 8px; font-size: 13px; border: 1px solid var(--border); }
.post-content pre { background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--grey); padding: 24px; overflow-x: auto; margin: 32px 0; }
.post-content pre code { background: none; border: none; padding: 0; color: var(--white); }
.post-content blockquote { border-left: 2px solid var(--grey); padding: 4px 0 4px 24px; margin: 32px 0; font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--muted); }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 24px; color: #b8b4ae; }
.post-content li { margin-bottom: 8px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.post-tag { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: 4px 12px; transition: border-color 0.2s, color 0.2s; }
.post-tag:hover { border-color: var(--grey); color: var(--grey); }
.post-share { display: flex; align-items: center; gap: 16px; margin-top: 32px; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; }
.share-label { color: var(--muted); }
.share-link { color: var(--blue); transition: color 0.2s; }
.share-link:hover { color: var(--grey); }
.post-navigation { max-width: 900px; margin: 0 auto; padding: 0 40px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.nav-prev, .nav-next { background: var(--bg); padding: 32px; transition: background 0.2s; }
.nav-next { text-align: right; }
.nav-prev:hover, .nav-next:hover { background: var(--surface); }
.nav-label { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.nav-title { font-family: var(--font-serif); font-size: 18px; color: var(--white); display: block; transition: color 0.2s; }
.nav-title:hover { color: var(--blue); }
.related-posts { max-width: 1400px; margin: 0 auto; padding: 0 40px 80px; }
.related-grid { grid-template-columns: repeat(3,1fr); }
.no-posts { padding: 80px 0; color: var(--muted); font-size: 13px; letter-spacing: 0.1em; }

/* ══════════════════════════════════
   ABOUT PAGE
══════════════════════════════════ */
.about-hero {
  padding-top: 60px; min-height: 70vh; display: grid;
  grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border);
}
.about-hero-left {
  padding: 80px 40px; display: flex; flex-direction: column;
  justify-content: flex-end; border-right: 1px solid var(--border); background: var(--surface);
}
.about-hero-left h1 { font-family: var(--font-display); font-size: clamp(60px,8vw,130px); line-height: 0.9; }
.about-hero-left h1 .line-outline { display: block; -webkit-text-stroke: 1px var(--grey-dim); color: transparent; }
.about-hero-left h1 .line-blue { display: block; color: var(--blue); }
.about-hero-left h1 .line-white { display: block; color: var(--white); }
.about-hero-right { padding: 80px 40px; display: flex; flex-direction: column; justify-content: center; }
.about-hero-right p { font-family: var(--font-serif); font-size: 22px; line-height: 1.55; color: var(--muted); font-style: italic; margin-bottom: 24px; }
.about-hero-right p strong { color: var(--white); font-style: normal; font-weight: 700; }

.about-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-stat-item { background: var(--bg); padding: 40px 32px; transition: background 0.2s; }
.about-stat-item:hover { background: var(--surface); }
.about-stat-item .stat-num { font-family: var(--font-display); font-size: 56px; line-height: 1; margin-bottom: 8px; }
.about-stat-item:nth-child(odd)  .stat-num { color: var(--blue); }
.about-stat-item:nth-child(even) .stat-num { color: var(--grey); }
.about-stat-item .stat-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

.about-content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1px; background: var(--border); }
.about-content-main { padding: 80px 40px; background: var(--bg); }
.about-content-main h2 { font-family: var(--font-display); font-size: 40px; color: var(--white); margin-bottom: 24px; padding-left: 20px; border-left: 3px solid var(--blue); }
.about-content-main p { font-size: 15px; color: #a0a8b0; line-height: 1.85; margin-bottom: 20px; max-width: 600px; }
.about-sidebar { padding: 80px 32px; background: var(--surface); }
.about-sidebar h3 { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--grey); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.skills-list { list-style: none; }
.skills-list li { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 11px; color: var(--muted); transition: color 0.2s; }
.skills-list li:hover { color: var(--white); }
.skills-list li span { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--border); }
.skills-list li:nth-child(odd)  span { color: var(--blue); border-color: var(--blue-dim); }
.skills-list li:nth-child(even) span { color: var(--grey); border-color: var(--grey-dim); }

/* ══════════════════════════════════
   CONTACT PAGE
══════════════════════════════════ */
.contact-hero { padding-top: 60px; background: var(--surface); border-bottom: 1px solid var(--border); }
.contact-hero-inner { max-width: 1400px; margin: 0 auto; padding: 80px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.contact-hero h1 { font-family: var(--font-display); font-size: clamp(60px,8vw,120px); line-height: 0.9; }
.contact-hero h1 .grey  { color: var(--grey); }
.contact-hero h1 .blue  { color: var(--blue); }
.contact-hero h1 .white { color: var(--white); }
.contact-hero p { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--muted); line-height: 1.6; margin-top: 24px; }
.contact-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 1px; background: var(--border); }
.contact-form-wrap { background: var(--bg); padding: 80px 40px; }
.contact-form label { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; margin-top: 32px; }
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--border); border-bottom-color: var(--border-light);
  padding: 16px; color: var(--white); font-family: var(--font-body); font-size: 14px;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s; resize: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.contact-form textarea { min-height: 160px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-submit { margin-top: 40px; display: flex; align-items: center; gap: 24px; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-dim)); color: var(--white); border: none; padding: 16px 40px; font-family: var(--font-body); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; cursor: none; transition: opacity 0.2s, box-shadow 0.2s; }
.btn-primary:hover { opacity: 0.85; box-shadow: 0 0 24px var(--blue-glow); }
.btn-secondary { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: 15px 28px; transition: border-color 0.2s, color 0.2s; display: inline-block; }
.btn-secondary:hover { border-color: var(--grey); color: var(--grey); }
.contact-info { background: var(--surface); padding: 80px 32px; }
.contact-info h3 { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--blue); margin-bottom: 32px; }
.contact-info-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.contact-info-item h4 { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-info-item p { font-size: 13px; color: var(--white); }
.contact-info-item a { color: var(--blue); transition: color 0.2s; }
.contact-info-item a:hover { color: var(--grey); }

/* ══════════════════════════════════
   MAGAZINE / ARCHIVE
══════════════════════════════════ */
.magazine-hero { padding-top: 60px; border-bottom: 1px solid var(--border); }
.magazine-header { max-width: 1400px; margin: 0 auto; padding: 60px 40px 0; display: flex; align-items: baseline; justify-content: space-between; }
.magazine-header h1 { font-family: var(--font-display); font-size: clamp(40px,6vw,80px); color: var(--white); }
.magazine-header .issue-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
.magazine-featured { max-width: 1400px; margin: 40px auto 0; display: grid; grid-template-columns: 3fr 2fr; gap: 1px; background: var(--border); }
.mag-featured-main { background: var(--surface); padding: 60px 40px; position: relative; border-left: 3px solid var(--blue); }
.mag-featured-main::before { content: 'FEATURED'; position: absolute; top: 20px; right: 20px; font-size: 9px; letter-spacing: 0.3em; color: var(--blue); border: 1px solid var(--blue); padding: 3px 10px; }
.mag-featured-main h2 { font-family: var(--font-display); font-size: clamp(36px,4vw,64px); line-height: 0.95; color: var(--white); margin-bottom: 20px; }
.mag-featured-main p { font-size: 14px; color: var(--muted); line-height: 1.75; max-width: 520px; margin-bottom: 24px; }
.mag-featured-side { background: var(--bg); display: flex; flex-direction: column; gap: 1px; }
.mag-side-post { background: var(--surface); padding: 28px 32px; flex: 1; display: block; color: inherit; border-left: 3px solid transparent; transition: border-color 0.2s, background 0.2s; }
.mag-side-post:nth-child(odd):hover  { border-left-color: var(--blue); }
.mag-side-post:nth-child(even):hover { border-left-color: var(--grey); background: var(--surface-2); }
.mag-side-post .post-category { margin-bottom: 8px; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; }
.mag-side-post:nth-child(odd)  .post-category { color: var(--blue); }
.mag-side-post:nth-child(even) .post-category { color: var(--grey); }
.mag-side-post h3 { font-family: var(--font-serif); font-size: 17px; line-height: 1.3; color: var(--white); margin-bottom: 8px; }
.mag-side-post .meta { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.magazine-grid { max-width: 1400px; margin: 0 auto; padding: 0 40px 80px; }
.mag-section-label { font-family: var(--font-display); font-size: 40px; color: var(--white); padding: 48px 0 24px; border-bottom: 1px solid var(--border); margin-bottom: 32px; display: flex; align-items: center; gap: 16px; }
.mag-section-label::before { content: ''; width: 4px; height: 32px; background: linear-gradient(to bottom, var(--blue), var(--grey)); }
.mag-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); margin-bottom: 60px; }
.mag-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); margin-bottom: 60px; }
.mag-list-item { background: var(--bg); display: grid; grid-template-columns: 60px 1fr auto; gap: 24px; align-items: center; padding: 24px 32px; transition: background 0.2s; color: inherit; border-left: 3px solid transparent; }
.mag-list-item:hover { background: var(--surface); border-left-color: var(--blue); }
.mag-list-item .item-num { font-family: var(--font-display); font-size: 36px; color: var(--muted-2); line-height: 1; transition: color 0.2s; }
.mag-list-item:hover .item-num { color: var(--blue); }
.mag-list-item .item-title { font-family: var(--font-serif); font-size: 19px; color: var(--white); font-weight: 700; }
.mag-list-item .item-meta { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.mag-list-item .item-tag { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; padding: 3px 10px; border: 1px solid var(--border); color: var(--muted); white-space: nowrap; }

/* ══════════════════════════════════
   SERVICES / PORTFOLIO PAGE
══════════════════════════════════ */
.services-hero { padding-top: 60px; border-bottom: 1px solid var(--border); }
.services-hero-inner { max-width: 1400px; margin: 0 auto; padding: 100px 40px 80px; display: flex; flex-direction: column; gap: 24px; }
.services-hero h1 { font-family: var(--font-display); font-size: clamp(60px,9vw,140px); line-height: 0.88; }
.services-hero h1 .outline-grey { display: block; -webkit-text-stroke: 1px var(--grey-dim); color: transparent; }
.services-hero h1 .blue-fill { display: block; color: var(--blue); }
.services-hero h1 .white-fill { display: block; color: var(--white); }
.services-hero-meta { display: flex; gap: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.services-hero-meta span { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.services-hero-meta strong { color: var(--grey); }
.services-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border-top: 1px solid var(--border); }
.service-card { background: var(--bg); padding: 48px 36px; position: relative; transition: background 0.3s; }
.service-card:hover { background: var(--surface); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.service-card:nth-child(odd)::before  { background: var(--blue); }
.service-card:nth-child(even)::before { background: var(--grey); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-family: var(--font-display); font-size: 48px; line-height: 1; margin-bottom: 24px; }
.service-card:nth-child(odd)  .service-icon { color: var(--blue); }
.service-card:nth-child(even) .service-icon { color: var(--grey); }
.service-title { font-family: var(--font-display); font-size: 28px; letter-spacing: 0.02em; color: var(--white); margin-bottom: 16px; }
.service-desc { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.service-list { list-style: none; }
.service-list li { font-size: 12px; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.service-card:nth-child(odd)  .service-list li::before { content: '→'; color: var(--blue); font-size: 12px; }
.service-card:nth-child(even) .service-list li::before { content: '→'; color: var(--grey); font-size: 12px; }
.process-section { max-width: 1400px; margin: 0 auto; padding: 80px 40px; border-top: 1px solid var(--border); }
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); margin-top: 48px; }
.process-step { background: var(--bg); padding: 40px 28px; transition: background 0.2s; }
.process-step:hover { background: var(--surface); }
.step-num { font-family: var(--font-display); font-size: 80px; line-height: 1; margin-bottom: 16px; transition: color 0.2s, opacity 0.2s; }
.process-step:nth-child(odd)  .step-num { color: rgba(74,168,255,0.1); }
.process-step:nth-child(even) .step-num { color: rgba(143,163,181,0.12); }
.process-step:hover .step-num { color: var(--blue) !important; opacity: 0.3; }
.step-title { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.04em; color: var(--white); margin-bottom: 12px; }
.step-desc { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ── UTILITIES ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero, .about-hero, .magazine-featured { grid-template-columns: 1fr; }
  .hero-left, .about-hero-left { border-right: none; border-bottom: 1px solid var(--border); }
  .about-stats, .services-grid, .mag-card-grid { grid-template-columns: 1fr 1fr; }
  .about-content-grid, .about-strip, .newsletter, .contact-grid { grid-template-columns: 1fr; }
  .about-left, .contact-info { border-right: none; border-bottom: 1px solid var(--border); }
  .contact-hero-inner { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .post-card.wide { grid-column: span 2; grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .site-header { padding: 0 20px; }
  .site-nav { display: none; }
  .post-grid, .mag-card-grid, .services-grid, .process-steps, .about-stats { grid-template-columns: 1fr; }
  .post-card.wide { grid-column: span 1; }
  .post-navigation, .related-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 12px; text-align: center; }
  .contact-form-row { grid-template-columns: 1fr; }
  .mag-list-item { grid-template-columns: 40px 1fr; }
  .mag-list-item .item-tag { display: none; }
}

/* ══════════════════════════════════
   ABOUT — TIMELINE
══════════════════════════════════ */
.about-timeline {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.about-timeline-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 48px;
}
.timeline-item {
  background: var(--bg);
  padding: 36px 28px;
  transition: background 0.2s;
  position: relative;
}
.timeline-item:hover { background: var(--surface-2); }
.timeline-year {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.timeline-year.blue { color: var(--blue); }
.timeline-year.grey { color: var(--grey); }
.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 10px;
}
.timeline-content p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
}

/* ══════════════════════════════════
   ABOUT — CTA STRIP
══════════════════════════════════ */
.about-cta {
  border-top: 1px solid var(--border);
  background: var(--slate);
  position: relative;
  overflow: hidden;
}
.about-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--blue), var(--grey));
}
.about-cta-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.about-cta-text h3 {
  font-family: var(--font-display);
  font-size: 42px;
  background: linear-gradient(135deg, var(--blue) 30%, var(--grey) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.about-cta-text p { font-size: 13px; color: var(--muted); max-width: 480px; line-height: 1.7; }
.about-cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  align-items: center;
}

/* ══════════════════════════════════
   BLOG LANDING PAGE
══════════════════════════════════ */
.blog-landing-hero {
  padding-top: 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.blog-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: end;
}
.blog-hero-left {}
.blog-hero-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 10vw, 150px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.blog-hero-title .outline { -webkit-text-stroke: 1px var(--grey); color: transparent; display: block; }
.blog-hero-title .filled  { color: var(--white); display: block; }
.blog-hero-title .blue-word { color: var(--blue); display: block; }
.blog-hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.55;
  margin-top: 28px;
}
.blog-hero-right { padding-bottom: 8px; }
.blog-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: right;
}
.blog-stat { display: flex; flex-direction: column; gap: 4px; }
.blog-stat strong {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
}
.blog-stat:nth-child(odd)  strong { color: var(--blue); }
.blog-stat:nth-child(even) strong { color: var(--grey); }
.blog-stat span { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }

/* CATEGORY STRIP */
.category-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.category-strip::-webkit-scrollbar { display: none; }
.category-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 52px;
  white-space: nowrap;
}
.cat-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted-2);
  flex-shrink: 0;
  padding-right: 24px;
  border-right: 1px solid var(--border);
}
.cat-pills { display: flex; gap: 8px; }
.cat-pill {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 14px;
  transition: color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-pill:hover { color: var(--blue); border-color: var(--blue); }
.cat-pill.active { color: var(--blue); border-color: var(--blue); }
.cat-count {
  font-size: 9px;
  color: var(--muted-2);
  background: var(--border);
  padding: 1px 6px;
  border-radius: 2px;
}

/* FEATURED POST */
.blog-featured {
  border-bottom: 1px solid var(--border);
}
.blog-featured-link {
  display: block;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  color: inherit;
}
.blog-featured-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-left: 3px solid var(--blue);
  padding-left: 40px;
  transition: border-color 0.3s;
}
.blog-featured-link:hover .blog-featured-inner { border-left-color: var(--grey); }
.blog-featured-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.blog-featured-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.blog-featured-body {}
.blog-featured-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 60px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 16px;
  transition: color 0.2s;
}
.blog-featured-link:hover .blog-featured-title { color: var(--blue); }
.blog-featured-excerpt { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 560px; }
.blog-featured-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.blog-featured-footer .read-more {
  margin-left: 0;
  justify-content: flex-end;
  color: var(--blue);
  font-size: 11px;
}

/* BLOG MAIN */
.blog-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}
.blog-section { margin-bottom: 80px; }

/* ── RESPONSIVE additions ── */
@media (max-width: 1024px) {
  .timeline-track     { grid-template-columns: 1fr 1fr; }
  .about-cta-inner    { flex-direction: column; align-items: flex-start; }
  .blog-hero-inner    { grid-template-columns: 1fr; gap: 40px; }
  .blog-hero-stats    { flex-direction: row; text-align: left; }
  .blog-featured-inner { grid-template-columns: 1fr; gap: 24px; }
  .blog-featured-footer { text-align: left; }
  .blog-featured-footer .read-more { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .timeline-track     { grid-template-columns: 1fr; }
  .about-cta-actions  { flex-direction: column; }
  .blog-hero-stats    { flex-direction: column; }
  .category-strip-inner { padding: 0 20px; }
}
