/*
Theme Name:  Dure Sameen Portfolio
Theme URI:   https://dure-sameen.com
Author:      Dure Sameen
Description: Refined editorial portfolio theme — Principal .NET Architect & Cloud Technologist.
Version:     3.0.0
Text Domain: dure-sameen
*/

/* =========================================================
   TOKENS
   ========================================================= */
:root {
  --ink:         #0e1117;
  --ink-70:      #3d4555;
  --ink-40:      #8c95a8;
  --ink-15:      #e8eaf0;

  --paper:       #f9f8f6;
  --surface:     #f1f0ec;
  --white:       #ffffff;

  --accent:      #1a6abf;
  --accent-lt:   #e8f1fb;
  --accent-dk:   #0c3f75;
  --accent-mid:  #2e7fd4;

  --teal:        #0d9e75;
  --teal-lt:     #e0f5ee;
  --amber:       #b87422;
  --amber-lt:    #fdf2e0;
  --coral:       #c04535;
  --coral-lt:    #fbeae8;
  --purple:      #6549c0;
  --purple-lt:   #efecfb;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  14px;
  --r-xl:  22px;
  --r-2xl: 32px;

  --sh-sm:  0 1px 4px rgba(14,17,23,.06);
  --sh-md:  0 4px 18px rgba(14,17,23,.09);
  --sh-lg:  0 12px 44px rgba(14,17,23,.11);

  --ease: cubic-bezier(.16,1,.3,1);

  --max-w: 1180px;
  --nav-h: 70px;
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--paper); }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
p  { max-width: 70ch; }
p + p { margin-top: 1em; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.15rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .7rem;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
}

.section        { padding-block: clamp(5rem, 9vw, 8rem); }
.section--sm    { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt   { background: var(--surface); }
.section--dark  { background: var(--ink); color: var(--paper); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.75rem;
  font-size: .875rem;
  font-weight: 600;
  border-radius: 99px;
  transition: all .22s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 0 rgba(26,106,191,.35);
}
.btn-primary:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,106,191,.3);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink-15);
}
.btn-outline:hover { border-color: var(--ink-70); transform: translateY(-2px); }
.btn-ghost {
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap .2s var(--ease);
}
.btn-ghost:hover { gap: .7rem; }
.btn-ghost::after { content: '→'; }

/* =========================================================
   BADGES
   ========================================================= */
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}
.b-blue   { background: var(--accent-lt); color: var(--accent-dk); }
.b-teal   { background: var(--teal-lt);   color: var(--teal); }
.b-amber  { background: var(--amber-lt);  color: var(--amber); }
.b-coral  { background: var(--coral-lt);  color: var(--coral); }
.b-purple { background: var(--purple-lt); color: var(--purple); }
.b-ink    { background: var(--surface);   color: var(--ink-70); }

/* =========================================================
   NAV
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(249,248,246,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  border-color: var(--ink-15);
  box-shadow: var(--sh-sm);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.04em;
  color: var(--ink);
  white-space: nowrap;
}
.site-logo em { font-style: normal; color: var(--accent); }

.primary-nav { display: flex; align-items: center; gap: 2.25rem; }
.primary-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-70);
  position: relative;
  transition: color .15s;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width .2s var(--ease);
}
.primary-nav a:hover,
.primary-nav a.active { color: var(--ink); }
.primary-nav a:hover::after,
.primary-nav a.active::after { width: 100%; }

.nav-hire {
  font-size: .8rem;
  font-weight: 700;
  padding: .55rem 1.3rem;
  border: 1.5px solid var(--accent);
  border-radius: 99px;
  color: var(--accent);
  transition: all .2s;
}
.nav-hire:hover { background: var(--accent); color: #fff; }

.ham { display: none; flex-direction: column; gap: 5px; }
.ham span { width: 22px; height: 1.5px; background: var(--ink); transition: all .2s; display: block; }

@media (max-width: 820px) {
  .ham { display: flex; }
  .primary-nav {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--ink-15);
    padding: 1.75rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    box-shadow: var(--sh-md);
  }
  .primary-nav.open { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 75% 25%, rgba(26,106,191,.08) 0%, transparent 65%),
    radial-gradient(ellipse 45% 45% at 15% 75%, rgba(13,158,117,.06) 0%, transparent 55%);
  pointer-events: none;
}
/* grid noise texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230e1117' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .6;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 5rem;
  align-items: center;
  padding-block: 5rem;
}

.hero-available {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.75rem;
  padding: .45rem 1rem;
  background: var(--teal-lt);
  border: 1px solid rgba(13,158,117,.2);
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(13,158,117,.45); }
  60%      { box-shadow: 0 0 0 7px rgba(13,158,117,0); }
}

.hero-title { margin-bottom: 1.5rem; }
.hero-title em { font-style: italic; color: var(--accent); }

.hero-desc {
  font-size: 1.075rem;
  color: var(--ink-70);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 56ch;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--ink-15);
}
.kpi-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  display: block;
}
.kpi-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-top: .35rem;
  display: block;
}

/* Hero card */
.hero-card {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--r-2xl);
  padding: 2.25rem;
  box-shadow: var(--sh-lg);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.hc-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-lt), var(--teal-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--accent-dk);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent-lt);
}
.hc-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.hc-role { font-size: .825rem; color: var(--accent); font-weight: 500; margin-top: .2rem; }
.hc-section-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); margin-bottom: .6rem; display: block; }
.chip-wrap { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { font-size: 11px; font-weight: 500; padding: 4px 10px; background: var(--surface); border: 1px solid var(--ink-15); border-radius: 99px; color: var(--ink-70); }
.hc-links { display: flex; gap: .6rem; }
.hc-link {
  width: 34px; height: 34px;
  border: 1px solid var(--ink-15);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700;
  color: var(--ink-70);
  transition: all .18s;
  letter-spacing: .02em;
}
.hc-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-lt); }

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-card  { display: none; }
  .hero-kpis  { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   SECTION HEADER
   ========================================================= */
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 { margin-bottom: .75rem; }
.sec-head p  { font-size: 1.05rem; color: var(--ink-70); }
.sec-head--center { text-align: center; }
.sec-head--center p { margin-inline: auto; }
.sec-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.about-story p { color: var(--ink-70); }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  transition: box-shadow .2s;
}
.value-card:hover { box-shadow: var(--sh-md); }
.value-icon { font-size: 1.35rem; margin-bottom: .7rem; }
.value-title { font-size: .9rem; font-weight: 600; margin-bottom: .3rem; }
.value-text  { font-size: .825rem; color: var(--ink-70); line-height: 1.6; max-width: none; }

/* Timeline */
.timeline { display: flex; flex-direction: column; }
.tl-item { display: grid; grid-template-columns: 36px 1fr; gap: .9rem; padding-bottom: 1.9rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-axis { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-lt);
  flex-shrink: 0;
  margin-top: 5px;
}
.tl-line { width: 1px; flex: 1; background: var(--ink-15); margin-top: 7px; }
.tl-item:last-child .tl-line { display: none; }
.tl-year  { font-size: .78rem; font-weight: 700; color: var(--accent); letter-spacing: .04em; margin-bottom: .2rem; }
.tl-title { font-weight: 600; font-size: .95rem; }
.tl-co    { font-size: .85rem; color: var(--ink-70); margin-top: .15rem; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
}

/* =========================================================
   SKILLS
   ========================================================= */
.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.skill-list { display: flex; flex-direction: column; gap: 1.35rem; }
.sk-head { display: flex; justify-content: space-between; margin-bottom: .5rem; }
.sk-name { font-size: .9rem; font-weight: 600; }
.sk-pct  { font-size: .8rem; color: var(--ink-40); }
.sk-track { height: 5px; background: var(--surface); border-radius: 99px; overflow: hidden; border: 1px solid var(--ink-15); }
.sk-fill  { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--teal)); width: 0; transition: width 1.1s var(--ease); }

.tech-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.tech-tile {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--r-md);
  padding: .8rem .9rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-70);
  text-align: center;
  transition: all .18s;
  line-height: 1.3;
}
.tech-tile:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-lt);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

@media (max-width: 900px) { .skills-layout { grid-template-columns: 1fr; gap: 3rem; } }

/* =========================================================
   PROJECTS
   ========================================================= */
.projects-stack { display: flex; flex-direction: column; gap: 2rem; }

.proj-card {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  box-shadow: var(--sh-sm);
  transition: all .26s var(--ease);
}
.proj-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }

.proj-thumb {
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  min-height: 220px;
  position: relative;
}
.proj-thumb.t-blue   { background: var(--accent-lt); }
.proj-thumb.t-teal   { background: var(--teal-lt); }
.proj-thumb.t-amber  { background: var(--amber-lt); }
.proj-thumb.t-purple { background: var(--purple-lt); }
.proj-thumb.t-coral  { background: var(--coral-lt); }
.proj-thumb.t-ink    { background: var(--surface); }

.proj-body { padding: 2rem 2.5rem; display: flex; flex-direction: column; }
.proj-cats { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; }
.proj-title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; margin-bottom: .75rem; line-height: 1.2; }
.proj-desc  { font-size: .895rem; color: var(--ink-70); line-height: 1.78; flex: 1; margin-bottom: 1.4rem; max-width: none; }
.proj-tags  { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.proj-tag   { font-size: 10px; font-weight: 600; padding: 3px 9px; border: 1px solid var(--ink-15); border-radius: 99px; color: var(--ink-70); background: var(--surface); }
.proj-meta  { display: flex; flex-wrap: wrap; gap: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--ink-15); }
.proj-meta-lbl { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-40); display: block; margin-bottom: .2rem; }
.proj-meta-val { font-size: .875rem; font-weight: 500; }

@media (max-width: 768px) {
  .proj-card { grid-template-columns: 1fr; }
  .proj-thumb { min-height: 130px; }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.svc-card {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: all .22s var(--ease);
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.svc-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.svc-card:hover::after { transform: scaleX(1); }

.svc-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--accent-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.svc-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: .55rem; }
.svc-desc  { font-size: .855rem; color: var(--ink-70); line-height: 1.7; max-width: none; }

@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.testi-card {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--sh-sm);
}
.testi-stars { color: var(--amber); font-size: .95rem; letter-spacing: .08em; }
.testi-quote { font-size: .875rem; color: var(--ink-70); line-height: 1.78; font-style: italic; flex: 1; max-width: none; }
.testi-author {
  display: flex; align-items: center; gap: .85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ink-15);
}
.testi-av {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700;
  color: var(--accent-dk);
  flex-shrink: 0;
}
.testi-name { font-size: .9rem; font-weight: 600; }
.testi-role { font-size: .78rem; color: var(--ink-40); }

@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testi-grid { grid-template-columns: 1fr; } }

/* =========================================================
   BLOG
   ========================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.blog-card {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .22s var(--ease);
  box-shadow: var(--sh-sm);
}
.blog-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }

.blog-thumb {
  height: 155px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
}
.bt-1 { background: var(--accent-lt); }
.bt-2 { background: var(--teal-lt); }
.bt-3 { background: var(--amber-lt); }
.bt-4 { background: var(--coral-lt); }
.bt-5 { background: var(--purple-lt); }
.bt-6 { background: var(--surface); }

.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; flex-wrap: wrap; }
.blog-date { font-size: .78rem; color: var(--ink-40); }
.blog-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: .7rem;
  color: var(--ink);
}
.blog-title a { color: inherit; }
.blog-excerpt { font-size: .855rem; color: var(--ink-70); line-height: 1.65; flex: 1; max-width: none; }
.blog-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  margin-top: 1.2rem;
  border-top: 1px solid var(--ink-15);
}
.blog-read-t { font-size: .78rem; color: var(--ink-40); }
.blog-link   { font-size: .8rem; font-weight: 600; color: var(--accent); }
.blog-link:hover::after { content: ' →'; }

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* =========================================================
   CTA STRIP
   ========================================================= */
.cta-strip {
  background: var(--ink);
  border-radius: var(--r-2xl);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,106,191,.18) 0%, transparent 70%);
}
.cta-strip h2 { color: var(--white); max-width: 540px; }
.cta-strip p  { color: rgba(255,255,255,.6); margin-top: .75rem; max-width: 50ch; }
.cta-strip .btn-primary { flex-shrink: 0; }

@media (max-width: 768px) {
  .cta-strip { flex-direction: column; text-align: center; }
  .cta-strip h2 { max-width: 100%; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.55);
  padding-block: 5rem 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4.5rem;
}
.f-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--white); letter-spacing: -.04em; margin-bottom: 1rem; display: block; }
.f-logo em { font-style: normal; color: var(--accent-mid); }
.f-desc { font-size: .875rem; line-height: 1.7; max-width: 260px; }
.f-social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.f-soc {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 700;
  color: rgba(255,255,255,.45);
  transition: all .18s;
  letter-spacing: .03em;
}
.f-soc:hover { border-color: var(--accent-mid); color: var(--accent-mid); background: rgba(26,106,191,.12); }
.f-col-title {
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 1.1rem;
}
.f-links { display: flex; flex-direction: column; gap: .6rem; }
.f-links a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color .15s; }
.f-links a:hover { color: var(--white); }
.f-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .8rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .f-bottom { flex-direction: column; gap: 1rem; text-align: center; } }

/* =========================================================
   ANIMATIONS
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-up.in { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }

/* =========================================================
   BLOG SINGLE / PAGE CONTENT
   ========================================================= */
.entry {
  max-width: 740px;
  margin-inline: auto;
}
.entry h2, .entry h3 { margin-top: 2.5rem; margin-bottom: .75rem; }
.entry p   { color: var(--ink-70); margin-bottom: 1.25rem; }
.entry ul, .entry ol { padding-left: 1.5rem; margin-bottom: 1.25rem; list-style: revert; }
.entry li  { color: var(--ink-70); margin-bottom: .4rem; }
.entry code { font-family: var(--font-mono); font-size: .85em; background: var(--surface); padding: 2px 7px; border-radius: var(--r-sm); }
.entry pre  { background: var(--ink); color: #e2e8f0; padding: 1.75rem; border-radius: var(--r-lg); overflow-x: auto; margin-bottom: 1.5rem; }
.entry pre code { background: none; padding: 0; }
.entry blockquote { border-left: 3px solid var(--accent); padding-left: 1.5rem; font-style: italic; color: var(--ink-70); margin: 2rem 0; }
.entry a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
