:root{
  --bg: #000000;
  --panel: rgba(255,255,255,0.055);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.68);
  --muted2: rgba(255,255,255,0.56);
  --line: rgba(255,255,255,0.12);
  --line2: rgba(255,255,255,0.08);
  --accent: #fe0997;     /* XT pink */
  --shadow: 0 18px 60px rgba(0,0,0,0.55);
  --radius: 18px;
  --max: 1120px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --h1: 40px;
  --h2: 27px;
  --body: 17px;
  --small: 14px;
  --tight: 1.05;
  --readable: 1.65;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: var(--font);
  font-size: var(--body);
  line-height: var(--readable);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a{ color: inherit; text-decoration: none; }
.container{ width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 18px; }

/* Header */
header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11,13,20,0.72);
  border-bottom: 1px solid var(--line2);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 14px;
  position: relative; /* for dropdown */
}

/* Brand (clickable left side) */
.brand-link{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.logo-img{
  height: 32px; /* ✅ bigger */
  width: auto;
  object-fit: contain;
  display: block;
}
.brand h1{
  font-size: 12px;
  margin: 0;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  line-height: 1.2;
}
.brand p{
  margin: 3px 0 0 0;
  font-size: 12px;
  color: var(--muted2);
  font-family: var(--mono);
  letter-spacing: 0.2px;
}

.brand-link:hover .logo-img{
  transform: translateY(-1px);
  transition: transform 160ms ease;
}
.brand-link:hover h1{
  color: rgba(255,255,255,1);
}

/* Nav links */
.navlinks{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.navlinks a{
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.navlinks a:hover{
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.10);
}

/* Active nav item */
.navlinks a[aria-current="page"],
.navlinks a.is-active{
  color: rgba(255,255,255,0.92);
  background: rgba(255,0,168,0.14);
  border-color: rgba(255,0,168,0.28);
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.08s ease, background 0.2s ease, border 0.2s ease;
}
.btn:hover{ background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.22); }
.btn:active{ transform: translateY(1px); }

.btn-primary{
  border-color: rgba(255,0,168,0.35);
  background: rgba(255,0,168,0.12);
  box-shadow: 0 12px 40px rgba(255,0,168,0.12);
}
.btn-primary:hover{
  background: rgba(255,0,168,0.16);
  border-color: rgba(255,0,168,0.45);
}

/* Sections / rhythm */
main{ padding-bottom: 30px; }

section{
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
section.hero{
  padding: 34px 0 56px;
  border-top: none;
}

.card{
  border: 1px solid var(--line2);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Hero */
.hero-wrap{
  padding: 24px 18px;
  position: relative;
  overflow: hidden;
}

.hero-wrap::before{
  content: "";
  position: absolute;
  inset: auto auto -120px -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,168,0.18) 0%, rgba(255,0,168,0.03) 55%, rgba(255,0,168,0) 75%);
  pointer-events: none;
}

.hero-wrap::after{
  content: "";
  position: absolute;
  inset: -140px -120px auto auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 45%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.hero-content{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.hero-copy{
  min-width: 0;
}

.hero-media{
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(7,10,18,0.6);
  box-shadow: 0 24px 60px rgba(0,0,0,0.32);
}

.hero-media::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  pointer-events: none;
}

.hero-media img{
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.post-header{
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 32px;
}

.post-article{
  max-width: 820px;
  margin: 0 auto;
  padding: 32px;
}

.post-body{
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  font-size: 17px;
}
.post-body p{
  margin: 0 0 16px;
}
.post-body h2,
.post-body h3,
.post-body h4{
  margin: 28px 0 12px;
  line-height: 1.25;
}
.post-body ul,
.post-body ol{
  margin: 0 0 18px 20px;
  padding: 0;
  color: rgba(255,255,255,0.82);
}
.post-body li{
  margin: 6px 0;
}

.post-image{
  margin: 28px 0;
}
.post-image img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.post-image-placeholder{
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: 28px 0;
  border: 1px dashed rgba(255,255,255,0.28);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.66);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.post-instagram-embed{
  display: flex;
  justify-content: center;
  margin: 28px 0;
}
.post-instagram-embed .instagram-media{
  margin-left: auto !important;
  margin-right: auto !important;
}

.post-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted2);
}
.post-meta-sep{
  opacity: 0.5;
}

.post-callout{
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}
.post-callout h4{
  margin: 0 0 10px;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 16px;
  font-family: var(--mono);
}
.dot{
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,0,168,0.12);
}

.hero h2{
  margin: 0 0 14px;
  font-size: var(--h1);
  line-height: var(--tight);
  letter-spacing: 0;
  max-width: 22ch;
}

.blog-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 20px;
}
.blog-card{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  overflow: hidden;
  display:flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}
.blog-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
}
.blog-thumb{
  width: 100%;
  height: 140px;
  object-fit: cover;
  display:block;
}
.blog-card-body{
  padding: 16px;
  display:grid;
  gap: 8px;
}
.blog-meta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.blog-card h4{
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}
.blog-card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.blog-meta{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted2);
}
.blog-type{
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  padding: 3px 8px;
}
.linkedin-embed-wrap{
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}
.linkedin-embed{
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
  background: #fff;
}

.lead{
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 74ch;
}

.cta-row{
  display:flex;
  gap: 12px;
  flex-direction: column;
  margin-top: 6px;
}

.cta-row .btn{
  width: 100%;
}

/* Section title */
.section-title{
  margin-bottom: 28px;
  max-width: 760px;
}

.section-title h3{
  margin: 0 0 14px 0;
  font-size: var(--h2);
  letter-spacing: 0;
  line-height: 1.15;
}

.section-title p{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.section-title h3::after{
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--accent);
  margin-top: 16px;
  opacity: 0.6;
}

.story-block{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 30px;
}

.story-copy{
  min-width: 0;
}

.story-kicker{
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(254,9,151,0.92);
}

.story-copy h3{
  margin: 0 0 12px;
  font-size: var(--h2);
  line-height: 1.15;
  letter-spacing: 0;
}

.story-copy p{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.story-media{
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 18px 48px rgba(0,0,0,0.42);
}

.story-media img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.process-media{
  margin-bottom: 22px;
}

.grid2{
  display:grid;
  grid-template-columns: 1fr;
}
.grid3{
  display:grid;
  grid-template-columns: 1fr;
}
.grid2, .grid3{
  gap: 18px;
  margin-top: 10px;
}

.feature{
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}
.feature h4{
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: -0.2px;
  line-height: 1.25;
}
.feature p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15.5px;
}

.tag{
  display:inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.70);
  margin-right: 6px;
  margin-top: 10px;
}

/* Process (homepage log box) */
.process{ padding: 0; border: none; background: transparent; box-shadow: none; }

.console{
  padding: 22px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}
.log{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.20);
  padding: 16px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255,255,255,0.80);
  overflow: auto;
  max-height: 390px;
}
.ok{ color: rgba(52,211,153,0.95); }
.warn{ color: rgba(251,191,36,0.95); }
.info{ color: rgba(34,211,238,0.95); }

/* Contact embed */
.contact-embed{
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.contact-embed iframe{
  display:block;
  width: 100%;
  max-width: 900px;
  height: 1200px;
  margin: 0 auto;
  border: 0;
  background: transparent;
}

/* Founder (about page) */
.founder{
  display:grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.portrait{
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 18px 60px rgba(0,0,0,0.38);
}
.portrait img{
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Founder card spacing */
.founder-card{
  padding: 34px;
}

/* Nice typography inside founder card (optional but helps) */
.founder-name{
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.2px;
}
.founder-role{
  margin: 0 0 16px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}
.founder-copy{
  margin: 0 0 14px 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
}

/* Mobile: slightly tighter, but still comfortable */
@media (max-width: 920px){
  .founder-card{
    padding: 24px 22px;
  }
}


/* Footer */
footer{
  padding: 34px 0 50px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.62);
  font-size: 13px;
}
.footer-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-social{
  display:flex;
  align-items:center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
}
.footer-social a{
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: rgba(255,255,255,0.78);
}
.footer-social a:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
}
.footer-legal{
  display:flex;
  align-items:center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
}
.footer-legal a{
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: rgba(255,255,255,0.78);
}
.footer-legal a:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
}
.kicker{
  font-family: var(--mono);
  color: rgba(255,255,255,0.55);
  font-size: 12px;
}

/* Screen-reader only helper */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* Mobile actions hidden on desktop */
.nav-actions{ display:none; align-items:center; gap:10px; }

/* Hamburger button */
.nav-toggle{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover{ background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.22); }

.burger{
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.86);
  position: relative;
  border-radius: 2px;
}
.burger::before,
.burger::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background: rgba(255,255,255,0.86);
  border-radius: 2px;
}
.burger::before{ top:-6px; }
.burger::after{ top:6px; }

/* Desktop contact button in nav */
.nav-contact-desktop{ display:inline-flex; }

/* Mobile */
@media (max-width: 920px){
  .post-header{ padding: 24px 22px; }
  .post-article{
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .post-body{ font-size: 16px; }
  .linkedin-embed{ min-height: 680px; }

  /* show actions */
  .nav-actions{ display:flex; }

  /* hide full nav by default */
  .navlinks{ display:none; }

  /* hide desktop contact on mobile */
  .nav-contact-desktop{ display:none !important; }

  /* When open: dropdown panel */
  .nav-open .navlinks{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;

    position: absolute;
    right: 22px;
    top: calc(100% + 10px);
    width: min(320px, calc(100vw - 44px));
    padding: 12px;

    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(11,13,20,0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 60px rgba(0,0,0,0.55);
  }

  .nav-open .navlinks a{
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
  }
  .nav-open .navlinks a:hover{
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
  }

  /* burger -> X */
  .nav-open .burger{ background: transparent; }
  .nav-open .burger::before{ top:0; transform: rotate(45deg); }
  .nav-open .burger::after{ top:0; transform: rotate(-45deg); }

  .burger, .burger::before, .burger::after{
    transition: transform 160ms ease, top 160ms ease, background 160ms ease;
  }
}

@media (min-width: 760px){
  :root{
    --h1: 62px;
    --h2: 34px;
  }

  .container{ padding: 0 22px; }
  section{ padding: 82px 0; }
  section.hero{ padding: 72px 0 66px; }
  .hero-wrap{ padding: 38px 30px; }
  .hero-content{ gap: 30px; }
  .lead{ font-size: 18px; }
  .section-title{ margin-bottom: 34px; }
  .section-title p,
  .story-copy p{ font-size: 17px; }
  .grid2{ grid-template-columns: 1fr 1fr; }
  .grid2, .grid3{ gap: 24px; }
  .blog-grid{ grid-template-columns: repeat(2, 1fr); }
  .cta-row{
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cta-row .btn{ width: auto; }
  .feature{ padding: 26px; }
}

@media (min-width: 920px){
  :root{
    --h1: 88px;
    --h2: 40px;
  }

  section{ padding: 110px 0; }
  section.hero{ padding: 120px 0 80px; }
  .hero-wrap{ padding: 60px 56px; }
  .hero-content{
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 38px;
  }
  .story-block{
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
    gap: 42px;
    margin-bottom: 42px;
  }
  .process-media{ margin-bottom: 30px; }
  .grid3{ grid-template-columns: repeat(3, 1fr); }
  .blog-grid{ grid-template-columns: repeat(3, 1fr); }
  .founder{ grid-template-columns: 0.9fr 1.1fr; }
  .lead{ font-size: 20px; }
  .section-title{ margin-bottom: 40px; }
  .section-title p{ font-size: 18px; }
  .feature{ padding: 28px; }
}

/* =========================================================
   REDESIGN v2 — depth, hierarchy & motion enhancement layer
   Added on top of the existing system: nothing above is removed.
   Every selector maps to an existing class, so all pages benefit.
   ========================================================= */

/* Refined tokens (a later :root wins for these keys only) */
:root{
  --accent: #fe0997;            /* unchanged XT pink */
  --accent-2: #c40a86;          /* deeper pink for gradients */
  --accent-soft: rgba(254,9,151,0.13);
  --accent-line: rgba(254,9,151,0.34);
  --accent-glow: rgba(254,9,151,0.45);
  --radius: 20px;
  --shadow: 0 24px 70px rgba(0,0,0,0.55);
}

html{ scroll-behavior: smooth; }

/* Ambient background glows behind all content */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 40% at 82% 3%,  rgba(254,9,151,0.16), transparent 60%),
    radial-gradient(45% 38% at 4% 20%,  rgba(150,20,120,0.12), transparent 60%),
    radial-gradient(60% 45% at 50% 112%, rgba(254,9,151,0.10), transparent 60%);
}

/* Header: subtle vertical fade */
header{
  background: linear-gradient(180deg, rgba(8,8,11,0.86), rgba(8,8,11,0.60));
}
.navlinks a{ transition: color .2s ease, background .2s ease, border-color .2s ease; }
.navlinks a:hover{ color: #fff; }

/* Buttons: motion + gradient primary */
.btn{
  transition: transform .18s cubic-bezier(.22,.61,.36,1), background .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }
.btn-primary{
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 28px rgba(254,9,151,0.30);
}
.btn-primary:hover{
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(254,9,151,0.46);
  filter: brightness(1.06);
}

/* Eyebrow pill -> tighter, uppercase, on-brand */
.pill{
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: #ffd6ec;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dot{ box-shadow: 0 0 10px var(--accent-glow); }

/* Hero + CTA cards: gentle gradient surface */
.hero-wrap{
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border-color: rgba(255,255,255,0.10);
}
/* Gradient headline in any hero/CTA card */
.hero-wrap h2{
  background: linear-gradient(118deg, #ffffff 0%, #ffe3f1 55%, var(--accent) 128%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.4px;
}

/* Media frames: richer edge + hover zoom */
.hero-media,
.story-media{
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 26px 60px rgba(0,0,0,0.50);
}
.hero-media::before,
.story-media::before{
  content:"";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  background: linear-gradient(160deg, rgba(254,9,151,0.07), transparent 42%);
}
.hero-media img,
.story-media img{ transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.hero-media:hover img,
.story-media:hover img{ transform: scale(1.03); }

/* Cards & feature tiles: depth, lift, glow on hover */
.card{
  background: linear-gradient(165deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
}
.feature{
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018));
  border-color: rgba(255,255,255,0.09);
  transition: transform .28s cubic-bezier(.22,.61,.36,1), border-color .28s ease, box-shadow .28s ease;
}
.feature::before{
  content:"";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s ease;
  background: radial-gradient(80% 60% at 50% 0%, rgba(254,9,151,0.12), transparent 70%);
}
.feature > *{ position: relative; z-index: 1; }
.feature:hover{
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: 0 22px 48px rgba(0,0,0,0.50);
}
.feature:hover::before{ opacity: 1; }

/* Section titles: gradient accent bar */
.section-title h3::after{
  width: 52px;
  height: 3px;
  opacity: 1;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.story-kicker{
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--accent);
}

/* Console / outcome log */
.console{
  background: linear-gradient(165deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border-color: rgba(255,255,255,0.09);
}

/* Tags: consistent subtle chips */
.tag{
  border-color: var(--line2);
  background: rgba(255,255,255,0.045);
}

/* Services page: steps / loop / num (were unstyled) */
.loop{
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.09);
  background: linear-gradient(165deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
}
.loop > h4{ margin: 0 0 10px; font-size: 16px; }
.loop > p{ margin: 0 0 4px; color: var(--muted); line-height: 1.7; }
.steps{ display: grid; gap: 12px; margin-top: 18px; }
.step{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  transition: border-color .2s ease, background .2s ease;
}
.step:hover{ border-color: var(--accent-line); background: rgba(255,255,255,0.04); }
.step b{ display: block; font-size: 14.5px; margin-bottom: 3px; }
.step span{ color: var(--muted); font-size: 14px; line-height: 1.6; }
.num{
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}

/* Portrait (about page): warmer frame */
.portrait{ box-shadow: 0 26px 60px rgba(0,0,0,0.45); }

/* Blog cards: lift + accent border on hover */
.blog-card:hover{
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: 0 20px 44px rgba(0,0,0,0.45);
}

/* Reveal-on-scroll (progressive enhancement; JS adds .reveal) */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.in{ opacity: 1; transform: none; }

/* Story block reverse: media leads on desktop */
@media (min-width: 920px){
  .story-block-reverse .story-copy{ order: 2; }
  .story-block-reverse .story-media{ order: 1; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover,
  .feature:hover,
  .blog-card:hover{ transform: none; }
  .hero-media:hover img,
  .story-media:hover img{ transform: none; }
}

/* =========================================================
   REDESIGN v2 — Blogs list + single-post polish
   ========================================================= */

/* Blog cards: image zoom + accent chip + title lift */
.blog-thumb{ transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.blog-card:hover .blog-thumb{ transform: scale(1.05); }
.blog-type{
  color: #ffd6ec;
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.blog-card h4{ transition: color .2s ease; }
.blog-card:hover h4{ color: #fff; }

/* Single post: meta + reading typography */
.post-header .post-meta{ margin-top: 10px; }

.post-body a{
  color: var(--accent);
  border-bottom: 1px solid rgba(254,9,151,0.40);
  transition: color .2s ease, border-color .2s ease;
}
.post-body a:hover{ color: #ff7dc0; border-bottom-color: currentColor; }

.post-body h2,
.post-body h3{
  position: relative;
  padding-left: 16px;
}
.post-body h2::before,
.post-body h3::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.post-body h2{ font-size: 24px; }
.post-body h3{ font-size: 20px; color: rgba(255,255,255,0.95); }
.post-body strong{ color: #fff; }
.post-body em{ color: rgba(255,255,255,0.90); }

.post-body ul li::marker,
.post-body ol li::marker{ color: var(--accent); }

.post-body blockquote{
  margin: 22px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: rgba(254,9,151,0.06);
  color: rgba(255,255,255,0.90);
  font-style: italic;
}
.post-body blockquote p:last-child{ margin-bottom: 0; }

.post-body figure{ margin: 26px 0; }
.post-body figure img{ border-radius: 14px; display: block; width: 100%; height: auto; }
.post-body figcaption{
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted2);
  text-align: center;
}

.post-body hr{
  border: 0;
  height: 1px;
  margin: 28px 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}

/* =========================================================
   REDESIGN v3 — Typography refresh (Space Grotesk + Inter)
   + bigger headlines and more generous whitespace.
   Colour scheme unchanged (black + XT pink).
   ========================================================= */

/* Display face on all headings; Inter reads as body */
h1, h2, h3, h4, h5, h6,
.hero h2,
.hero-wrap h2,
.section-title h3,
.story-copy h3,
.feature h4,
.blog-card h4,
.founder-name,
.loop > h4,
.post-body h2,
.post-body h3,
.post-body h4{
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Big, confident hero headline — lots of presence, tighter leading */
.hero h2,
.hero-wrap h2{
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
}

/* Section + story headings scale with the new type ramp */
.section-title h3,
.story-copy h3{
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

/* Body copy: comfortable, professional, slightly airier */
.lead{
  font-weight: 400;
  color: rgba(255,255,255,0.80);
}
.section-title p,
.story-copy p,
.feature p{
  font-weight: 400;
}

/* Feature/card titles a touch larger to match the bigger scale */
.feature h4{ font-size: 18px; font-weight: 600; }
.blog-card h4{ font-size: 17px; }

/* Mono labels: Space Mono, tightened tracking so it stays tidy */
.pill,
.story-kicker,
.blog-meta,
.blog-type,
.tag,
.post-meta,
.founder-role,
.kicker,
.num{
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* Brand wordmark in the display face */
.brand h1{
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* More breathing room — open up the hero and section rhythm */
@media (min-width: 760px){
  section{ padding: 96px 0; }
  section.hero{ padding: 92px 0 76px; }
  .hero-wrap{ padding: 48px 40px; }
  .section-title{ margin-bottom: 40px; }
}

@media (min-width: 920px){
  section{ padding: 130px 0; }
  section.hero{ padding: 140px 0 96px; }
  .hero-wrap{ padding: 72px 64px; }
  .hero-content{ gap: 48px; }
  .section-title{ margin-bottom: 52px; }
}
