 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: 'Inter', -apple-system, sans-serif;
     background: #fff;
     color: #111;
     font-size: 15px;
     line-height: 1.6;
     -webkit-font-smoothing: antialiased;
     max-width: 740px;
     margin: 0 auto;
     padding: 0 24px;
 }

 /* NAV */
 nav {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 28px 0 0;
     margin-bottom: 56px;
 }

 .nav-name {
     font-family: 'Lora', Georgia, serif;
     font-size: 17px;
     font-weight: 600;
     color: #fff;
     text-decoration: none;
 }

 .nav-links {
     display: flex;
     gap: 24px;
     list-style: none;
 }

 .nav-links a {
     font-size: 13.5px;
     color: #666;
     text-decoration: none;
     transition: color .15s;
 }

 .nav-links a:hover {
     color: #111;
 }

 /* HERO */
 .hero {
     margin-bottom: 64px;
 }

 .hero-photo-placeholder {
     width: 96px;
     height: 96px;
     border-radius: 50%;
     background: linear-gradient(135deg, #1a4fba 0%, #6c63ff 100%);
     display: flex;
     align-items: center;
     justify-content: center;
     font-family: 'Lora', serif;
     font-size: 28px;
     font-weight: 600;
     color: white;
     margin-bottom: 18px;
     overflow: hidden;
 }

 .hero-photo-placeholder img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center 25%;
     transform: scale(1.35);
     display: block;
 }

 h1 {
     font-family: 'Lora', Georgia, serif;
     font-size: 28px;
     font-weight: 600;
     letter-spacing: -.3px;
     line-height: 1.2;
     color: #111;
 }

 h1 a {
     color: inherit;
     text-decoration: none;
 }

 .hero-seeking {
     font-size: 14.5px;
     font-weight: 600;
     color: #1a4fba;
     margin-top: 8px;
 }

 .hero-tagline {
     font-size: 16px;
     color: #222;
     line-height: 1.75;
     margin-top: 14px;
     max-width: 580px;
 }

 .hero-tagline-sm {
     font-size: 13px;
     line-height: 1.55;
     color: #555;
 }

 .hero-tagline a {
     color: #665fec;
     text-decoration: none;
     border-bottom: 1px solid #c5d5f8;
 }

 .hero-tagline a:hover {
     border-color: #1a4fba;
 }

 .hero-tagline strong {
     color: #111;
     font-weight: 600;
 }

 .hero-links {
     margin-top: 18px;
     display: flex;
     gap: 18px;
     flex-wrap: wrap;
 }

 .hero-links a {
     color: #555;
     text-decoration: none;
     font-size: 13px;
     display: flex;
     align-items: center;
     gap: 5px;
     transition: color .15s;
 }

 .hero-links a:hover {
     color: #111;
 }

 /* SECTIONS */
 section {
     margin-bottom: 56px;
 }

 .section-header {
     display: flex;
     justify-content: space-between;
     align-items: baseline;
     margin-bottom: 18px;
     border-bottom: 1px solid #eee;
     padding-bottom: 8px;
 }

 .section-header h2 {
     font-family: 'Lora', Georgia, serif;
     font-size: 19px;
     font-weight: 600;
     color: #111;
 }

 .section-header a {
     font-size: 12.5px;
     color: #999;
     text-decoration: none;
 }

 .section-header a:hover {
     color: #111;
 }

 /* ITEMS */
 .item {
     display: flex;
     gap: 16px;
     margin-bottom: 22px;
     align-items: flex-start;
 }

 .item-logo {
     width: 40px;
     height: 40px;
     border-radius: 8px;
     border: 1px solid #eee;
     flex-shrink: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     background: #fafafa;
     overflow: hidden;
     font-size: 9.5px;
     font-weight: 700;
     color: #666;
     text-align: center;
     line-height: 1.2;
     padding: 3px;
 }

 .item-logo img {
     width: 100%;
     height: 100%;
     object-fit: contain;
     padding: 4px;
 }

 .item-body {
     flex: 1;
     min-width: 0;
 }

 .item-title {
     font-family: 'Lora', Georgia, serif;
     font-size: 15px;
     font-weight: 600;
     color: #111;
     margin-bottom: 3px;
     text-decoration: none;
     display: block;
 }

 a.item-title:hover {
     color: #1a4fba;
 }

 .item-desc {
     font-size: 13px;
     color: #555;
     line-height: 1.55;
 }

 .item-desc a {
     color: #1a4fba;
     text-decoration: none;
     border-bottom: 1px solid #c5d5f8;
 }

 .item-meta {
     font-size: 12px;
     color: #aaa;
     margin-top: 4px;
 }

 /* INVESTMENTS */
 .inv-intro {
     font-size: 14px;
     color: #444;
     line-height: 1.7;
     margin-bottom: 12px;
 }

 /* panel photo strip — 3 portrait thumbs in a row */
 .panel-strip {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 12px;
     max-width: 520px;
     margin: 12px auto 4px;
 }

 .panel-thumb {
     display: block;
     border: 1px solid #eee;
     border-radius: 9px;
     overflow: hidden;
     aspect-ratio: 3/4;
     background: #f2f4f8;
     position: relative;
     transition: box-shadow .15s, transform .15s;
 }

 .panel-thumb:hover {
     box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
     transform: translateY(-2px);
 }

 .panel-thumb img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }

 .panel-thumb .panel-cap {
     position: absolute;
     left: 0;
     right: 0;
     bottom: 0;
     z-index: 2;
     background: linear-gradient(transparent, rgba(0, 0, 0, .62));
     color: #fff;
     font-size: 10px;
     font-weight: 600;
     padding: 14px 7px 5px;
     line-height: 1.2;
 }

 .inv-list {
     margin: 0;
     padding-left: 20px;
 }

 .inv-list li {
     font-size: 13.5px;
     color: #555;
     line-height: 1.6;
     margin-bottom: 8px;
 }

 .inv-list li::marker {
     color: #1a4fba;
 }

 .inv-list a {
     color: #665fec;
     text-decoration: none;
     border-bottom: 1px solid #c5d5f8;
 }

 .inv-list strong {
     color: #111;
     font-weight: 600;
 }

 /* ASCENTIUM SUB-ROLES */
 .subrole {
     margin-top: 14px;
     padding-left: 16px;
     border-left: 2px solid #eef1f8;
 }

 .subrole:first-of-type {
     margin-top: 10px;
 }

 .subrole-head {
     display: flex;
     align-items: baseline;
     gap: 10px;
     flex-wrap: wrap;
     margin-bottom: 4px;
 }

 .subrole-title {
     font-family: 'Lora', Georgia, serif;
     font-size: 15px;
     font-weight: 600;
     color: #111;
 }

 .subrole-date {
     font-size: 11.5px;
     color: #bbb;
     font-weight: 400;
 }

 .subrole .item-desc {
     font-size: 13px;
 }

 .subrole .pw-tags {
     margin-top: 6px;
 }

 /* TAGS */
 .tag {
     display: inline-block;
     font-size: 11px;
     font-weight: 500;
     padding: 2px 8px;
     border-radius: 10px;
     background: #f3f4f6;
     color: #555;
     margin: 3px 3px 0 0;
 }

 .tag.blue {
     background: #eff6ff;
     color: #1a4fba;
 }

 .tag.green {
     background: #f0fdf4;
     color: #166534;
 }

 .tag.org {
     background: #fff7ed;
     color: #9a3412;
 }

 .tag.purp {
     background: #faf5ff;
     color: #6b21a8;
 }

 .tag.red {
     background: #fef2f2;
     color: #991b1b;
 }

 .tag.gray {
     background: #f3f4f6;
     color: #555;
 }

 /* THESIS — 3-col grid header row */
 /* Education inline photo card */
 .edu-photo {
     max-width: 260px;
     margin-top: 10px;
 }

 .edu-photo .comm-cap {
     font-size: 11.5px;
     color: #666;
     line-height: 1.45;
 }

 /* COMMUNITY / LINKEDIN EMBEDS */
 .comm-intro {
     font-size: 14px;
     color: #444;
     line-height: 1.7;
     margin-bottom: 8px;
 }

 .comm-sub {
     font-family: 'Lora', serif;
     font-size: 14px;
     font-weight: 600;
     color: #888;
     margin: 20px 0 12px;
 }

 .comm-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 22px;
 }

 @media (max-width:680px) {
     .comm-grid {
         grid-template-columns: 1fr 1fr;
         gap: 14px;
     }
 }

 .comm-item {
     display: flex;
     flex-direction: column;
     gap: 6px;
 }

 .comm-cap {
     font-size: 11.5px;
     color: #666;
     line-height: 1.45;
 }

 .comm-cap strong {
     color: #111;
     font-weight: 600;
 }

 .comm-embed {
     border: 1px solid #eee;
     border-radius: 9px;
     overflow: hidden;
     background: #fff;
     position: relative;
     display: block;
     line-height: 0;
     aspect-ratio: 1/1;
     transition: box-shadow .15s, transform .15s;
 }

 .comm-embed:hover {
     box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
     transform: translateY(-2px);
 }

 .comm-tile {
     display: block;
     width: 100%;
     height: 100%;
     object-fit: cover;
     position: absolute;
     inset: 0;
 }

 /* real photo overlays the branded tile when present; hides itself if missing */
 .comm-photo {
     position: absolute;
     inset: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 1;
 }

 @media (max-width:680px) {
     .comm-cap {
         font-size: 10.5px;
         line-height: 1.35;
     }

     .comm-badge {
         font-size: 8.5px;
         padding: 2px 6px;
     }
 }

 .comm-badge {
     position: absolute;
     bottom: 7px;
     right: 7px;
     z-index: 2;
     background: rgba(0, 0, 0, .55);
     color: #fff;
     font-size: 9.5px;
     font-weight: 600;
     padding: 3px 7px;
     border-radius: 20px;
     display: inline-flex;
     align-items: center;
     gap: 4px;
 }

 .comm-badge svg {
     width: 10px;
     height: 10px;
     fill: #fff;
 }

 .comm-link {
     display: inline-flex;
     align-items: center;
     gap: 7px;
     border: 1px solid #eee;
     border-radius: 9px;
     padding: 10px 12px;
     font-size: 12px;
     font-weight: 500;
     color: #111;
     text-decoration: none;
     transition: background .12s, box-shadow .12s;
 }

 .comm-link:hover {
     background: #fafafa;
     box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
     text-decoration: none;
 }

 .comm-link .li {
     width: 18px;
     height: 18px;
     flex-shrink: 0;
 }

 .comm-link span {
     color: #0077b5;
     font-weight: 600;
     margin-left: auto;
     font-size: 11.5px;
 }

 /* THESIS — stacked rows (cover thumbnail left, text right) */
 #thesis-posts,
 #substack-posts {
     display: flex;
     flex-direction: column;
 }

 .post-row {
     display: flex;
     gap: 16px;
     align-items: flex-start;
     padding: 16px 4px;
     border-top: 1px solid #eee;
     text-decoration: none;
     transition: background .12s;
 }

 #thesis-posts .post-row:last-child,
 #substack-posts .post-row:last-child {
     border-bottom: 1px solid #eee;
 }

 .post-row:hover {
     background: #fafafa;
     text-decoration: none;
 }

 .post-row .post-icon {
     flex: 0 0 40px;
     width: 40px;
     height: 40px;
     border-radius: 9px;
     background: #fff8f3;
     border: 1px solid #665fec94;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-top: 2px;
 }

 .post-row .post-icon svg {
     width: 20px;
     height: 20px;
     display: block;
 }

 .post-row-body {
     flex: 1;
     min-width: 0;
     display: flex;
     flex-direction: column;
 }

 .post-row .item-title {
     font-family: 'Lora', Georgia, serif;
     font-size: 15px;
     font-weight: 600;
     color: #111;
     line-height: 1.3;
     margin-bottom: 4px;
 }

 .post-row:hover .item-title {
     color: #665fec;
 }

 .post-row .item-desc {
     font-size: 13px;
     color: #666;
     line-height: 1.5;
     margin-bottom: 6px;
 }

 .post-row .item-meta {
     font-size: 11px;
     color: #aaa;
     font-weight: 600;
     letter-spacing: .04em;
     text-transform: uppercase;
 }

 @media (max-width:480px) {
     .post-row .post-icon {
         flex: 0 0 34px;
         width: 34px;
         height: 34px;
     }

     .post-row .item-title {
         font-size: 14.5px;
     }

     .post-row .item-desc {
         font-size: 12px;
     }
 }

 /* Substack official embed iframes — responsive on mobile & web */
 .substack-embed-frame {
     width: 100%;
     border: 1px solid #eee;
     border-radius: 11px;
     overflow: hidden;
     background: #fff;
     min-height: 0;
 }

 .substack-embed-frame iframe {
     width: 100% !important;
     min-height: 260px;
     border: 0;
     display: block;
     background: #fff;
 }

 .post-card {
     border: 1px solid #ececec;
     border-radius: 12px;
     overflow: hidden;
     display: flex;
     flex-direction: column;
     background: #fff;
     transition: box-shadow .18s, transform .18s, border-color .18s;
 }

 .post-card:hover {
     box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
     transform: translateY(-3px);
     border-color: #ffd8be;
 }

 .post-thumb {
     display: block;
     line-height: 0;
     position: relative;
     background: linear-gradient(135deg, #fff4ec, #ffe6d4);
 }

 .post-thumb::after {
     content: "";
     position: absolute;
     top: 8px;
     left: 8px;
     width: 16px;
     height: 16px;
     z-index: 1;
     background: #FF6719;
     border-radius: 4px;
     -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M22.539 8.242H1.46V5.406h21.08v2.836zM1.46 10.812V24L12 18.11 22.54 24V10.812H1.46zM22.54 0H1.46v2.836h21.08V0z'/></svg>") center/72% no-repeat;
     mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M22.539 8.242H1.46V5.406h21.08v2.836zM1.46 10.812V24L12 18.11 22.54 24V10.812H1.46zM22.54 0H1.46v2.836h21.08V0z'/></svg>") center/72% no-repeat;
 }

 .post-thumb img {
     width: 100%;
     height: 150px;
     object-fit: cover;
     display: block;
     position: relative;
     z-index: 2;
 }

 .post-card-body {
     padding: 13px 14px 15px;
     display: flex;
     flex-direction: column;
     flex: 1;
 }

 .post-card .item-title {
     display: block;
     margin-bottom: 6px;
     font-family: 'Lora', Georgia, serif;
     font-size: 14.5px;
     font-weight: 600;
     line-height: 1.3;
     color: #111;
 }

 .post-card:hover .item-title {
     color: #c2410c;
 }

 .post-card .item-desc {
     font-size: 12.5px;
     color: #666;
     line-height: 1.5;
 }

 .post-card .item-meta {
     font-size: 10.5px;
     color: #aaa;
     margin-top: auto;
     padding-top: 8px;
     font-weight: 600;
     letter-spacing: .04em;
     text-transform: uppercase;
 }

 .thesis-cols {
     display: grid;
     grid-template-columns: 1fr 1fr 1fr;
     gap: 0;
     margin-bottom: 28px;
     border: 1px solid #eee;
     border-radius: 10px;
     overflow: hidden;
 }

 .thesis-col {
     padding: 14px 16px;
     border-right: 1px solid #eee;
 }

 .thesis-col:last-child {
     border-right: none;
 }

 .thesis-col-label {
     font-size: 10.5px;
     font-weight: 700;
     letter-spacing: .1em;
     text-transform: uppercase;
     color: #aaa;
     margin-bottom: 6px;
 }

 .thesis-col-tag {
     display: inline-block;
     font-size: 12px;
     font-weight: 600;
     color: #FF6719;
     text-decoration: none;
     border-bottom: 1px solid #ffd8be;
     transition: border-color .15s;
 }

 .thesis-col-tag:hover {
     border-color: #FF6719;
 }

 /* FEED SUBHEAD */
 .feed-subhead {
     font-family: 'Lora', Georgia, serif;
     font-size: 14px;
     font-weight: 600;
     color: #888;
     margin: 6px 0 12px;
     letter-spacing: .2px;
 }

 #thesis-posts {
     margin-bottom: 26px;
 }

 /* SUBSTACK BRIDGE */
 .substack-bridge {
     background: #fff8f3;
     border: 1px solid #ffd8be;
     border-radius: 10px;
     padding: 14px 16px;
     margin-bottom: 22px;
     display: flex;
     align-items: center;
     gap: 12px;
 }

 .substack-bridge-icon {
     width: 32px;
     height: 32px;
     background: #FF6719;
     border-radius: 7px;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
 }

 .substack-bridge-text {
     flex: 1;
 }

 .substack-bridge-text strong {
     display: block;
     font-size: 13px;
     color: #111;
     margin-bottom: 1px;
 }

 .substack-bridge-text span {
     font-size: 12px;
     color: #999;
 }

 .btn-orange {
     background: radial-gradient(78% 132% at 50% 16%,#ffffff57,#fff0 54%),radial-gradient(120% 120% at 50% 120%,#00000038,#0000 60%),linear-gradient(180deg,#665fec
,#3f37c9)
;;
     color: white;
     font-size: 12px;
     font-weight: 600;
     padding: 6px 13px;
     border-radius: 6px;
     text-decoration: none;
     flex-shrink: 0;
     white-space: nowrap;
     transition: background .15s;
 }

 .btn-orange:hover {
     background: #e55a0e;
 }

 /* PAST WORK — 2-col grid like Deedy's Career section */
 .pw-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 0;
 }

 @media (max-width:560px) {
     .pw-grid {
         grid-template-columns: 1fr;
     }
 }

 .pw-item {
     display: flex;
     gap: 12px;
     padding: 14px 16px;
     align-items: flex-start;
 }

 .pw-logo {
     width: 48px;
     height: 48px;
     border-radius: 8px;
     flex-shrink: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
     font-size: 9px;
     font-weight: 700;
     color: #999;
     text-align: center;
     line-height: 1.2;
 }

 .pw-logo img {
     width: 100%;
     height: 100%;
     object-fit: contain;
 }

 .pw-body {
     flex: 1;
     min-width: 0;
 }

 .pw-head {
     display: flex;
     align-items: baseline;
     gap: 6px;
     flex-wrap: wrap;
     margin-bottom: 4px;
 }

 .pw-title {
     font-family: 'Lora', serif;
     font-size: 15.5px;
     font-weight: 600;
     color: #111;
 }

 .pw-year {
     font-size: 11.5px;
     color: #bbb;
     font-weight: 400;
 }

 .pw-desc {
     font-size: 13px;
     color: #555;
     line-height: 1.55;
 }

 .pw-tags {
     margin-top: 6px;
 }

 /* EDUCATION */
 .edu-row {
     display: flex;
     gap: 16px;
     margin-bottom: 18px;
     align-items: flex-start;
 }

 .edu-body h4 {
     font-family: 'Lora', serif;
     font-size: 15px;
     font-weight: 600;
     margin-bottom: 3px;
 }

 .edu-body p {
     font-size: 13.5px;
     color: #666;
 }

 /* CONTACT */
 .contact-intro {
     font-size: 14px;
     color: #555;
     line-height: 1.6;
     margin-bottom: 20px;
 }

 .contact-links {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 14px;
 }

 @media (max-width:560px) {
     .contact-links {
         grid-template-columns: 1fr;
     }
 }

 .contact-link {
     display: flex;
     align-items: center;
     gap: 12px;
     padding: 16px 18px;
   
     border-radius: 10px;
     text-decoration: none;
     color: #111;
     font-size: 14px;
     font-weight: 500;
     transition: background .12s, box-shadow .12s;
 }

 .contact-link:hover {
     background: #fafafa;
     box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
 }

 .cl-icon {
     width: 34px;
     height: 34px;
     border-radius: 8px;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
 }

 .cl-sub {
     color: #999;
     font-size: 12.5px;
     font-weight: 400;
     margin-left: auto;
 }

 /* EMAIL CAPTURE */
 .capture {
     background: #f7f9ff;
     border: 1px solid #d8e4ff;
     border-radius: 12px;
     padding: 24px;
 }

 .capture h3 {
     font-family: 'Lora', serif;
     font-size: 17px;
     font-weight: 600;
     margin-bottom: 6px;
 }

 .capture p.cap-sub {
     font-size: 13.5px;
     color: #666;
     margin-bottom: 20px;
     line-height: 1.6;
 }

 .capture-form {
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

 .capture-form input,
 .capture-form textarea {
     border: 1px solid #d8e4ff;
     border-radius: 7px;
     padding: 10px 14px;
     font-size: 14px;
     font-family: 'Inter', sans-serif;
     color: #111;
     outline: none;
     background: white;
     width: 100%;
     box-sizing: border-box;
 }

 .capture-form input:focus,
 .capture-form textarea:focus {
     border-color: #1a4fba;
 }

 .capture-form button {
     background: #1a4fba;
     color: white;
     border: none;
     border-radius: 7px;
     padding: 11px;
     font-size: 14px;
     font-weight: 600;
     font-family: 'Inter', sans-serif;
     cursor: pointer;
     transition: background .15s;
 }

 .capture-form button:hover {
     background: #1340a0;
 }

 .capture-note {
     font-size: 12px;
     color: #4a4642;
     margin-top: 8px;
 }

 #success-msg {
     display: none;
     font-size: 13.5px;
     color: #166534;
     background: #dcfce7;
     border-radius: 7px;
     padding: 10px 14px;
     margin-top: 10px;
 }

 /* FOOTER */
 footer {
     border-top: 1px solid #eee;
     padding: 24px 0 40px;
     font-size: 12.5px;
     color: #aaa;
 }

 footer a {
     color: #aaa;
     text-decoration: none;
 }

 footer a:hover {
     color: #111;
 }

 /* SKELETON */
 .skeleton {
     display: block;
     background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
     background-size: 200% 100%;
     animation: shimmer 1.5s infinite;
     border-radius: 6px;
     height: 14px;
     margin-bottom: 6px;
 }

 @keyframes shimmer {
     0% {
         background-position: 200% 0
     }

     100% {
         background-position: -200% 0
     }
 }

 @media (max-width:600px) {
     body {
         padding: 0 16px;
     }

     .thesis-cols {
         grid-template-columns: 1fr;
     }

     .thesis-col {
         border-right: none;
         border-bottom: 1px solid #eee;
     }

     .thesis-col:last-child {
         border-bottom: none;
     }

     .capture-form {
         flex-direction: column;
     }
 }


 /* new css  */
 /* Desktop */
 .menu-toggle {
     display: none;
     background: none;
     border: none;
     font-size: 26px;
     cursor: pointer;
     color: #111;
 }

 /* Mobile */
 @media (max-width: 768px) {

     nav {
         position: relative;
         padding-top: 20px;
         margin-bottom: 40px;
     }

     .menu-toggle {
         display: block;
     }

     .nav-links {
         position: absolute;
         top: 55px;
         right: 0;
         background: #fff;
         border: 1px solid #eee;
         border-radius: 12px;
         padding: 12px;
         width: 180px;
         flex-direction: column;
         gap: 12px;
         display: none;
         box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
         z-index: 999;
     }

     .nav-links.active {
         display: flex;
     }

     .nav-links a {
         display: block;
         color: #111;
     }
 }

 .panel-thumb img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }

 .panel-strip {
     gap: 23px;
     max-width: 636px;
 }

 .panel-strip {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 16px;
 }

 .panel-thumb {
     aspect-ratio: 1/1;
     border-radius: 10px;
     overflow: hidden;
 }

 .panel-thumb img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center top;
 }

 /* Tablet */
 @media (max-width: 768px) {

     .panel-strip {
         grid-template-columns: repeat(2, 1fr);
         gap: 12px;
     }

     .panel-thumb {
         aspect-ratio: 3/4;
     }

     .substack-bridge {
         flex-direction: column;
         align-items: flex-start;
     }
 }

 /* Mobile */
 @media (max-width: 480px) {

    
     .panel-thumb img {
         width: 100%;
         height: 100%;
         object-fit: cover;
         object-position: top center;
     }
 }

 body {
     font-family: 'Hanken Grotesk', sans-serif;
 }

 h1 {
     font-family: 'Hanken Grotesk', sans-serif;

 }

 .post-row .item-title {
     font-family: 'Hanken Grotesk', sans-serif;


 }

 .section-header h2 {
     font-family: 'Hanken Grotesk', sans-serif;
 }

 .hero-tagline-sm {
     font-size: 14px;
 }

 .inv-intro {
     font-size: 15px
 }

 .substack-bridge-text strong{
    font-size: 15px;
 }

 .comm-cap {
    font-size: 12px;
 }

.post-icon svg {
    fill: #665fec
;
}

/* new css of thesis  */
.thesis-section {
    border-top: 1px solid #eee;
}

.thesis-card {
    display: flex;
    gap: 18px;
    padding: 24px 0;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.thesis-card:hover {
    transform: translateY(-2px);
}

.thesis-image {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
}

.thesis-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thesis-content {
    flex: 1;
}

.thesis-content h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #000;
    margin-bottom: 8px;
}

.thesis-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

.thesis-content span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
}

@media (max-width: 768px) {

    .thesis-card {
        gap: 12px;
        padding: 18px 0;
    }

    .thesis-image {
        width: 70px;
        height: 70px;
        border-radius: 10px;
    }

    .thesis-content h3 {
        font-size: 17px;
    }

    .thesis-content p {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .thesis-content span {
        font-size: 11px;
    }
}

@media (max-width: 480px) {

    .thesis-card {
        flex-direction: column;
    }

    .thesis-image {
        width: 100%;
        height: 180px;
    }

    .thesis-content h3 {
        font-size: 16px;
    }
}   

.read-more {
    font-size: 12px;
    font-weight: 600;
    color: #4F46E5;
    text-decoration: none;
}

.read-more:hover {
    color: #312e81;
}

/* nnnn  */
.thesis-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
}

.thesis-image {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
}

.thesis-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thesis-content {
    flex: 1;
}

.thesis-content h3 {
    margin-bottom: 10px;
}

.thesis-content p {
    margin-bottom: 14px;
}

.thesis-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.thesis-date {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
}

.read-more {
    font-size: 13px;
    font-weight: 600;
    color: #4F46E5;
}

.thesis-content .read-more{
    color: #4F46E5;

}

@media (max-width: 768px) {

    .thesis-card {
        flex-direction: column;
    }

    .thesis-image {
        width: 100%;
        height: 220px;
    }

    
}

@media (max-width:768px){
    nav{
        display: none;
    }

    .hero{
        padding-top:20px;
    }
}