/* ===========================================================
   Sree Divya Vadlapudi Prasanna — Portfolio Site
   Brand: oxblood #820000
=========================================================== */

:root{
  --brand:#820000;
  --brand-dark:#5C0000;
  --brand-tint:#F7E9E7;
  --brand-tint-2:#F0D8D5;

  --paper:#FBF9F5;
  --paper-alt:#F2EEE6;
  --white:#FFFFFF;

  --ink:#181410;
  --ink-2:#3A332C;
  --muted:#726A5E;
  --line:rgba(24,20,16,0.13);
  --line-strong:rgba(24,20,16,0.22);

  --shadow: 0 18px 40px rgba(24,20,16,0.08);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; overflow-x:hidden;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter', sans-serif;
  -webkit-font-smoothing:antialiased;
  font-size:16px;
  line-height:1.6;
  overflow-x:hidden;
}
img,svg{display:block; max-width:100%;}
a{color:inherit; text-decoration:none;}
ul{margin:0; padding:0;}
h1,h2,h3,h4{margin:0; font-family:'Bricolage Grotesque', sans-serif; font-weight:600; letter-spacing:-0.01em; overflow-wrap:break-word; word-wrap:break-word;}
.mono{font-family:'IBM Plex Mono', monospace;}
.wrap{max-width:1240px; margin:0 auto; padding-left:clamp(20px,5vw,64px); padding-right:clamp(20px,5vw,64px); overflow-wrap:break-word;}
.section{padding:96px 0;}
.section.tight{padding:64px 0;}
.section.alt{background:var(--paper-alt);}
.section.brand{background:var(--brand); color:var(--white);}

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'IBM Plex Mono', monospace; font-size:12.5px; letter-spacing:0.18em; text-transform:uppercase;
  color:var(--brand); margin-bottom:18px;
}
.eyebrow::before{content:""; width:22px; height:1px; background:var(--brand);}
.section.brand .eyebrow{color:var(--brand-tint);}
.section.brand .eyebrow::before{background:var(--brand-tint);}

.lede{font-size:clamp(16px,1.25vw,19px); color:var(--muted); max-width:66ch; line-height:1.75;}
.section.brand .lede{color:rgba(255,255,255,0.82);}

/* ---------------- header / nav ---------------- */
header.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,249,245,0.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px clamp(20px,5vw,64px);
}
.logo{display:flex; align-items:center; gap:12px;}
.logo .mark{width:38px; height:38px;}
.logo .word{font-family:'Bricolage Grotesque', sans-serif; font-size:16px; font-weight:600; letter-spacing:-0.01em; line-height:1.1;}
.logo .word small{display:block; font-family:'IBM Plex Mono', monospace; font-size:9.5px; letter-spacing:0.14em; color:var(--muted); font-weight:400; text-transform:uppercase; margin-top:2px;}

nav.primary-nav{display:flex; align-items:center; gap:6px;}
nav.primary-nav a{
  font-size:13.5px; letter-spacing:0.02em; padding:9px 15px; border-radius:999px; color:var(--ink-2);
  transition:background .2s, color .2s;
}
nav.primary-nav a:hover{background:var(--brand-tint); color:var(--brand-dark);}
nav.primary-nav a[aria-current="page"]{background:var(--brand); color:var(--white);}
nav.primary-nav a.cta-link{background:var(--ink); color:var(--white); margin-left:6px;}
nav.primary-nav a.cta-link:hover{background:var(--brand);}

.nav-toggle{display:none; background:none; border:1px solid var(--line-strong); color:var(--ink); font-family:inherit; padding:9px 14px; border-radius:6px; font-size:13px;}
.mobile-nav{display:none; flex-direction:column; padding:10px clamp(20px,5vw,64px) 20px; gap:4px; border-top:1px solid var(--line);}
.mobile-nav a{padding:12px 6px; font-size:15px; border-bottom:1px solid var(--line);}
.mobile-nav a[aria-current="page"]{color:var(--brand); font-weight:600;}
.mobile-nav.open{display:flex;}

/* ---------------- page header (interior pages) ---------------- */
.page-header{padding:64px 0 56px; border-bottom:1px solid var(--line);}
.page-header h1{font-size:clamp(38px,5.2vw,64px); line-height:1.03; max-width:16ch;}
.page-header h1 .hl{color:var(--brand);}
.page-header .lede{margin-top:20px;}
.breadcrumb{font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.08em; color:var(--muted); text-transform:uppercase; margin-bottom:22px;}
.breadcrumb a{color:var(--muted);}
.breadcrumb a:hover{color:var(--brand);}

/* ---------------- buttons ---------------- */
.btn{
  font-family:'IBM Plex Mono', monospace; font-size:13px; letter-spacing:0.05em;
  padding:14px 26px; border-radius:999px; display:inline-flex; align-items:center; gap:10px;
  transition:transform .22s, background .22s, color .22s, border-color .22s;
}
.btn-solid{background:var(--brand); color:var(--white);}
.btn-solid:hover{background:var(--brand-dark); transform:translateY(-2px);}
.btn-outline{border:1px solid var(--line-strong); color:var(--ink);}
.btn-outline:hover{border-color:var(--brand); color:var(--brand); transform:translateY(-2px);}
.section.brand .btn-outline{border-color:rgba(255,255,255,0.5); color:var(--white);}
.section.brand .btn-outline:hover{border-color:var(--white); background:rgba(255,255,255,0.1);}
.btn-row{display:flex; gap:14px; flex-wrap:wrap;}

/* ---------------- hero (home) ---------------- */
.hero{padding:76px 0 40px; display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:center;}
.hero h1{font-size:clamp(42px,6vw,78px); line-height:1.0; max-width:14ch;}
.hero h1 .hl{color:var(--brand); font-style:italic; font-family:'Bricolage Grotesque', sans-serif;}
.hero .lede{margin:26px 0 34px;}
.hero-panel{position:relative; aspect-ratio:1/1; background:var(--brand-tint); border-radius:24px; overflow:hidden; display:flex; align-items:center; justify-content:center;}
.hero-panel svg{width:78%; height:78%;}

/* ---------------- stat strip ---------------- */
.stat-strip{display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.stat{padding:34px 26px; border-right:1px solid var(--line);}
.stat:last-child{border-right:none;}
.stat .num{font-family:'Bricolage Grotesque', sans-serif; font-size:clamp(28px,3.4vw,42px); font-weight:600; color:var(--brand);}
.stat .lbl{font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted); margin-top:8px;}

/* ---------------- cards: practice preview ---------------- */
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:22px;}
.card{
  background:var(--white); border:1px solid var(--line); border-radius:16px; padding:30px 28px;
  transition:border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover{border-color:var(--brand); transform:translateY(-4px); box-shadow:var(--shadow);}
.card .num-tag{font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--brand); margin-bottom:16px; display:block;}
.card h3{font-size:21px; margin-bottom:12px;}
.card p{color:var(--muted); font-size:14.5px; line-height:1.7; margin:0 0 16px;}
.card .more{font-family:'IBM Plex Mono', monospace; font-size:12.5px; color:var(--brand); display:inline-flex; align-items:center; gap:6px;}
.card ul{list-style:none; margin:14px 0 0;}
.card ul li{position:relative; padding:8px 0 8px 18px; font-size:14px; color:var(--ink-2); border-top:1px solid var(--line);}
.card ul li:first-child{border-top:none;}
.card ul li::before{content:"—"; position:absolute; left:0; color:var(--brand);}

/* ---------------- practice detail blocks ---------------- */
.practice-block{
  display:grid; grid-template-columns:0.5fr 1.5fr; gap:48px; padding:52px 0; border-top:1px solid var(--line);
}
.practice-block:last-child{border-bottom:1px solid var(--line);}
.practice-block .pnum{font-family:'Bricolage Grotesque', sans-serif; font-size:64px; color:var(--brand-tint-2); font-weight:600; line-height:1;}
.practice-block h2{font-size:clamp(24px,2.6vw,32px); margin-bottom:14px;}
.practice-block p.desc{color:var(--muted); max-width:62ch; margin-bottom:22px; line-height:1.75;}
.practice-block ul{list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:6px 26px;}
.practice-block ul li{position:relative; padding:10px 0 10px 20px; font-size:14.5px; border-top:1px solid var(--line);}
.practice-block ul li::before{content:"—"; position:absolute; left:0; color:var(--brand);}

/* ---------------- timeline ---------------- */
.timeline{position:relative; padding-left:26px; border-left:2px solid var(--brand-tint-2);}
.tl-item{position:relative; padding-bottom:38px;}
.tl-item:last-child{padding-bottom:0;}
.tl-item::before{content:""; position:absolute; left:-31px; top:4px; width:10px; height:10px; border-radius:50%; background:var(--brand); box-shadow:0 0 0 4px var(--brand-tint);}
.tl-item .yr{font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.08em; color:var(--brand);}
.tl-item h4{font-size:18.5px; margin:6px 0 6px;}
.tl-item p{color:var(--muted); font-size:14.5px; line-height:1.7; max-width:64ch; margin:0;}

/* ---------------- featured case study ---------------- */
.feature-case{background:var(--ink); color:var(--paper); border-radius:22px; overflow:hidden;}
.feature-top{padding:44px clamp(24px,3vw,52px) 30px; border-bottom:1px solid rgba(251,249,245,0.14);}
.feature-top .tag{font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--brand-tint-2); letter-spacing:0.1em; text-transform:uppercase;}
.feature-top h3{font-size:clamp(26px,3.2vw,38px); margin:10px 0 10px;}
.feature-top .sub{color:rgba(251,249,245,0.7); font-size:14.5px; max-width:80ch; line-height:1.7;}
.feature-stats{display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid rgba(251,249,245,0.14);}
.feature-stats .fs{padding:28px clamp(24px,3vw,52px); border-right:1px solid rgba(251,249,245,0.14);}
.feature-stats .fs:last-child{border-right:none;}
.feature-stats .num{font-family:'Bricolage Grotesque', sans-serif; font-size:clamp(30px,3.6vw,44px); font-weight:600; color:var(--brand-tint-2);}
.feature-stats .lbl{font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:rgba(251,249,245,0.6); margin-top:6px;}
.feature-body{display:grid; grid-template-columns:1fr 1fr 1fr;}
.feature-body .fc{padding:30px clamp(20px,3vw,40px); border-right:1px solid rgba(251,249,245,0.14);}
.feature-body .fc:last-child{border-right:none;}
.feature-body .fc h5{font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.1em; color:var(--brand-tint-2); text-transform:uppercase; margin-bottom:12px;}
.feature-body .fc p{font-size:14px; color:rgba(251,249,245,0.75); line-height:1.7; margin:0;}

/* ---------------- project cards (work page) ---------------- */
.project-list{display:flex; flex-direction:column;}
.project{
  display:grid; grid-template-columns:220px 1fr; gap:32px; padding:36px 0; border-top:1px solid var(--line);
}
.project:last-child{border-bottom:1px solid var(--line);}
.project .ptag{font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--brand); text-transform:uppercase; letter-spacing:0.08em;}
.project h3{font-size:22px; margin:8px 0 12px;}
.project p{color:var(--muted); font-size:15px; line-height:1.75; max-width:72ch; margin:0;}
.project .figs{margin-top:16px; display:flex; gap:10px; flex-wrap:wrap;}
.project .figs span{font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--brand-dark); background:var(--brand-tint); padding:6px 12px; border-radius:999px;}

/* ---------------- ledger / recognition list ---------------- */
.ledger{border-top:1px solid var(--line);}
.ledger-row{display:flex; justify-content:space-between; gap:20px; padding:16px 0; border-bottom:1px solid var(--line); font-size:14.5px;}
.ledger-row .what{max-width:44ch; line-height:1.55;}
.ledger-row .when{font-family:'IBM Plex Mono', monospace; color:var(--brand); white-space:nowrap; font-size:12.5px;}

/* ---------------- as featured in / press table ---------------- */
.press-table{border-top:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--white); border:1px solid var(--line);}
.press-row{
  display:grid; grid-template-columns:48px 200px 1fr; align-items:center; gap:20px;
  padding:16px 22px; border-top:1px solid var(--line); transition:background .18s;
}
.press-row:first-child{border-top:none;}
.press-row:hover{background:var(--brand-tint);}
.press-row .logo-badge{
  width:38px; height:38px; border-radius:9px; background:var(--paper);
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center; overflow:hidden; flex-shrink:0;
}
.press-row .logo-badge img{width:22px; height:22px; object-fit:contain;}
.press-row .outlet{
  font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.04em;
  color:var(--brand); text-transform:uppercase; line-height:1.4;
}
.press-row .headline{
  font-size:14.5px; color:var(--ink-2); line-height:1.55;
}
.press-row:hover .headline{color:var(--brand-dark);}
.press-note{font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--muted); margin-top:16px; letter-spacing:0.02em;}

@media (max-width:760px){
  .press-row{grid-template-columns:36px 1fr; grid-template-rows:auto auto; row-gap:6px;}
  .press-row .logo-badge{width:32px; height:32px;}
  .press-row .logo-badge img{width:18px; height:18px;}
  .press-row .headline{grid-column:1 / -1;}
}

/* ---------------- at-a-glance list (card) ---------------- */
.glance-list{list-style:none; margin:0; padding:0;}
.glance-list li{
  position:static; padding:14px 0; border-top:1px solid var(--line);
  display:flex; flex-direction:column; gap:3px;
}
.card ul.glance-list li::before{content:none;}
.glance-list li:first-child{border-top:none;}
.glance-list li strong{
  font-family:'Bricolage Grotesque', sans-serif; font-weight:600; font-size:15.5px; color:var(--ink);
  text-decoration:none; display:block;
}
.glance-list li span{color:var(--muted); font-size:14px; line-height:1.55;}

/* ---------------- two-column split blocks (recognition / network) ---------------- */
.split-grid{display:grid; gap:56px;}
.split-grid.split-56-44{grid-template-columns:1.1fr 1fr;}
.split-grid.split-60-40{grid-template-columns:1fr 0.8fr; align-items:center;}

/* ---------------- quote grid ---------------- */
.quote-grid{display:grid; grid-template-columns:1fr 1fr; gap:2px; background:var(--line);}
.quote{background:var(--paper); padding:34px 30px;}
.quote .qmark{font-family:'Bricolage Grotesque', sans-serif; font-size:44px; color:var(--brand-tint-2); line-height:0.6; display:block; margin-bottom:6px;}
.quote p.msg{font-size:17px; line-height:1.65; color:var(--ink-2); margin:0 0 16px;}
.quote .from{font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--brand);}
.quote .from span{display:block; color:var(--muted); font-size:11.5px; margin-top:3px;}

/* ---------------- network / stat cities ---------------- */
.city-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.city-card{background:var(--white); border:1px solid var(--line); border-radius:16px; padding:30px 26px; text-align:left;}
.city-card .city{font-family:'Bricolage Grotesque', sans-serif; font-size:22px; margin-bottom:8px;}
.city-card .count{font-family:'IBM Plex Mono', monospace; color:var(--brand); font-size:14px;}

/* ---------------- recognised strip ---------------- */
.recognized-strip{display:flex; flex-wrap:wrap; gap:12px 34px; align-items:center; padding-top:6px;}
.recognized-strip span{font-family:'Bricolage Grotesque', sans-serif; font-style:italic; font-size:19px; color:var(--ink-2);}

/* ---------------- cta band ---------------- */
.cta-band{border-radius:22px; padding:56px clamp(24px,4vw,64px); display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; background:var(--brand); color:var(--white);}
.cta-band h2{font-size:clamp(26px,3.2vw,36px); max-width:20ch;}
.cta-band .btn-solid{background:var(--white); color:var(--brand);}
.cta-band .btn-solid:hover{background:var(--paper); color:var(--brand-dark);}

/* ---------------- contact ---------------- */
.contact-wrap{display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:start;}
.contact-card{background:var(--white); border:1px solid var(--line); border-radius:18px; padding:8px 28px;}
.contact-row{display:flex; justify-content:space-between; align-items:center; padding:20px 0; border-top:1px solid var(--line); flex-wrap:wrap; gap:8px;}
.contact-row:first-child{border-top:none;}
.contact-row .k{font-family:'IBM Plex Mono', monospace; font-size:11.5px; letter-spacing:0.1em; color:var(--muted); text-transform:uppercase;}
.contact-row a.val{font-family:'Bricolage Grotesque', sans-serif; font-size:18px; border-bottom:1px solid transparent;}
.contact-row a.val:hover{color:var(--brand); border-color:var(--brand);}
.closing-note{margin-top:40px; font-family:'Bricolage Grotesque', sans-serif; font-style:italic; font-size:18px; color:var(--muted);}

/* ---------------- footer ---------------- */
footer.site-footer{border-top:1px solid var(--line); padding:56px 0 30px; margin-top:40px;}
.footer-top{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; padding-bottom:40px;}
.footer-top h4{font-family:'IBM Plex Mono', monospace; font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); margin-bottom:16px;}
.footer-links{list-style:none; display:flex; flex-direction:column; gap:10px;}
.footer-links a{font-size:14.5px; color:var(--ink-2);}
.footer-links a:hover{color:var(--brand);}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:26px; border-top:1px solid var(--line); font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:var(--muted); flex-wrap:wrap; gap:10px;}

/* ---------------- responsive ---------------- */
@media (max-width: 980px){
  nav.primary-nav{display:none;}
  .nav-toggle{display:inline-block;}
  .hero{grid-template-columns:1fr;}
  .hero-panel{order:-1; max-width:340px; margin:0 auto;}
  .stat-strip{grid-template-columns:repeat(2,1fr);}
  .stat:nth-child(2){border-right:none;}
  .grid-3, .grid-2{grid-template-columns:1fr;}
  .practice-block{grid-template-columns:1fr; gap:12px;}
  .practice-block ul{grid-template-columns:1fr;}
  .feature-body{grid-template-columns:1fr;}
  .feature-body .fc{border-right:none; border-bottom:1px solid rgba(251,249,245,0.14);}
  .feature-stats{grid-template-columns:1fr;}
  .feature-stats .fs{border-right:none; border-bottom:1px solid rgba(251,249,245,0.14);}
  .project{grid-template-columns:1fr; gap:10px;}
  .quote-grid{grid-template-columns:1fr;}
  .city-grid{grid-template-columns:1fr;}
  .contact-wrap{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr; gap:26px;}
  .cta-band{flex-direction:column; align-items:flex-start;}
  .split-grid.split-56-44,
  .split-grid.split-60-40{grid-template-columns:1fr; gap:40px;}
  .ledger-row{flex-direction:column; align-items:flex-start; gap:4px;}
  .ledger-row .what{max-width:none;}

  /* ---- hero / page-header mobile spacing ---- */
  .hero{padding:40px 0 44px; gap:40px;}
  .hero .eyebrow{margin-top:4px;}
  .hero .lede{margin:22px 0 30px;}
  .hero-panel{margin-bottom:8px;}
  .page-header{padding:36px 0 44px;}
  .breadcrumb{margin-top:2px; margin-bottom:26px;}
  .page-header h1{margin-bottom:4px;}
  .page-header .lede{margin-top:18px;}
}

/* ---- extra breathing room on narrow phones ---- */
@media (max-width:480px){
  .wrap{padding-left:22px; padding-right:22px;}
  .hero h1{font-size:clamp(34px,9vw,48px); line-height:1.08;}
  .page-header h1{font-size:clamp(30px,8.5vw,42px); line-height:1.12;}
  .page-header{padding:32px 0 40px;}
  .hero{padding:36px 0 40px;}
  .breadcrumb{font-size:11px;}
}
