/* Signerica (footer signature only) */
@font-face {
  font-family: 'Signerica';
  src: url('assets/fonts/SignericaThin-BXv3.woff2') format('woff2'),
       url('assets/fonts/SignericaThin-BXv3.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Signerica';
  src: url('assets/fonts/SignericaMedium-RXOo.woff2') format('woff2'),
       url('assets/fonts/SignericaMedium-RXOo.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Signerica';
  src: url('assets/fonts/SignericaFat-1XOe.woff2') format('woff2'),
       url('assets/fonts/SignericaFat-1XOe.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Charlotte';
  src: url('assets/fonts/CharlotteRegular-qZZ96.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Dengacho Signature Font */
@font-face {
  font-family: 'DengachoSignature';
  src: url('assets/fonts/DengachoSignature-8OdnJ.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg:#ffffff;
  /*--bg:#F8F4EC;*/
  --panel:#f0f0f0;
  --panel2:#e8e8e8;
  --text:#111111;
  --muted:#666666;
  --line:rgba(0,0,0,.10);
  --accent:#b6ff6a;
  --accent2:#7af0ff;
  --accent3:#F6BDC0;
  --accent4:#ea4c46;
  --accent5:#2E5894;
  --accent6:#DBE9F3;
  --shadow: 0 30px 80px rgba(0,0,0,.15);
  --r:18px;
}

/*text one*/
.kicker{
  color:#666666;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  margin:0 0 14px;
}

/*accent starts*/
.accent{
  /*background:linear-gradient(135deg,var(--accent),var(--accent2));*/
  -webkit-background-clip:text;
  /*background-clip:text;*/
  font-weight: 500;          /* semibold */
  letter-spacing: 0.18em;
  font-size:16px;
  background: rgba(0,0,0,.0);
  color:rgba(0,0,0,.9);
}
/*accent ends*/
/*guja starts*/
.hero-native{
  /*font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system, sans-serif;*/
  /*font-family: "TimesNewRomanPSMT", "Times New Roman", Times, serif;*/
  font-weight: 600;
  letter-spacing: 0.48em;
  font-size:11px;
  background: rgba(0,0,0,.0);
  color:rgba(0,0,0,.9);
  
}
.hero-native2{
  /*font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", system-ui, -apple-system, sans-serif;*/
  /*font-family: "TimesNewRomanPSMT", "Times New Roman", Times, serif;*/
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size:14px;
  background: rgba(0,0,0,.0);
  color:rgba(0,0,0,.9);
  
}
/*guja ends*/

/*Exp and Edu*/
.pillrow__title{
  margin: 0 0 10px;
  /*font-size: 1.35rem;*/
  /*font-family: "TimesNewRomanPSMT", "Times New Roman", Times, serif;*/
  font-size:26px;
  /*letter-spacing: 0.8em;*/
  letter-spacing: 0.02em;
  /*opacity: 0.95;*/
  font-weight: 700;
  /*text-shadow: 0 0 0 currentColor;
  -webkit-text-stroke: 0.17px currentColor;*/
}

.pillrow__wrap{
  margin-top: 14px;
}
/*Exp and Edu ends*/
/*marquee starts*/
.marquee{
  border-top:0.1px solid rgba(0,0,0,.3);
  border-bottom:0.1px solid rgba(0,0,0,.3);
  margin-top:18px;
  overflow:hidden;
  background:rgba(0,0,0,.0);
}
.marquee__track{
  display:flex;
  gap:26px;
  white-space:nowrap;
  padding:14px 0;
  animation:scroll 18s linear infinite;
  color:#000000;
}
.marquee__track span{
  font-weight:700;
  text-transform:uppercase;
  /*letter-spacing:.10em;*/
  font-size:9px;
  opacity:.85;
  font-weight: 650;          /* semibold */
  letter-spacing: 0.28em;
}
/*marquee ends*/
/*Buttons - */
.btn{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 22px;
  border-radius:999px;
  text-decoration:none;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 650;          /* semibold */
  letter-spacing: 0.28em;
  font-size: 9px;
  line-height: 1;
  color: #4C38F0;
  background: rgba(204,199,255,.15);              /* lilac fill */
  border: 0.1px solid rgba(76,56,240,.18);        /* subtle purple border */
  box-shadow: none;
}

.btn::before{
  content:"";
  position:absolute;
  inset:-0.5px;                 /* size of the boxy plate */
  border-radius:6px;          /* keep this small so it reads as a rectangle */
  background:rgba(204,199,255,.15);
  z-index:-20;
}

.btn::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  background: rgba(204,199,255,.15);
  pointer-events:none;
  filter:brightness(1.08);
}

/*.btn.primary{
  border-color:rgba(0,0,0,.20);
  background: rgba(182,255,106,.12);
}*/
.btn.ghost:hover{filter:brightness(1.08)}
.btn.primary:hover{filter:brightness(1.08)}

.btn.ghost2{
  /*border-color:rgba(0,0,0,.20);
  background: linear-gradient(135deg,var(--accent),var(--accent2));*/
  /*filter:brightness(1.08);*/
}
.btn.ghost2:hover{filter:brightness(1.08)}

/* buttons end */
/*pill  starts*/
.pill{
  font-size: 9px;
  padding:6px 12px;
  border-radius:999px;
  border: 0.1px solid rgba(0,0,0,.18);
  color:rgba(0,0,0,.99);
  background:#FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  letter-spacing: 0.28em;
  line-height: 1;
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: none;
}

.pill::before{
  content:"";
  position:absolute;
  inset:-0.5px;                 /* size of the boxy plate */
  border-radius:6px;          /* keep this small so it reads as a rectangle */
  background:rgba(204,199,255,.15);
  z-index:-20;
}

.pill::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  background: rgba(204,199,255,.15);
  pointer-events:none;
  filter:brightness(1.08);
}
.pill__icon{
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;

  border-radius: 999px;
  object-fit: cover;
  display: block;
  flex: 0 0 16px;

  border: 0.1px solid rgba(0,0,0,0.20);
}
/*pill ends*/
/* Preview button */
.card__previewBtn{
  
  position: absolute;
  right: 14px;
  z-index: 3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding:10px 14px;
  font-size: 9px;
  cursor: default;
  padding:10px 14px;
  background: rgba(204,199,255,.15);
  color: #4C38F0;
  border: 0.1px solid rgba(76,56,240,.18);
  letter-spacing: 0.28em;
  text-decoration:none;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: inherit;
  font-weight: 650; /* semibold */
  font-synthesis: weight;
  line-height: 1;
  box-shadow: none;
  
}
.card__previewBtn::before{
  content:"";
  position:absolute;
  inset:-0.5px;
  border-radius:6px;
  background:rgba(204,199,255,.15);
  z-index:-20;
}

.card__previewBtn::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  background: rgba(204,199,255,.15);
}
/*Preview ends*/
/*tags start*/
.tag{
  display:inline-block;
  font-size:9px;
  border-radius:999px;
  border: 0.1px solid rgba(0,0,0,.20);
  padding:10px 14px;
  color:rgba(0,0,0,.99);
  background:#F5F5F5;
  width:max-content;
  text-decoration:none;
  cursor: default;
  letter-spacing: 0.28em;
  
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  
  text-decoration:none;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: inherit;
  font-weight: 650; /* semibold */
  font-synthesis: weight;
  
  line-height: 1;
    /* lilac fill */
        /* subtle purple border */
  box-shadow: none;
}

.tag::before{
  content:"";
  position:absolute;
  inset:-0.5px;                 /* size of the boxy plate */
  border-radius:6px;          /* keep this small so it reads as a rectangle */
  background:rgba(204,199,255,.15);
  z-index:-20;
}

.tag::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  background: rgba(204,199,255,.15);
  pointer-events:none;
  filter:brightness(1.08);
}

.tag--link{
  cursor: pointer;
  background: linear-gradient(135deg, #e2ecff 0%, #b7d0ff 40%, #8fb2ff 70%);
}

.tag--link:hover{
    background: linear-gradient(135deg, #e2ecff 0%, #b7d0ff 40%, #8fb2ff 70%);
}

.tag--link2{
  cursor: pointer;
  background: rgba(204,199,255,.15);
  color: #4C38F0;
  border: 0.1px solid rgba(76,56,240,.18);
}

.tag--link2:hover{
  /*background: linear-gradient(135deg, #e8f1ff 0%, #cfe2ff 45%, #a9c3ff 100%);*/
  filter:brightness(1.08);
}

.tag--link3{
  /*cursor: pointer;
  background: linear-gradient(135deg, #e8f1ff 0%, #cfe2ff 45%, #a9c3ff 100%);*/
  cursor: pointer;
  background: rgba(204,199,255,.15);
  color: #4C38F0;
  border: 0.1px solid rgba(76,56,240,.18);
}

.tag--link3:hover{
  /*background: linear-gradient(135deg, #fff6f6 0%, #ffcccc 45%, #f4a6a6 100%);*/
  filter:brightness(1.08);
}

/* Non-clickable tag (static) */
.tag--static{
  cursor: default;
}

/* Non-clickable tag with alternate background */
.tag--alt{
  cursor: default;
  background: rgba(204,199,255,.15);
  color: #4C38F0;
  border: 0.1px solid rgba(76,56,240,.18);
  /*border-color:rgba(0,0,0,.20);
  background:linear-gradient(135deg,var(--accent),var(--accent2));*/
}

.tag--alt2{
  cursor: default;
  border-color:rgba(182,255,106,.99);
  background:linear-gradient(135deg,var(--accent3),var(--accent4));
}

.tag--al3{
  cursor: default;
  border-color:rgba(182,255,106,.99);
  background:linear-gradient(135deg,var(--accent5),var(--accent6));
}

/* Optional custom-colored tag */
.tag--custom{
  border-color: var(--tag-border, rgba(0,0,0,.12));
  background: var(--tag-bg, rgba(0,0,0,.03));
  color: var(--tag-color, rgba(0,0,0,.82));
}
.tag--custom.tag--link:hover{
  border-color: var(--tag-border-hover, rgba(0,0,0,.25));
  background: var(--tag-bg-hover, rgba(0,0,0,.06));
}
/*tags end*/

/*meta starts*/
.meta{
  display:inline-block;
  font-size:9px;
  border-radius:999px;
  border: 0.1px solid rgba(0,0,0,.20);
  padding:10px 14px;
  color:rgba(0,0,0,.99);
  background:#F5F5F5;
  width:max-content;
  text-decoration:none;
  cursor: default;
  letter-spacing: 0.28em;
  
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  
  text-decoration:none;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 650;          /* semibold */
  
  line-height: 1;
    /* lilac fill */
        /* subtle purple border */
  box-shadow: none;
  height:max-content;
}

.meta::before{
  content:"";
  position:absolute;
  inset:-0.5px;                 /* size of the boxy plate */
  border-radius:6px;          /* keep this small so it reads as a rectangle */
  background:rgba(204,199,255,.15);
  z-index:-20;
}

.meta::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  background: rgba(204,199,255,.15);
  pointer-events:none;
  filter:brightness(1.08);
}
/*.meta{color:rgba(0,0,0,.78); border:1px solid rgba(0,0,0,.12); border-radius:999px; padding:8px 10px; height:max-content}*/

/* Clickable meta tag (link variant) */
.meta--link{
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, #f3f7ff 0%, #d9e7ff 45%, #b7d0ff 100%);
  border:1px solid rgba(0,0,0,.20);
}

.meta--link:hover{
  border-color: rgba(0,0,0,.20);
  background: linear-gradient(135deg, #e8f1ff 0%, #cfe2ff 45%, #a9c3ff 100%);
}

.meta--link2{
  cursor: pointer;
  /*text-decoration: none;
  background:linear-gradient(135deg, #e8f1ff 0%, #cfe2ff 45%, #a9c3ff 100%);
  border:1px solid rgba(0,0,0,.20);
  font-weight:600;
  font-size:14px;
  color:#111111;*/
  background: rgba(204,199,255,.15);
  color: #4C38F0;
  border: 0.1px solid rgba(76,56,240,.18);
}

.meta--link2:hover{
  /*border-color: rgba(0,0,0,.20);
  background:linear-gradient(135deg, #e8f1ff 0%, #cfe2ff 45%, #a9c3ff 100%);*/
  filter:brightness(1.08);
}
/*meta ends*/

/*outcome starts*/
.callout{
  
  padding:10px 12px;
  border-radius:12px;
  /*border-left:3px solid rgba(182,255,106,.55);
   background:rgba(182,255,106,.06);
  color:rgba(0,0,0,.90);*/
  border-left:3px solid rgba(204,199,255,.55);
  background: rgba(204,199,255,.15);
  color: #4C38F0;
}
/*outcome ends*/

/*footer starts*/
/* Footer */
.site-footer {
  width: 100%;
  padding: 2.25rem 1rem calc(2rem + env(safe-area-inset-bottom));
  text-align: center;
  overflow: visible;
}

/* Footer signature only (isolated font usage) */
.footer-signature {
  margin: 0;
  font-family: 'Signerica', cursive;
  line-height: 1.25;
  padding-top: 0.12em;
  max-width: 100%;
  padding-left: 0.18em;
  padding-right: 0.18em;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  opacity: 0.85;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.footer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
  border: 1px solid rgba(0,0,0,0.12);
}

.footer-websiteupdate {
  margin: 0;
  line-height: 1.25;
  padding-top: 1.62em;
  max-width: 100%;
  padding-left: 0.18em;
  padding-right: 0.18em;
  font-weight: 700;
  font-size: 0.55rem;
  letter-spacing: 0.38em;
  opacity: 0.75;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

/*footer ends*/
/*Section starts*/
.section__head p{
    margin:0;
    color:#444444;
    max-width:70ch;
    line-height:1.6;
    font-size:16px;
    
    font-weight: 350;
    
    /*text-decoration:none;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: inherit;
     
    font-synthesis: weight;*/
}

.section__head h2{
  margin:0 0 10px;
  font-size:26px;
  letter-spacing: 0.02em;
  font-weight: 700;
}
/*Section ends*/
/*link starts*/
.link{
    color:rgba(0,0,0,.89);
    text-decoration:none;
    font-weight:700;
    font-size:9.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    
    
}
.link:hover{
    text-decoration:underline;
}
/*link ends*/
.muted{
    color:rgba(0,0,0,.89);
    /*text-decoration:none;
    font-weight:500;
    font-size:14px;
    letter-spacing: 0.02em;*/
    
}

/* --- Miscellaneous mini cards (compact) --- */
.mini-grid{
  display:grid;
  grid-template-columns: repeat(8, minmax(0, 1fr)); /* was 6 */
  gap: 8px; /* was 10 */
}

@media (max-width: 1100px){
  .mini-grid{ grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 760px){
  .mini-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 520px){
  .mini-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.mini-card{
  position: relative;
  border-radius: 0px;
  padding: 0;

  border: 0.0px solid rgba(0,0,0,.18);

  /* allow layered overlays */
  overflow: hidden;

  /* purple-ish base layer INSIDE card */
  background: rgba(204,199,255,0);

  box-shadow: none;
  
 
}

/* subtle “plate” under the card (button-like layer) */
.mini-card::before{
  content:"";
  position:absolute;
  inset: -1px;
  border-radius: 8px;
  background: rgba(1,1,1,.0);
  transform: translateY(1px);
  z-index: -1;
  box-shadow: 0 1px 0 rgba(0,0,0,.00);
}

.mini-card::after{
  content:"";
  position:absolute;
  inset: 0;
  background: url("assets/paper.svg") no-repeat 0 0 / 100% 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}
.mini-card > *{
  position: relative;
  z-index: 1; /* content above the stamp background */
}

/* IMPORTANT: delete your old .mini-card::after entirely */

/* image: inset + no border look */
.mini-card__img{
  margin: 10px; /* was 20px */
  width: calc(100% - 20px); /* was -40px */
  height: 80px; /* was 132px */
  object-fit: cover;
  display:block;
  border: 0;
  outline: 0;
  box-shadow: none;
  border-radius: 10px; /* slightly tighter */
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.mini-card__img,
.mini-card__img:focus,
.mini-card__img:active{
  border: 0 !important;
  outline: 0 !important;
}

/* spacer between image and text */
.mini-card__body{
  margin: 2px;
  padding: 0 10px 10px;  /* <-- bottom padding after meta */
}

.mini-card > *{ min-width: 0; }

.mini-card__title{
  font-weight: 650;
  font-size: 9px;
  letter-spacing: 0.12em;
  margin: 0 0 8px; /* more space before meta */
  line-height: 1.2;
  /* keep titles tidy */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

.mini-card__meta{
  margin: 0;
  margin-top: 0;
  font-weight: 450;
  font-size: 7px;
  letter-spacing: 0.18em;
  opacity: 0.85;
  line-height: 1.2;

  /* keep meta to one line */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
/*.btn{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 22px;
  border-radius:999px;
  text-decoration:none;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 650;
  letter-spacing: 0.28em;
  font-size: 9px;
  line-height: 1;
  color: #4C38F0;
  background: rgba(204,199,255,.15);
  border: 0.1px solid rgba(76,56,240,.18);
  box-shadow: none;
}*/
/*mini card ends*/

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Avenir, 'Avenir Next', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color:#111111;
  overflow-x:hidden;
}

.grain{
  pointer-events:none;
  position:fixed;
  inset:-40%;
  background-image:url("assets/grain.png");
  background-size:260px 260px;
  opacity:.08;
  mix-blend-mode:overlay;
  transform:rotate(6deg);
  z-index:0;
}

.nav{
  position:sticky;
  top:0;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 22px;
  border-bottom:1px solid var(--line);
  background:rgba(245,245,245,.75);
  backdrop-filter: blur(14px);
}

.brand{
  display:flex;
  gap:10px;
  align-items:center;
  text-decoration:none;
  color:#111111;
  font-weight:700;
}
.brand .dot{
  width:10px;height:10px;border-radius:50%;
  background: var(--accent);
  box-shadow:0 0 18px rgba(182,255,106,.25);
}

.links{
  display:flex;
  gap:18px;
}
.links a{
  color:#333333;
  text-decoration:none;
  font-weight:500;
}
.links a:hover{color:#000000}

.menu{display:none;background:transparent;border:0;cursor:pointer}
.menu span{display:block;width:24px;height:2px;background:#111111;margin:5px 0;opacity:.85}

main{position:relative; z-index:1}

.hero{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:24px;
  padding:56px 22px 10px;
  max-width:1120px;
  margin:0 auto;
  align-items:stretch;
}

.h1{
  margin:0 0 14px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height:1.02;
  letter-spacing:-.02em;
}

.hero-name {
  font-family: 'Charlotte', serif;
  font-size: 2.42em;
  font-weight: 500;
  font-synthesis: weight;
  text-shadow: 0 0 0 currentColor;
  -webkit-text-stroke: 0.95px currentColor;
}

.lede{
  color:#333333;
  font-size:16px;
  line-height:1.6;
  max-width:52ch;
  margin:0 0 18px;
}

.cta{display:flex; gap:12px; flex-wrap:wrap; margin:8px 0 16px}

.pillrow{display:flex; gap:10px; flex-wrap:wrap}

.hero__media{
  border-radius:var(--r);
  border:1px solid var(--line);
  background: #f0f0f4;
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
  min-height:420px;
}
#shader{width:100%;height:100%;display:block}
.media__hint{
  position:absolute;
  bottom:12px; left:12px;
  font-size:12px;
  color:rgba(0,0,0,.72);
  background:rgba(255,255,255,.35);
  border:1px solid rgba(0,0,0,.10);
  padding:6px 10px;
  border-radius:999px;
  backdrop-filter: blur(10px);
}

@keyframes scroll{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

.section{
  max-width:1120px;
  margin:0 auto;
  padding:54px 22px;
}
.section--alt{
  background:rgba(0,0,0,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin-top:18px;
}
.card{
  border:0.2px solid rgba(0,0,0,.4);
  border-radius:var(--r);
  background:rgba(240,240,244,.070);
  box-shadow:0 20px 60px rgba(0,0,0,.02);
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* --- Card hover video preview (DESKTOP ONLY) --- */
@media (hover: hover) {
  .card{
    position: relative;
    overflow: hidden;
  }

  .card > *{
    position: relative;
    z-index: 1;
  }

  .card video.card__preview{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
    z-index: 0;
    filter: grayscale(1) contrast(1.05);
  }

  .card:hover video.card__preview{
    opacity: 1;
  }

  /* Hide ONLY the text body while preview is visible (keep tags + actions clickable/visible) */
  .card[data-video]:hover .card__top h3,
  .card[data-video]:hover .card__top p,
  .card[data-video]:hover .bullets{
    opacity: 0;
  }

  /* Smooth fade in/out for card content */
  .card > *{
    transition: opacity .15s ease;
  }
  /* Also fade nested text elements we selectively hide */
  .card .card__top h3,
  .card .card__top p,
  .card .bullets{
    transition: opacity .15s ease;
  }
}

.card h3{margin:8px 0 6px; font-size:18px}
.bullets{margin:0; padding-left:18px; color:rgba(0,0,0,.86); line-height:1.6}
.card__actions{margin-top:auto}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:18px;
}
.panel{
  border:1px solid var(--line);
  border-radius:var(--r);
  background:rgba(248,248,252,.55);
  padding:18px;
}
.panel h3{margin:0 0 10px}
.panel p{margin:0 0 12px; color:rgba(0,0,0,.86); line-height:1.65}

.list{margin-top:18px}
.row{
  display: grid;
  grid-template-columns: 1fr auto;
  grid-auto-rows: auto;
  column-gap: 14px;
  row-gap: 14px;

  border-radius: var(--r);
  padding: 16px 18px;
  background: rgba(240,240,244,.3);
  border: 0.2px solid rgba(0,0,0,.25);
  align-items: start;
}
/* Make the inner content wrapper participate in the grid (so h3/p can be positioned) */
.row > div{ display: contents; }
/*saumya*/
.row h3{
    grid-column: 1;
    grid-row: 1;
    margin:0;
    letter-spacing: 0.01em;
    font-weight: 700;          /* semibold */
    font-size:18px;
    min-width: 0;
    overflow-wrap: anywhere;
}
.row p{
  grid-column: 1 / -1; /* span full width under title+button */
  grid-row: 2;
  margin: 0;
  overflow-wrap: anywhere;
}

.row .meta--link2{
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  margin: 0;
}

@media (max-width: 520px){
  .row{
    padding: 10px;
    column-gap: 10px;
    row-gap: 10px;
    grid-template-columns: 1fr auto; /* keep button tight */
  }

  .row h3{
    max-width: 100%;
  }

  .row .meta--link2{
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    padding: 9px 12px;
  }

  .row p{
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

.about p{max-width:78ch; line-height:1.75; color:rgba(0,0,0,.88)}
.contact{display:flex; gap:12px; flex-wrap:wrap; margin:16px 0 8px}
.small{font-size:12px}

.footer{
  max-width:1120px;
  margin:0 auto;
  padding:22px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#444444;
}

@media (max-width: 980px){
  .hero{grid-template-columns:1fr; padding-top:36px}
  .grid{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .links{display:none}
  .menu{display:block}
}

h2.about__title{
  font-family: 'DengachoSignature', serif;
  font-weight: 700;
  font-size: clamp(2.05rem, 3.2vw, 2.05rem);
  line-height: 1;
  letter-spacing: 0.01em;
  opacity: 0.9;
}

/* Tag row used by JSON-rendered project cards */
.card__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin-bottom: 12px;
}

/* Ensure tags inside the row don’t get squished */
.card__tags .tag{
  margin: 0;
}

/* Mobile project preview (tap-to-play) for cards with data-video */
.card { position: relative; }

/* Keep text ABOVE the preview video */
.card__top,
.card .bullets,
.card__actions {
  position: relative;
  z-index: 2;
}

/* Video layer behind content */
.card__previewLayer{
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
  display: none;
  pointer-events: none;
  background: transparent;
}

.card--previewing .card__previewLayer { display: block; }

/* When preview is open on touch devices, hide the text body like desktop hover */
@media (hover: none) {
  .card--previewing .card__top h3,
  .card--previewing .card__top p,
  .card--previewing .bullets {
    opacity: 0;
  }

  /* Smooth fade for the elements we hide */
  .card .card__top h3,
  .card .card__top p,
  .card .bullets {
    transition: opacity .15s ease;
  }
}

.card__previewLayer video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hide the button on desktop (hover devices) */
@media (hover: hover) {
  .card__previewBtn { display: none; }
}
