:root{--photo:url("assets/hero.jpg");
  --serif:"PT Serif",Georgia,"Times New Roman",serif;
  --sans:"Public Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --logo:"Outfit","Public Sans",system-ui,sans-serif;
  --radius:10px;
  --wrap:1600px;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#0e0f11;--surface:#16171a;--ink:#eceef1;--muted:#9da1ab;--line:#25272c;
    --accent:#8fa8ff;--chip:#22242a;--chip-ink:#e3e5ea;--field:#1f2126;
    --btn:#eceef1;--btn-ink:#121316;
    --shadow:0 1px 2px rgba(0,0,0,.4),0 8px 24px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"]{
  --bg:#0e0f11;--surface:#16171a;--ink:#eceef1;--muted:#9da1ab;--line:#25272c;
  --accent:#8fa8ff;--chip:#22242a;--chip-ink:#e3e5ea;--field:#1f2126;
  --btn:#eceef1;--btn-ink:#121316;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 8px 24px rgba(0,0,0,.35);
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
:root{
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
html{
  scroll-padding-top:calc(env(safe-area-inset-top,0px) + 16px);
  background:var(--bg);
  -webkit-text-size-adjust:100%;
}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:1rem;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img,svg{max-width:100%}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:clamp(20px,4.5vw,72px)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.icon{width:1em;height:1em;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.icon--fill{fill:currentColor;stroke:none}

/* ---------- Header ---------- */
.top{position:relative;margin-top:calc(-1 * env(safe-area-inset-top,0px))}
.bar{position:absolute;top:0;left:0;right:0;z-index:5;padding-top:calc(env(safe-area-inset-top,0px) + 16px)}
.bar :focus-visible{outline-color:#fff}
.nav{
  width:fit-content;max-width:100%;
  margin-inline:auto;
  padding:6px;
  border-radius:999px;
  background:rgba(14,15,18,.5);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  backdrop-filter:blur(14px) saturate(1.2);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
.nav__links{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0;font-size:.9375rem}
.nav__links a{
  --px:18px;
  position:relative;display:block;padding:9px var(--px);
  border-radius:999px;color:#fff;line-height:1.2;white-space:nowrap;
}
/* hover / focus: a thin line under the label */
.nav__links a::after{
  content:"";position:absolute;left:var(--px);right:var(--px);bottom:5px;
  height:1.5px;border-radius:1px;background:currentColor;
  transform:scaleX(0);transform-origin:left center;
}
.nav__links a:hover::after,.nav__links a:focus-visible::after{transform:scaleX(1)}
.nav__links .btn-contact{
  --px:16px;
  margin-left:6px;padding:7px var(--px);
  background:#fff;color:#131417;font-weight:600;font-size:.8125rem;
}
.nav__links .btn-contact::after{display:none}
@media (prefers-reduced-motion:no-preference){
  .nav__links a::after{transition:transform .28s ease}
  /* soft, minimal vibration */
  .nav__links a:hover,.nav__links a:focus-visible{animation:nav-vibrate .5s ease-in-out}
  @keyframes nav-vibrate{
    0%,100%{transform:translateX(0)}
    20%{transform:translateX(-.8px)}
    40%{transform:translateX(.8px)}
    60%{transform:translateX(-.5px)}
    80%{transform:translateX(.3px)}
  }
}

@media (max-width:480px){
  .nav__links{gap:2px;font-size:.875rem}
  .nav__links a{--px:12px;padding:9px var(--px)}
  .nav__links .btn-contact{--px:13px;margin-left:4px;padding:7px var(--px);font-size:.8125rem}
}

/* Brand logo in header */
.bar__inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}
.bar__inner .nav{grid-column:2}
.brand{
  justify-self:start;display:flex;align-items:center;
  background:none;padding:0;
}
.brand img{display:block;height:25px;width:auto;filter:drop-shadow(0 0 5px rgba(255,255,255,.85))}
@media (max-width:860px){
  .bar__inner{grid-template-columns:1fr;justify-items:center;gap:10px}
  .bar__inner .nav{grid-column:1}
  .brand{justify-self:center}
  .brand img{height:25px}
}

/* ---------- Hero (full bleed) ---------- */
.hero{
  position:relative;
  display:flex;
  min-height:clamp(600px,50vw,820px);
  overflow:hidden;
  background:#1c1d20;
  color:#fff;
}
.hero__photo{
  position:absolute;inset:0;
  background-image:var(--photo);
  background-size:cover;
  background-position:center 32%;
}
.hero__photo::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(10,11,13,.62) 0,rgba(10,11,13,0) 170px),
    linear-gradient(90deg,rgba(12,13,15,0) 34%,rgba(12,13,15,.5) 58%,rgba(12,13,15,.66) 100%);
}
.hero__inner{
  position:relative;flex:1;
  display:flex;justify-content:flex-end;align-items:center;
  padding-top:96px;
}
.hero__copy{
  width:min(44%,560px);
  padding-block:64px;
  display:flex;flex-direction:column;align-items:flex-start;
}
.avatar{
  --s:84px;
  width:var(--s);height:var(--s);border-radius:50%;
  background-color:#2b2c2f;
  background-image:var(--photo);
  background-repeat:no-repeat;
  background-size:400% auto;
  background-position:50% 9%;
  flex:none;
}
.hero h1{
  margin:0 0 18px;
  font-family:var(--serif);font-weight:700;
  font-size:clamp(2rem,3.7vw,3.4rem);
  line-height:1.08;letter-spacing:-.005em;
  text-wrap:balance;
}
.hero p{margin:0;max-width:58ch;font-size:1.0625rem;line-height:1.65;color:rgba(255,255,255,.9)}
.follow{display:flex;align-items:center;gap:14px;margin-top:26px}
.follow__label{color:#a9bcff;font-weight:500}
.follow__btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:11px 22px 11px 26px;border-radius:999px;cursor:pointer;
  font:inherit;font-weight:500;line-height:1.2;color:#fff;
  background:linear-gradient(135deg,rgba(255,255,255,.26),rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.34);
  -webkit-backdrop-filter:blur(16px) saturate(1.6);
  backdrop-filter:blur(16px) saturate(1.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42),0 10px 28px rgba(0,0,0,.28);
  transition:background .2s,border-color .2s;
}
.follow__btn:hover{
  background:linear-gradient(135deg,rgba(255,255,255,.34),rgba(255,255,255,.14));
  border-color:rgba(255,255,255,.5);
}
.follow__btn .icon{font-size:1.1rem;stroke-width:2}
@media (prefers-reduced-motion:no-preference){
  .follow__btn .icon{transition:transform .2s ease}
  .follow__btn:hover .icon,.follow__btn:focus-visible .icon{transform:translateX(4px)}
}
.hero :focus-visible{outline-color:#fff}
.follow ul{display:flex;gap:6px;list-style:none;margin:0;padding:0}
.follow a{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;font-size:1.3rem;color:#fff}
.follow a:hover{background:rgba(255,255,255,.16)}

@media (prefers-reduced-motion:no-preference){
  .hero__copy{animation:rise .8s .1s cubic-bezier(.2,.7,.2,1) both}
  @keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
}

/* mid-size screens: the charging flap sits closer to the text, so darken behind it */
@media (min-width:821px) and (max-width:1400px){
  .hero__photo::after{
    background:
      linear-gradient(180deg,rgba(10,11,13,.62) 0,rgba(10,11,13,0) 170px),
      linear-gradient(90deg,rgba(12,13,15,0) 30%,rgba(12,13,15,.62) 48%,rgba(12,13,15,.74) 100%);
  }
}

@media (max-width:820px){
  .hero{flex-direction:column;min-height:0}
  .hero__photo{position:relative;inset:auto;height:480px;background-size:auto 140%;background-position:58% 0}
  .hero__photo::after{background:linear-gradient(180deg,rgba(10,11,13,.62) 0,rgba(10,11,13,0) 150px),linear-gradient(180deg,rgba(28,29,32,0) 62%,#1c1d20 100%)}
  .hero__inner{justify-content:flex-start;align-items:flex-start;padding-top:0}
  .hero__copy{width:100%;padding:20px 0 40px}
}

/* ---------- Feed ---------- */
.feed{padding-block:72px 24px}
.section-title{
  margin:0 0 28px;
  font-family:var(--serif);font-weight:700;
  font-size:clamp(1.75rem,3vw,2.25rem);line-height:1.15;
}

.card{
  background:var(--surface);border-radius:var(--radius);
  padding:14px 14px 18px;box-shadow:var(--shadow);
}
.thumb{
  display:block;aspect-ratio:16/10;border-radius:8px;
  background-color:#2b2c2f;
  overflow:hidden;
}
.thumb img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.meta{display:flex;flex-wrap:wrap;gap:6px 20px;margin:16px 4px 0;font-size:.8125rem;color:var(--muted)}
.meta span{display:inline-flex;align-items:center;gap:7px}
.meta .icon{color:var(--accent);font-size:1rem}
.card h3{
  margin:10px 4px 0;
  font-family:var(--serif);font-weight:700;
  font-size:1.2rem;line-height:1.3;
}
.card h3 a:hover{color:var(--accent)}
.excerpt{margin:10px 4px 0;font-size:.9375rem;line-height:1.6;color:var(--muted)}
.by{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 4px 0;font-size:.875rem;color:var(--muted)}
.by .avatar{--s:26px}
.by .name{margin-right:6px}
.tag{
  display:inline-block;padding:4px 10px;border-radius:5px;
  background:var(--chip);color:var(--chip-ink);
  font-size:.6875rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;
  border:0;line-height:1.4;
}

/* Featured */
.featured{padding:20px}
.featured .thumb{aspect-ratio:16/9;border-radius:8px}
.featured__body{padding:0 4px 8px}
.featured .meta{margin:22px 0 0;font-size:.875rem}
.featured h3{font-size:clamp(1.4rem,2.3vw,2.05rem);line-height:1.25;margin:12px 0 0}
.featured .excerpt{margin:14px 0 0;font-size:1.0625rem;line-height:1.65;max-width:56ch}
.featured .by{margin:22px 0 0}
@media (min-width:900px){
  .featured{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:clamp(28px,4vw,64px);align-items:center;padding:24px}
  .featured .thumb{aspect-ratio:16/10}
  .featured .meta{margin-top:0}
  .featured__body{padding-right:clamp(0px,2vw,32px)}
}

/* Latest */
.latest{margin-top:56px}
.filters{display:flex;flex-wrap:wrap;gap:8px;margin:-8px 0 26px;padding:0;list-style:none}
.chip{
  padding:7px 16px;border-radius:999px;cursor:pointer;
  background:var(--surface);border:1px solid var(--line);
  font-size:.875rem;color:var(--ink);
}
.chip:hover{border-color:var(--accent);color:var(--accent)}
.chip[aria-pressed="true"]{background:var(--btn);border-color:var(--btn);color:var(--btn-ink)}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.status{margin:0 0 18px;font-size:.875rem;color:var(--muted)}
@media (min-width:1100px){.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}}
@media (max-width:720px){.grid{grid-template-columns:1fr}}

/* Subscribe */
.subscribe{margin-top:88px;padding:24px 0 56px;text-align:center}
.subscribe h2{margin:0 0 10px;font-family:var(--serif);font-weight:700;font-size:clamp(1.6rem,3vw,2rem);line-height:1.2}
.subscribe p{margin:0 auto 24px;max-width:46ch;color:var(--muted);font-size:.9375rem}
.subform{display:flex;justify-content:center;gap:10px;max-width:460px;margin-inline:auto}
.subform input{
  flex:1;min-width:0;height:48px;padding:0 16px;border-radius:6px;
  border:1px solid transparent;background:var(--field);font-size:.9375rem;
}
.subform input::placeholder{color:var(--muted)}
.subform input[aria-invalid="true"]{border-color:#c0392b}
.subform button{
  height:48px;padding:0 24px;border:0;border-radius:6px;cursor:pointer;
  background:var(--btn);color:var(--btn-ink);font-weight:600;font-size:.9375rem;
}
.subform button:hover{opacity:.88}
.formmsg{min-height:1.5em;margin:12px 0 0;font-size:.875rem;color:var(--muted)}
.formmsg.is-error{color:#c0392b}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .formmsg.is-error,:root:not([data-theme="light"]) .subform input[aria-invalid="true"]{color:#ff8a7a}}
@media (max-width:480px){.subform{flex-direction:column}}

/* Footer (subscribe card sits inside it) */
.footer{margin-top:130px;background:var(--surface);border-top:1px solid var(--line);color:var(--muted);font-size:.9375rem}
.footer .subscribe{margin-top:-100px;padding:0 0 52px}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding-bottom:40px}
.foot-brand .logo--img{display:inline-block;max-width:none}
.foot-brand .logo--img img{display:block;height:25px;width:auto}
.foot-brand p{margin:16px 0 18px;max-width:38ch;line-height:1.6}
.foot-social{display:flex;gap:6px;list-style:none;margin:0;padding:0}
.foot-social a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;color:var(--ink);font-size:1.15rem}
.foot-social a:hover{background:var(--chip)}
.foot-col h3{margin:0 0 14px;font-size:1rem;color:var(--ink)}
.foot-col ul,.foot-bottom ul{list-style:none;margin:0;padding:0}
.foot-col li{margin-bottom:10px}
.foot-col a,.foot-bottom a{color:var(--muted);text-decoration:none}
.foot-col a:hover,.foot-bottom a:hover{color:var(--accent);text-decoration:underline}
.foot-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding-block:22px;border-top:1px solid var(--line);font-size:.875rem}
.foot-bottom ul{display:flex;gap:22px}
@media (max-width:820px){
  .footer{margin-top:110px}
  .foot-grid{grid-template-columns:1fr 1fr;gap:28px}
  .foot-brand{grid-column:1 / -1}
}
@media (max-width:480px){
  .foot-bottom{flex-direction:column;align-items:flex-start}
}

/* Legal pages */
.legal-page{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans)}
.legal-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px clamp(20px,4.5vw,72px);background:var(--surface);border-bottom:1px solid var(--line)}
.legal-bar img{display:block;height:25px;width:auto}
.legal-back{color:var(--accent);font-size:.9375rem;font-weight:500;text-decoration:none}
.legal-back:hover{text-decoration:underline}
.legal{max-width:780px;margin:0 auto;padding:48px clamp(20px,4.5vw,32px) 72px}
.legal h1{margin:0 0 8px;font-family:var(--serif);font-size:clamp(1.9rem,4vw,2.5rem);line-height:1.2}
.legal .updated{margin:0 0 32px;color:var(--muted);font-size:.9375rem}
.legal h2{margin:36px 0 10px;font-family:var(--serif);font-size:1.3rem;line-height:1.3}
.legal p,.legal li{font-size:1rem;line-height:1.7}
.legal ul{padding-left:1.25rem}
.legal a{color:var(--accent)}
.legal-foot{padding:24px clamp(20px,4.5vw,72px);border-top:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:.875rem;display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between}
.legal-foot a{color:var(--muted)}
/* Read more cue + clickable cards */
.card[data-post]{cursor:pointer}
.card:hover h3 a{color:var(--accent)}
.readmore{
  display:inline-flex;align-items:center;gap:6px;margin:14px 4px 0;
  font-size:.875rem;font-weight:600;color:var(--accent);
}
.readmore .icon{font-size:1.05rem;stroke-width:2}
.readmore:hover{text-decoration:underline;text-underline-offset:4px}
@media (prefers-reduced-motion:no-preference){
  .readmore .icon{transition:transform .2s ease}
  .card:hover .readmore .icon,.readmore:focus-visible .icon{transform:translateX(4px)}
}
.featured .readmore{margin:16px 0 0}
.featured .by{margin-top:18px}

/* Article reader */
html.is-locked{overflow:hidden}
.reader{
  width:min(880px,100%);max-width:100%;
  max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);
  margin:auto;padding:0;border:0;border-radius:20px;
  background:var(--surface);color:var(--ink);
  box-shadow:0 30px 80px rgba(0,0,0,.4);
  overflow-y:auto;overscroll-behavior:contain;
}
.reader::backdrop{background:rgba(8,9,11,.62);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
@media (prefers-reduced-motion:no-preference){
  .reader[open]{animation:reader-in .28s cubic-bezier(.2,.8,.2,1)}
  @keyframes reader-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
}
.reader__bar{position:sticky;top:0;height:0;z-index:3}
.reader__close{
  position:absolute;right:14px;top:calc(env(safe-area-inset-top,0px) + 14px);
  width:42px;height:42px;display:grid;place-items:center;
  border-radius:50%;cursor:pointer;font-size:1.25rem;color:#fff;
  background:rgba(14,15,18,.6);border:1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
.reader__close:hover{background:rgba(14,15,18,.78)}
.reader__close:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.reader .thumb{aspect-ratio:16/9;border-radius:0}
.reader__img{margin:24px 0}
.reader__img img{width:100%;border-radius:8px;display:block}
.reader__content{padding:clamp(24px,5vw,56px);padding-top:clamp(24px,4vw,40px)}
.reader__content .meta{margin:0}
.reader__content h1{
  margin:12px 0 0;max-width:30ch;
  font-family:var(--serif);font-weight:700;
  font-size:clamp(1.6rem,3.6vw,2.4rem);line-height:1.2;
}
.reader__content .by{margin:20px 0 0}
.reader__text{
  margin-top:32px;max-width:66ch;
  font-family:var(--serif);font-size:1.125rem;line-height:1.8;
}
.reader__text p{margin:0 0 1.15em}
.reader__text h2{margin:1.9em 0 .6em;font-family:var(--serif);font-size:1.45rem;line-height:1.3}
.reader__text ul{margin:0 0 1.3em;padding-left:1.25em}
.reader__text li{margin:0 0 .55em}
.reader__text li::marker{color:var(--accent)}
.reader__text .reader__note{
  margin:1.8em 0 0;padding:16px 20px;border-left:3px solid var(--accent);
  background:var(--chip);border-radius:0 10px 10px 0;
}
.reader__next{margin-top:40px;padding-top:24px;border-top:1px solid var(--line);max-width:66ch}
.reader__nextlabel{display:block;font-size:.8125rem;color:var(--muted);margin-bottom:6px}
.reader__next a{font-family:var(--serif);font-weight:700;font-size:1.1rem;line-height:1.4}
.reader__next a:hover{color:var(--accent)}
.reader__back{
  margin-top:28px;padding:11px 22px;border-radius:999px;cursor:pointer;
  background:var(--btn);color:var(--btn-ink);border:0;font-weight:600;font-size:.9375rem;
}
.reader__back:hover{opacity:.88}
@media (max-width:640px){
  .reader{width:100%;height:100vh;height:100dvh;max-height:none;border-radius:0}
}

/* Floating blue LinkedIn icon: sits beside Follow me and appears when it is clicked */
.follow .li-float{
  width:48px;height:48px;border-radius:50%;
  display:grid;place-items:center;color:#fff;font-size:1.5rem;
  background:linear-gradient(135deg,#2f8be6,#0a66c2);
  border:1px solid rgba(255,255,255,.45);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 10px 26px rgba(10,102,194,.5),0 2px 8px rgba(0,0,0,.3);
  opacity:0;visibility:hidden;transform:translateX(-14px) scale(.6);
  transition:opacity .25s ease,transform .35s cubic-bezier(.2,.9,.3,1.3),visibility 0s .35s;
}
.follow .li-float.is-on{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.follow .li-float:hover{
  background:linear-gradient(135deg,#4a9cf0,#0f74d6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 12px 30px rgba(10,102,194,.65),0 2px 8px rgba(0,0,0,.3);
}
.follow .li-float:focus-visible{outline:2px solid #fff;outline-offset:3px}
.li-float__icon{display:grid;place-items:center}
@media (prefers-reduced-motion:no-preference){
  .li-float.is-on .li-float__icon{animation:li-bob 3.2s ease-in-out .4s infinite}
  @keyframes li-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
}
@media (prefers-reduced-motion:reduce){.follow .li-float{transition:none}}

/* Toast */
.toast{
  position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 20px);
  transform:translate(-50%,20px);opacity:0;pointer-events:none;
  background:var(--btn);color:var(--btn-ink);padding:10px 18px;border-radius:8px;
  font-size:.875rem;box-shadow:var(--shadow);transition:opacity .2s,transform .2s;
  max-width:calc(100% - 32px);
}
.toast.is-on{opacity:1;transform:translate(-50%,0)}

/* Subscribe card (EmailOctopus form restyled): one light grey card */
.sub-card{padding:44px 40px;border-radius:24px;color:#000;background:#eef0f3;border:1px solid #dcdfe4;box-shadow:0 20px 50px rgba(20,24,33,.10);text-align:center}
.sub-body{max-width:640px;min-width:0;margin-inline:auto}
.sub-card p{max-width:none;margin:0;color:#000}
.sub-card .eo-embed{display:block;width:100%}
/* strip every inner box the form draws, so only the grey card remains */
.sub-card .eo-embed [data-form].inline-container,
.sub-card .eo-embed .eo-form-wrapper,
.sub-card .eo-embed .form-container,
.sub-card .eo-embed .emailoctopus-form-wrapper,
.sub-card .eo-embed .emailoctopus-form,
.sub-card .eo-embed [eo-block-container],
.sub-card .eo-embed .mastfoot{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
.sub-card .eo-embed [data-form].inline-container{max-width:none!important;width:100%!important;margin:0!important}
.sub-card .eo-embed .text-center{text-align:center!important}
.sub-card .eo-embed h1{margin:0 0 12px;font-family:var(--sans);font-weight:700;font-size:clamp(1.5rem,2.6vw,2.125rem);line-height:1.25;color:#000}
.sub-card .eo-embed [eo-block="text"],.sub-card .eo-embed [eo-block="text"] *{text-align:center!important;color:#000!important;font-size:1rem}
.sub-card .eo-embed .emailoctopus-form-wrapper{margin-top:20px!important}
.sub-card .eo-embed .emailoctopus-success-message,.sub-card .eo-embed .emailoctopus-error-message{color:#000}
.sub-card .eo-embed form .main-form{display:flex;align-items:center;gap:10px;max-width:560px;margin-inline:auto;padding:0;border:0;background:none;border-radius:0}
.sub-card .eo-embed [eo-form-fields-container]{flex:1;min-width:0}
.sub-card .eo-embed .form-group{margin:0!important}
.sub-card .eo-embed .form-control{height:48px;padding:0 16px;border:1px solid #8a94a3;border-radius:10px;background:#fff;box-shadow:none;color:#000;font-size:1rem}
.sub-card .eo-embed .form-control::placeholder{color:#555;opacity:1}
.sub-card .eo-embed .form-control:focus{background:#fff;border-color:#1b57a8;box-shadow:0 0 0 3px rgba(27,87,168,.2);color:#000}
.sub-card .eo-embed .btn-primary{width:auto!important;height:48px;margin:0!important;padding:0 26px;border:0;border-radius:10px;background:#1b57a8;color:#fff;font-weight:600;white-space:nowrap}
.sub-card .eo-embed .btn-primary:hover,.sub-card .eo-embed .btn-primary:focus{background:#144686;color:#fff;box-shadow:none}
.sub-card .eo-embed .mastfoot p{margin-top:12px;font-size:.75rem;color:#000}
.sub-card .eo-embed .mastfoot a{color:#000;text-decoration:underline}
@media (max-width:820px){.sub-card{padding:32px 20px}}
@media (max-width:480px){
  .sub-card .eo-embed form .main-form{flex-direction:column;align-items:stretch}
  .sub-card .eo-embed .btn-primary{width:100%!important}
}

/* =========================================================
   Dribbble-inspired personal blog redesign
   Reference: Personal Blog Website by Md Shahed Hossain
   ========================================================= */
:root{
  --bg:#f4f4f2;
  --surface:#fff;
  --ink:#202020;
  --muted:#77756f;
  --line:#e8e6e1;
  --accent:#5675d9;
  --chip:#efefed;
  --chip-ink:#33322f;
  --btn:#202020;
  --btn-ink:#fff;
  --shadow:0 3px 16px rgba(25,25,25,.07),0 1px 3px rgba(25,25,25,.05);
  --serif:"PT Serif",Georgia,"Times New Roman",serif;
  --sans:"Public Sans",Arial,sans-serif;
  --wrap:1180px;
  --radius:6px;
}

html,body{background:var(--bg);color:var(--ink)}
body{font-size:15px;line-height:1.6}
.wrap{max-width:1180px;padding-inline:28px}

/* Slim horizontal top navigation */
.top{margin-top:0;background:#fff}
.bar{
  position:relative;
  top:auto;left:auto;right:auto;
  padding:0;
  background:#fff;
  border-bottom:1px solid #eceae6;
  box-shadow:none;
}
.bar__inner{
  min-height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.brand{display:flex;align-items:center;flex:0 0 auto}
.brand img{height:28px;width:auto;filter:none}
.nav{margin-left:auto;padding:0;background:transparent;border:0;box-shadow:none;backdrop-filter:none}
.nav__links{gap:4px;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em}
.nav__links a{--px:14px;padding:8px var(--px);border-radius:4px;color:#555;background:transparent}
.nav__links a::after{bottom:3px;height:1px;background:#202020}
.nav__links .btn-contact{margin-left:4px;padding:8px 14px;background:#202020;color:#fff;border-radius:4px;font-size:.76rem}

/* Compact, centered author intro */
.hero{
  min-height:0;
  display:block;
  overflow:visible;
  background:#fff;
  color:var(--ink);
  text-align:center;
  padding:76px 0 72px;
  border-bottom:1px solid #ebe9e5;
}
.hero__photo{display:none}
.hero__inner{
  display:block;
  padding:0;
}
.hero__copy{
  width:min(760px,100%);
  margin:0 auto;
  padding:0;
  align-items:center;
}
.hero h1{
  margin:0;
  font-family:var(--serif);
  font-size:clamp(2.55rem,5vw,4.15rem);
  line-height:1.04;
  letter-spacing:-.025em;
  font-weight:700;
}
.hero p{
  margin:18px auto 0;
  max-width:610px;
  font-family:var(--sans);
  font-size:.82rem;
  line-height:1.55;
  color:#777;
}
.follow{margin-top:18px;display:flex;align-items:center;justify-content:center;gap:8px}
.follow__btn{
  padding:0;
  border:0;
  background:none;
  box-shadow:none;
  color:#5573d3;
  border-radius:0;
  font-size:.78rem;
  font-weight:500;
  gap:4px;
  backdrop-filter:none;
}
.follow__btn:hover{background:none;border:0;color:#3558c9}
.follow__btn .icon{display:none}
.li-float{width:25px!important;height:25px!important;border-radius:50%!important;color:#333!important;font-size:.72rem!important}
.li-float:hover{background:#eee!important}

/* Main content area */
.feed{
  padding:64px 0 86px;
  background:#f4f4f2;
}
.section-title{
  margin:0 0 26px;
  font-family:var(--serif);
  font-size:1.65rem;
  line-height:1.2;
  font-weight:700;
  letter-spacing:-.01em;
}

/* Featured post: large image-first card */
.featured{
  display:block;
  padding:10px 10px 20px;
  background:#fff;
  border:1px solid #e9e7e3;
  border-radius:6px;
  box-shadow:var(--shadow);
}
.featured .thumb{
  width:100%;
  aspect-ratio:2.05/1;
  border-radius:4px;
}
.featured__body{padding:0 10px 0}
.featured .meta{margin:15px 0 0;font-size:.68rem;color:#777}
.featured .meta .icon{color:#777;font-size:.8rem}
.featured h3{
  margin:7px 0 0;
  font-family:var(--serif);
  font-size:clamp(1.35rem,2.1vw,1.8rem);
  line-height:1.2;
}
.featured .excerpt{margin:7px 0 0;max-width:760px;font-size:.78rem;line-height:1.55;color:#777}
.featured .by{margin-top:13px;font-size:.7rem}
.featured .by .avatar{--s:25px}
.readmore{font-size:.72rem;color:#5573d3}
.featured .readmore{margin-top:8px}

/* Latest section and category filters */
.latest{margin-top:64px}
.filters{margin:-6px 0 24px;gap:7px}
.chip{
  padding:6px 13px;
  border-radius:4px;
  background:#fff;
  border:1px solid #e1dfdb;
  color:#666;
  font-size:.72rem;
}
.chip:hover{border-color:#bbb;color:#222}
.chip[aria-pressed="true"]{background:#202020;border-color:#202020;color:#fff}

/* Two-column blog cards like the reference */
.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.card{
  padding:10px 10px 18px;
  border:1px solid #e9e7e3;
  border-radius:6px;
  box-shadow:var(--shadow);
  background:#fff;
}
.card .thumb{aspect-ratio:1.65/1;border-radius:4px}
.card .meta{margin:12px 3px 0;font-size:.65rem;gap:5px 13px}
.card .meta .icon{font-size:.78rem;color:#888}
.card h3{margin:6px 3px 0;font-size:1.2rem;line-height:1.25}
.card .excerpt{margin:6px 3px 0;font-size:.76rem;line-height:1.55;color:#777}
.card .by{margin:11px 3px 0;font-size:.68rem}
.card .by .avatar{--s:24px}
.card .tag{padding:3px 7px;font-size:.58rem}
.card .readmore{margin:9px 3px 0;display:inline-flex}

/* Subscribe section */
.subscribe{margin-top:76px;padding:0 0 18px}
.sub-card{
  padding:44px 34px;
  border-radius:6px;
  background:#fff;
  border:1px solid #e7e5e0;
  box-shadow:var(--shadow);
}
.sub-card .eo-embed h1{font-family:var(--serif)!important;font-size:1.65rem!important}

/* Footer */
.footer{
  margin-top:0;
  background:#fff;
  border-top:1px solid #e7e5e0;
}
.foot-grid{padding-top:64px}
.footer .logo img{height:26px;width:auto}
.footer h3{font-family:var(--serif);color:#222}
.foot-bottom{border-top:1px solid #e8e6e1}

@media (min-width:900px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
}
@media (max-width:720px){
  .bar__inner{min-height:62px}
  .brand img{height:24px}
  .nav__links{font-size:.7rem;letter-spacing:.04em}
  .nav__links a{--px:7px;padding:7px var(--px)}
  .nav__links .btn-contact{padding:7px 9px}
  .hero{padding:58px 0 56px}
  .hero h1{font-size:clamp(2.2rem,10vw,3.2rem)}
  .feed{padding-top:48px}
  .grid{grid-template-columns:1fr}
}
@media (max-width:500px){
  .bar__inner{gap:8px}
  .nav__links li:nth-child(2){display:none}
  .nav__links a{--px:5px}
  .hero p{font-size:.78rem}
  .featured .thumb{aspect-ratio:1.5/1}
}

/* =========================================================
   Hero: full-bleed photo (overrides the compact intro above)
   ========================================================= */
.hero{
  position:relative;
  display:flex;
  min-height:clamp(520px,44vw,700px);
  padding:0;
  overflow:hidden;
  background:#1c1d20;
  color:#fff;
  text-align:left;
  border-bottom:0;
}
.hero__photo{
  display:block;
  position:absolute;inset:0;
  background-image:var(--photo);
  background-size:cover;
  background-position:center 40%;
}
.hero__photo::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(12,13,15,0) 30%,rgba(12,13,15,.55) 56%,rgba(12,13,15,.78) 100%);
}
.hero__inner{
  position:relative;flex:1;
  display:flex;justify-content:flex-end;align-items:center;
  padding:64px 28px;
}
.hero__copy{
  width:min(46%,540px);
  margin:0;
  align-items:flex-start;
}
.hero h1{
  margin:0 0 18px;
  color:#fff;
  font-size:clamp(2.2rem,4vw,3.5rem);
  line-height:1.06;
  letter-spacing:-.02em;
  text-wrap:balance;
}
.hero p{
  margin:0;
  max-width:46ch;
  font-size:1rem;
  line-height:1.65;
  color:rgba(255,255,255,.88);
}
.hero .follow{margin-top:26px;justify-content:flex-start;gap:12px}
.hero .follow__btn{
  padding:11px 22px;
  border-radius:999px;
  color:#fff;
  font-size:.875rem;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.4);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  gap:8px;
}
.hero .follow__btn:hover{background:rgba(255,255,255,.24);border:1px solid rgba(255,255,255,.6);color:#fff}
.hero .follow__btn .icon{display:inline-block}
.hero .li-float{color:#fff!important;width:36px!important;height:36px!important;font-size:1.1rem!important}
.hero .li-float:hover{background:rgba(255,255,255,.18)!important}

@media (min-width:821px) and (max-width:1100px){
  .hero__copy{width:min(52%,520px)}
  .hero__photo::after{background:linear-gradient(90deg,rgba(12,13,15,0) 22%,rgba(12,13,15,.62) 46%,rgba(12,13,15,.82) 100%)}
}
@media (max-width:820px){
  .hero{flex-direction:column;min-height:0;padding:0}
  .hero__photo{position:relative;inset:auto;height:340px;background-position:38% 45%}
  .hero__photo::after{background:linear-gradient(180deg,rgba(28,29,32,0) 55%,#1c1d20 100%)}
  .hero__inner{justify-content:flex-start;align-items:flex-start;padding:8px 24px 48px}
  .hero__copy{width:100%}
  .hero h1{font-size:clamp(2rem,9vw,2.8rem)}
  .hero p{font-size:.95rem}
}

/* =========================================================
   Logo fills the navbar (EVChaja-style: big mark, tall bar)
   ========================================================= */
.bar__inner{min-height:104px;padding-block:12px}
.brand img{height:78px;width:auto;filter:none}
.footer .logo img,.foot-brand .logo--img img{height:64px;width:auto}
@media (max-width:860px){
  .bar__inner{min-height:0;padding-block:10px 8px;gap:4px}
  .brand img{height:64px}
}
@media (max-width:720px){
  .bar__inner{min-height:0}
  .brand img{height:60px}
}

/* =========================================================
   Glass navbar: same frosted look as the Follow me button,
   but a full-width bar floating over the hero photo
   ========================================================= */
.top{position:relative;background:#1c1d20}
.bar{
  position:absolute;top:0;left:0;right:0;z-index:20;
  background:linear-gradient(135deg,rgba(255,255,255,.66),rgba(255,255,255,.38));
  -webkit-backdrop-filter:blur(18px) saturate(1.6);
  backdrop-filter:blur(18px) saturate(1.6);
  border-bottom:1px solid rgba(255,255,255,.55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 10px 28px rgba(0,0,0,.18);
}
.nav__links a{color:#1d1e21}
.nav__links a[aria-current="true"]{color:#000}
.nav__links a::after{background:#1d1e21}
.nav__links .btn-contact{color:#fff}
.brand img{filter:drop-shadow(0 0 6px rgba(255,255,255,.55))}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .bar{background:rgba(255,255,255,.92)}
}
/* hero now starts at the very top, so push its content below the bar */
.hero__inner{padding-top:136px}
@media (max-width:820px){
  .hero__photo{height:380px;background-position:38% 60%}
  .hero__inner{padding-top:8px}
}

/* Slimmer navbar */
.bar__inner{min-height:78px;padding-block:8px}
.brand img{height:58px}
.hero__inner{padding-top:110px}
@media (max-width:860px){
  .bar__inner{padding-block:6px 6px;gap:2px}
  .brand img{height:46px}
}
@media (max-width:720px){
  .brand img{height:44px}
}
@media (max-width:820px){
  .hero__inner{padding-top:8px}
}
@media (max-width:860px){
  .bar__inner{min-height:0}
}

/* =========================================================
   Newsletter card (just above the footer), white version
   ========================================================= */
.newsletter{background:#f4f4f2;padding:0 0 clamp(48px,7vw,84px)}
.newsletter__card{
  display:grid;grid-template-columns:1.1fr 1fr;align-items:center;
  gap:clamp(28px,5vw,56px);
  padding:clamp(28px,5vw,56px) clamp(20px,5vw,60px);
  border-radius:clamp(18px,2.4vw,24px);
  background:#fff;
  border:1px solid #e3e1dc;
  box-shadow:0 3px 16px rgba(25,25,25,.07),0 18px 44px rgba(25,25,25,.08);
  color:#202020;
  overflow:visible;
}
.newsletter__copy,.newsletter__form{min-width:0}
.newsletter__copy h2{
  margin:0 0 14px;
  font-family:var(--serif);font-weight:700;
  font-size:clamp(1.75rem,3.2vw,2.6rem);line-height:1.12;letter-spacing:-.015em;
  color:#202020;
}
.newsletter__copy p{margin:0;max-width:44ch;font-size:clamp(.9rem,1.4vw,.95rem);line-height:1.65;color:#55534e}
.newsletter__label{display:block;margin:0 0 10px;font-size:.95rem;font-weight:600;color:#202020}

/* ---- EmailOctopus embed (real markup): field + button made unmissable ---- */
.newsletter .eo-embed{display:block;width:100%;overflow:visible}
.newsletter .eo-embed [data-form].inline-container,
.newsletter .eo-embed .eo-form-wrapper,
.newsletter .eo-embed .form-container,
.newsletter .eo-embed .emailoctopus-form-wrapper,
.newsletter .eo-embed .emailoctopus-form,
.newsletter .eo-embed [eo-block-container],
.newsletter .eo-embed .mastfoot{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;margin:0!important;overflow:visible!important}
.newsletter .eo-embed [data-form].inline-container{max-width:none!important;width:100%!important}
/* the card already carries the heading and intro (same words), so hide the embed's copies */
.newsletter .eo-embed [eo-block="title"],
.newsletter .eo-embed [eo-block="text"]{display:none!important}
/* spam-trap field must stay hidden */
.newsletter .eo-embed .emailoctopus-form-row-hp{display:none!important}

.newsletter .eo-embed form .main-form{
  display:flex!important;flex-wrap:wrap;align-items:stretch;gap:12px;
}
.newsletter .eo-embed [eo-form-fields-container]{flex:1 1 230px;min-width:0}
.newsletter .eo-embed .form-group{margin:0!important}

/* the email box */
.newsletter .eo-embed #field_0,
.newsletter .eo-embed input[type="email"],
.newsletter .eo-embed .form-control{
  display:block!important;visibility:visible!important;opacity:1!important;
  -webkit-appearance:none;appearance:none;
  width:100%!important;height:54px!important;margin:0!important;padding:0 16px!important;
  background:#fff!important;
  border:2px solid #202020!important;border-radius:12px!important;
  box-shadow:none!important;
  color:#202020!important;-webkit-text-fill-color:#202020;
  font:500 1rem/1.2 var(--sans)!important;
}
.newsletter .eo-embed .form-control::placeholder{color:#5f5d58!important;-webkit-text-fill-color:#5f5d58;opacity:1!important}
.newsletter .eo-embed .form-control:focus{
  border-color:#4563c9!important;
  box-shadow:0 0 0 4px rgba(69,99,201,.22)!important;outline:0;
}

/* the Subscribe button (EmailOctopus renders it as <input type="submit">) */
.newsletter .eo-embed input[type="submit"],
.newsletter .eo-embed .btn-primary,
.newsletter .eo-embed .btn{
  display:block!important;visibility:visible!important;opacity:1!important;
  -webkit-appearance:none;appearance:none;
  flex:0 0 auto;width:auto!important;min-width:150px;height:54px!important;margin:0!important;padding:0 30px!important;
  background:#4563c9!important;
  border:2px solid #4563c9!important;border-radius:12px!important;
  color:#fff!important;-webkit-text-fill-color:#fff;
  font:700 1rem/1 var(--sans)!important;letter-spacing:.01em;
  text-align:center;white-space:nowrap;cursor:pointer;
  box-shadow:0 6px 16px rgba(69,99,201,.32)!important;
  transition:background .15s,border-color .15s,transform .15s;
}
.newsletter .eo-embed input[type="submit"]:hover,
.newsletter .eo-embed .btn-primary:hover,
.newsletter .eo-embed input[type="submit"]:focus-visible,
.newsletter .eo-embed .btn-primary:focus-visible{background:#2f49a6!important;border-color:#2f49a6!important;color:#fff!important}
.newsletter .eo-embed input[type="submit"]:active{transform:translateY(1px)}

/* every other piece of text */
.newsletter .eo-embed p,
.newsletter .eo-embed label,
.newsletter .eo-embed span,
.newsletter .eo-embed small{color:#3b3a37!important;font-family:var(--sans)!important;text-align:left!important}
.newsletter .eo-embed .text-center{text-align:left!important}
.newsletter .eo-embed a{color:#202020!important;text-decoration:underline}
.newsletter .eo-embed .mastfoot p{margin:14px 0 0!important;font-size:.8125rem;line-height:1.5}
.newsletter .eo-embed .emailoctopus-success-message,
.newsletter .eo-embed .emailoctopus-error-message{margin:12px 0 0!important;font-size:.9rem;font-weight:600;line-height:1.45}
.newsletter .eo-embed .emailoctopus-success-message{color:#202020!important}
.newsletter .eo-embed .emailoctopus-error-message{color:#b3261e!important}
.newsletter .eo-embed .emailoctopus-success-message:empty,
.newsletter .eo-embed .emailoctopus-error-message:empty{display:none!important}
.newsletter .eo-embed input[type="checkbox"]{accent-color:#4563c9}

@media (max-width:900px){
  .newsletter__card{grid-template-columns:1fr}
}
@media (max-width:520px){
  .newsletter .eo-embed form .main-form{flex-direction:column;flex-wrap:nowrap}
  .newsletter .eo-embed [eo-form-fields-container]{flex:0 0 auto}
  .newsletter .eo-embed input[type="submit"],
  .newsletter .eo-embed .btn-primary,
  .newsletter .eo-embed .btn{width:100%!important}
}

/* =========================================================
   White navbar (solid, sits above the hero photo)
   ========================================================= */
.top{background:#fff}
.bar{
  position:relative;
  background:#fff;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  border-bottom:1px solid #eceae6;
  box-shadow:none;
}
.brand img{filter:none}
.hero__inner{padding-top:64px}

/* =========================================================
   Back-to-top arrow
   ========================================================= */
.to-top{
  position:fixed;z-index:60;
  right:max(16px,env(safe-area-inset-right));
  bottom:max(16px,env(safe-area-inset-bottom));
  display:grid;place-items:center;
  width:48px;height:48px;padding:0;border-radius:50%;
  background:#202020;color:#fff;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 8px 24px rgba(0,0,0,.28);
  cursor:pointer;font-size:1.35rem;
  opacity:0;visibility:hidden;transform:translateY(14px);
  transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s,background .15s;
}
.to-top .icon{stroke-width:2.2;pointer-events:none}
.to-top.is-visible{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.to-top:hover{background:#4563c9}
.to-top:focus-visible{outline:3px solid #8fa8ff;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.to-top{transition:none}}
@media (min-width:900px){.to-top{right:28px;bottom:28px;width:52px;height:52px}}

/* =========================================================
   Responsive polish
   ========================================================= */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
img,svg,video,iframe{max-width:100%}
.wrap{padding-inline:clamp(16px,4vw,28px)}
.hero h1,.newsletter__copy h2,.card h3,.featured h3{overflow-wrap:anywhere}

/* hero text block: re-assert spacing after the desktop override above */
@media (max-width:820px){
  .hero__inner{padding:8px clamp(16px,5vw,28px) 48px}
  .hero__photo{height:clamp(260px,62vw,420px)}
}
@media (min-width:1500px){
  .hero{min-height:clamp(600px,40vw,760px)}
}
/* comfortable tap targets on touch screens */
@media (max-width:720px){
  .nav__links a{min-height:40px;display:inline-flex;align-items:center}
  .chip{min-height:38px}
  .foot-col a,.foot-bottom a{display:inline-block;padding-block:4px}
}
/* very small phones */
@media (max-width:360px){
  .brand img{height:38px}
  .nav__links .btn-contact{padding:7px 10px;font-size:.7rem}
  .newsletter__card{padding:26px 16px}
  .follow__btn{padding:10px 18px}
}

/* =========================================================
   Subscribe field: ID-level specificity so the embed's own
   styles can't hide the email box (border, background, size)
   ========================================================= */
#subscribe #eo-embed [eo-form-fields-container],
#subscribe #eo-embed .form-group{
  display:block!important;visibility:visible!important;opacity:1!important;
  height:auto!important;min-height:54px!important;overflow:visible!important;
}
#subscribe #eo-embed input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([tabindex="-1"]):not([name^="hp"]),
#subscribe #eo-embed #field_0{
  display:block!important;visibility:visible!important;opacity:1!important;
  position:static!important;clip:auto!important;
  width:100%!important;min-width:0!important;height:54px!important;min-height:54px!important;
  padding:0 16px!important;margin:0!important;
  background:#fff!important;background-color:#fff!important;
  border:2px solid #202020!important;border-radius:12px!important;
  outline:2px solid #202020!important;outline-offset:-2px!important;
  box-shadow:0 1px 3px rgba(0,0,0,.12)!important;
  color:#202020!important;-webkit-text-fill-color:#202020!important;
}
#subscribe #eo-embed #field_0:focus{
  border-color:#4563c9!important;outline-color:#4563c9!important;
  box-shadow:0 0 0 4px rgba(69,99,201,.22)!important;
}

/* Subscribe fallback (shown only if the EmailOctopus script doesn't render) */
.sub-fallback{margin:0;position:relative}
.sub-fallback__row{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}
.sub-fallback input[type="email"]{
  flex:1 1 230px;min-width:0;height:54px;padding:0 16px;
  background:#fff;color:#202020;-webkit-text-fill-color:#202020;
  border:2px solid #202020;border-radius:12px;
  font:500 1rem/1.2 var(--sans);box-shadow:0 1px 3px rgba(0,0,0,.12);
  -webkit-appearance:none;appearance:none;
}
.sub-fallback input[type="email"]::placeholder{color:#5f5d58;opacity:1}
.sub-fallback input[type="email"]:focus{outline:0;border-color:#4563c9;box-shadow:0 0 0 4px rgba(69,99,201,.22)}
.sub-fallback button{
  flex:0 0 auto;min-width:150px;height:54px;padding:0 30px;
  background:#4563c9;color:#fff;border:2px solid #4563c9;border-radius:12px;
  font:700 1rem/1 var(--sans);cursor:pointer;box-shadow:0 6px 16px rgba(69,99,201,.32);
}
.sub-fallback button:hover{background:#2f49a6;border-color:#2f49a6}
.sub-fallback button:disabled{opacity:.7;cursor:progress}
.sub-fallback__msg{margin:12px 0 0;font-size:.9rem;font-weight:600;line-height:1.45;color:#202020}
.sub-fallback__msg:empty{display:none}
.sub-fallback__msg.is-error{color:#b3261e}
@media (max-width:520px){.sub-fallback__row{flex-direction:column}.sub-fallback button{width:100%}}

/* spam-trap field must never be visible, in the embed or in our fallback */
#subscribe #eo-embed input[tabindex="-1"],
#subscribe #eo-embed input[name^="hp"],
#subscribe #eo-embed .emailoctopus-form-row-hp{
  position:absolute!important;left:-9999px!important;width:0!important;height:0!important;
  min-height:0!important;padding:0!important;margin:0!important;border:0!important;outline:0!important;
  box-shadow:none!important;opacity:0!important;overflow:hidden!important;
}

.sub-fallback__credit{margin:14px 0 0;font-size:.8125rem;line-height:1.5;color:#3b3a37}
.sub-fallback__credit a{color:#202020;text-decoration:underline}

/* after a successful signup the label above the form goes away */
.newsletter__form.is-subscribed .newsletter__label{display:none}

/* =========================================================
   RESPONSIVE LAYER (final word on nav, footer and fluid sizing)
   - desktop: links in the bar
   - <= 860px: hamburger opens a slide-in sidebar
   ========================================================= */

/* media never forces sideways scrolling */
img,video,svg,iframe{max-width:100%}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:hidden}
@supports (overflow:clip){body{overflow-x:clip}}

/* drawer-only pieces are hidden on desktop */
.nav-toggle,.nav__head,.nav__extra,.nav__foot,.nav-backdrop{display:none}

@media (max-width:860px){
  /* keep the frosted-glass bar, but on a pseudo-element: backdrop-filter on the
     bar itself would trap the fixed sidebar inside it */
  #top .bar{
    background:none;-webkit-backdrop-filter:none;backdrop-filter:none;
    padding-top:env(safe-area-inset-top,0px);
  }
  #top .bar::before{
    content:"";position:absolute;inset:0;z-index:-1;
    background:linear-gradient(135deg,rgba(255,255,255,.66),rgba(255,255,255,.38));
    -webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);
  }
  @supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
    #top .bar::before{background:rgba(255,255,255,.92)}
  }
  #top .bar.is-nav-open{z-index:90}

  #top .bar__inner{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:60px}

  /* hamburger */
  .nav-toggle{
    display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
    width:46px;height:46px;margin:0 -8px 0 0;padding:0;
    background:transparent;border:0;border-radius:12px;color:#1d1e21;cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  .nav-toggle:hover{background:rgba(0,0,0,.06)}
  .nav-toggle:focus-visible{outline:3px solid #4563c9;outline-offset:2px}
  .nav-toggle__bars,.nav-toggle__bars::before,.nav-toggle__bars::after{
    display:block;width:22px;height:2px;border-radius:2px;background:currentColor;
  }
  .nav-toggle__bars{position:relative}
  .nav-toggle__bars::before,.nav-toggle__bars::after{content:"";position:absolute;left:0}
  .nav-toggle__bars::before{top:-7px}
  .nav-toggle__bars::after{top:7px}

  /* the sidebar */
  #top .nav{
    display:flex;flex-direction:column;
    position:fixed;top:0;right:0;bottom:0;left:auto;z-index:95;
    width:min(86vw,340px);max-width:none;margin:0;
    padding:0 0 calc(20px + env(safe-area-inset-bottom,0px));
    background:#fff;color:#1d1e21;
    border:0;border-radius:20px 0 0 20px;
    box-shadow:-18px 0 48px rgba(0,0,0,.28);
    overflow-y:auto;overscroll-behavior:contain;
    transform:translateX(105%);visibility:hidden;
    transition:transform .32s cubic-bezier(.3,.8,.3,1),visibility 0s linear .32s;
  }
  #top .nav.is-open{
    transform:none;visibility:visible;
    transition:transform .32s cubic-bezier(.3,.8,.3,1),visibility 0s;
  }
  #top .nav__head{
    display:flex;align-items:center;justify-content:space-between;
    padding:calc(14px + env(safe-area-inset-top,0px)) 14px 14px 22px;
    border-bottom:1px solid #eceae6;
  }
  #top .nav__title{font:600 1rem/1 var(--serif);color:#1d1e21}
  #top .nav__close{
    display:inline-flex;align-items:center;justify-content:center;
    width:44px;height:44px;padding:0;background:transparent;border:0;border-radius:12px;
    color:#1d1e21;cursor:pointer;
  }
  #top .nav__close:hover{background:rgba(0,0,0,.06)}
  #top .nav__close:focus-visible{outline:3px solid #4563c9;outline-offset:2px}
  #top .nav__close .icon{width:22px;height:22px}

  #top .nav__links{
    flex-direction:column;align-items:stretch;gap:4px;
    margin:0;padding:14px 14px 8px;font-size:1.0625rem;
    text-transform:none;letter-spacing:0;
  }
  #top .nav__extra{display:list-item}
  #top .nav__links li{margin:0;display:list-item}   /* undo the old rule that hid "Category" on narrow screens */
  #top .nav__links a{
    display:flex;align-items:center;min-height:52px;
    padding:0 16px;border-radius:12px;color:#1d1e21;font-weight:500;
  }
  #top .nav__links a::after{display:none}
  #top .nav__links a:hover,#top .nav__links a:focus-visible{background:#f1f0ec}
  #top .nav__links a[aria-current="true"]{background:#f1f0ec;font-weight:600}
  #top .nav__links .btn-contact{
    justify-content:center;margin:10px 0 0;min-height:52px;
    background:#202020;color:#fff;border-radius:12px;font-size:1rem;font-weight:600;
  }
  #top .nav__links .btn-contact:hover,#top .nav__links .btn-contact:focus-visible{background:#4563c9;color:#fff}

  #top .nav__foot{
    display:block;margin-top:auto;padding:18px 22px 0;border-top:1px solid #eceae6;
    font-size:.875rem;color:#55534e;
  }
  #top .nav__social{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:#1d1e21;text-decoration:none;font-weight:500}
  #top .nav__social .icon{width:20px;height:20px}
  #top .nav__foot p{margin:6px 0 0;display:flex;flex-wrap:wrap;gap:4px 18px}
  #top .nav__foot p a{color:#55534e;text-decoration:none;display:inline-block;padding-block:6px}
  #top .nav__foot p a:hover{color:#202020;text-decoration:underline}

  /* dim page behind the sidebar */
  .nav-backdrop{
    display:block;position:fixed;inset:0;z-index:92;
    background:rgba(16,17,20,.5);
    opacity:0;visibility:hidden;
    transition:opacity .3s ease,visibility 0s linear .3s;
  }
  .nav-backdrop.is-open{opacity:1;visibility:visible;transition:opacity .3s ease,visibility 0s}

  html.nav-open,html.nav-open body{overflow:hidden}
}
@media (max-width:860px) and (prefers-reduced-motion:reduce){
  #top .nav,#top .nav.is-open,.nav-backdrop,.nav-backdrop.is-open{transition:none}
}

/* ---------- fluid hero + headings ---------- */
.hero h1{font-size:clamp(2rem,6.2vw + .4rem,3.6rem);line-height:1.1;overflow-wrap:anywhere}
.hero p{max-width:min(60ch,100%)}
.section-title{font-size:clamp(1.4rem,3vw + .4rem,2rem)}
@media (max-width:420px){
  .wrap{padding-inline:16px}
  .hero__photo{height:340px}
}

/* ---------- footer ---------- */
.footer{padding-bottom:env(safe-area-inset-bottom,0px)}
.foot-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px)}
.foot-brand p{max-width:min(38ch,100%)}
.foot-social{flex-wrap:wrap}
@media (max-width:960px){
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 28px;padding-top:48px}
  .foot-brand{grid-column:1 / -1}
}
@media (max-width:899px){
  /* leave room so the floating back-to-top button never covers the last line */
  .foot-bottom{padding-bottom:calc(22px + 64px)}
}
@media (max-width:640px){
  .foot-bottom{flex-direction:column;align-items:flex-start;gap:10px}
  .foot-bottom ul{flex-wrap:wrap;gap:4px 20px}
  .foot-social a{width:44px;height:44px}
  .foot-col a,.foot-bottom a{padding-block:6px}
}
@media (max-width:340px){
  .foot-grid{grid-template-columns:1fr}
}

/* =========================================================
   About Us (hero banner, Our Story, Meet Our Founder)
   ========================================================= */
.about-us{background:var(--bg);scroll-margin-top:0}
.au-hero{position:relative;overflow:hidden;background:var(--surface);min-height:clamp(320px,36vw,460px);display:flex;align-items:center}
.au-hero__photo{
  position:absolute;inset:0;
  background:var(--photo) right 38%/cover no-repeat;
}
.au-hero__photo::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,
    color-mix(in srgb,var(--surface) 96%,transparent) 0,
    color-mix(in srgb,var(--surface) 90%,transparent) 38%,
    color-mix(in srgb,var(--surface) 35%,transparent) 68%,
    transparent 100%);
}
.au-hero__inner{position:relative;padding-block:64px}
.au-hero__title{
  margin:0 0 18px;font-family:var(--serif);font-weight:700;
  font-size:clamp(2.2rem,5vw,3.6rem);line-height:1.08;letter-spacing:-.015em;color:var(--ink);
}
.au-hero__lead{margin:0;max-width:34ch;font-size:clamp(1.05rem,1.6vw,1.3rem);line-height:1.55;color:var(--ink)}

.au-story{background:var(--surface);padding:clamp(56px,8vw,96px) 0}
.au-heading{margin:0 0 clamp(26px,4vw,40px);font-family:var(--serif);font-weight:700;font-size:clamp(1.8rem,3.6vw,2.7rem);line-height:1.12;letter-spacing:-.015em;color:var(--ink)}
.au-heading--center{text-align:center;margin-bottom:18px}
.au-intro{margin:0 auto clamp(36px,5vw,56px);max-width:62ch;text-align:center;font-size:1.0625rem;line-height:1.7;color:var(--muted)}

.au-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
.au-col{padding:4px clamp(20px,3.5vw,48px)}
.au-col:first-child{padding-left:0}
.au-col:last-child{padding-right:0}
.au-col + .au-col{border-left:1px solid var(--line)}
.au-col h3{margin:0 0 14px;font-family:var(--sans);font-weight:600;font-size:1.2rem;line-height:1.3;color:var(--ink)}
.au-col p{margin:0;font-size:1rem;line-height:1.85;color:var(--muted)}

.au-more{
  margin-top:clamp(40px,6vw,64px);padding-top:clamp(28px,4vw,40px);border-top:1px solid var(--line);
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,3.5vw,48px);
}
.au-more p{margin:0;font-size:.9375rem;line-height:1.75;color:var(--muted)}
.au-tagline{margin:clamp(32px,5vw,48px) 0 0;text-align:center;font-family:var(--serif);font-style:italic;font-weight:700;font-size:clamp(1.15rem,2vw,1.4rem);color:var(--accent)}

.au-founder{background:var(--bg);padding:clamp(56px,8vw,96px) 0 clamp(40px,6vw,72px)}
.founder-card{
  display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;
  gap:clamp(24px,4vw,56px);
  max-width:820px;padding:clamp(24px,4vw,44px);
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);
}
.founder-card__photo{
  position:relative;width:clamp(120px,16vw,176px);aspect-ratio:1;border-radius:50%;overflow:hidden;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#2b3a67,#5675d9);color:#fff;
}
.founder-card__photo::before{content:attr(data-initials);font-family:var(--serif);font-weight:700;font-size:clamp(2rem,4vw,3rem);letter-spacing:.04em}
.founder-card__photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.founder-card__body h3{margin:0;font-family:var(--serif);font-weight:700;font-size:clamp(1.4rem,2.4vw,1.75rem);line-height:1.2;color:var(--ink)}
.founder-card__role{margin:6px 0 0;font-size:.9375rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--accent)}
.founder-card__bio{margin:14px 0 0;max-width:52ch;font-size:1rem;line-height:1.7;color:var(--muted)}
.founder-card__in{
  display:inline-flex;align-items:center;gap:10px;margin-top:18px;padding:8px 16px 8px 12px;
  border:1px solid var(--line);border-radius:999px;font-size:.875rem;font-weight:600;color:var(--ink);
}
.founder-card__in .icon{font-size:1.25rem}
.founder-card__in:hover{border-color:var(--accent);color:var(--accent)}

@media (max-width:820px){
  .au-cols{grid-template-columns:1fr}
  .au-col,.au-col:first-child,.au-col:last-child{padding:22px 0}
  .au-col + .au-col{border-left:0;border-top:1px solid var(--line)}
  .au-col:first-child{padding-top:0}
  .au-more{grid-template-columns:1fr}
  .au-hero__photo::after{background:linear-gradient(90deg,color-mix(in srgb,var(--surface) 94%,transparent) 0,color-mix(in srgb,var(--surface) 70%,transparent) 100%)}
}
@media (max-width:560px){
  .founder-card{grid-template-columns:1fr;justify-items:start}
}
