/* mauryanuppalapati.com - one stylesheet for every page */

@font-face{
  font-family:"Literata";font-style:normal;font-weight:400 600;font-display:swap;
  src:url(/assets/fonts/literata-latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Literata";font-style:normal;font-weight:400 600;font-display:swap;
  src:url(/assets/fonts/literata-latin-ext.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"Literata";font-style:italic;font-weight:400;font-display:swap;
  src:url(/assets/fonts/literata-italic-latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Literata";font-style:italic;font-weight:400;font-display:swap;
  src:url(/assets/fonts/literata-italic-latin-ext.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root{
  --ink:#18211E; --quiet:#56625D; --line:#E2E7E4; --green:#006747; --blue:#418FDE;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  margin:0;background:#FFFFFF;color:var(--ink);
  font-family:"Literata",Georgia,serif;font-size:17px;line-height:1.62;word-spacing:.04em;
  font-optical-sizing:auto;
}
a{color:var(--green);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
a:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:2px}

.page{padding:40px 22px 56px;max-width:960px;margin:0 auto}
h1{font-size:32px;line-height:1.08;font-weight:400;letter-spacing:-.018em;margin:0 0 6px}
.role{margin:0;color:var(--quiet);font-size:16px;line-height:1.45}
.links{display:flex;flex-wrap:wrap;gap:6px 18px;margin:22px 0 0;padding:0;list-style:none;font-size:16px}
.sec{margin-top:40px}
h2{font-size:15px;font-weight:600;letter-spacing:.01em;margin:0 0 10px;color:var(--ink)}
p{margin:0 0 12px;max-width:64ch}
figure{margin:18px 0 0;max-width:420px}
figcaption{font-size:14px;line-height:1.5;color:var(--quiet);margin-top:6px}
.year{font-size:15px;font-weight:600;color:var(--quiet);margin:20px 0 8px}
.year:first-of-type{margin-top:0}
ol.pubs{list-style:none;margin:0;padding:0}
ol.pubs li{margin:0 0 18px;max-width:66ch}
.t{font-weight:500;display:block;line-height:1.45}
.au{display:block;color:var(--quiet);font-size:15.5px}
.au b{font-weight:600;color:var(--ink)}
.v{display:block;font-style:italic;font-size:15.5px;color:var(--quiet)}
.pl{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:15px;margin-top:3px}
ul.plain{list-style:none;margin:0;padding:0}
ul.plain li{margin:0 0 10px;max-width:66ch}
ul.plain .when{display:block;color:var(--quiet);font-size:15px}
address{font-style:normal}

/* The commute figure: dots drawn on a faint street grid, revealed once on load */
.trace{display:block;width:100%;height:auto}
.trace .grid line{stroke:var(--line);stroke-width:1}
.trace .dots-g{fill:none;stroke:var(--green);stroke-width:3.2;stroke-linecap:round;stroke-dasharray:0 6}
.trace .dots-b{fill:none;stroke:var(--blue);stroke-width:3.2;stroke-linecap:round;stroke-dasharray:0 6}
.trace .stop{fill:#fff;stroke:var(--blue);stroke-width:2}
.trace .end{fill:var(--green)}
.trace text{font-family:"Literata",Georgia,serif;font-style:italic;font-size:11px;fill:var(--quiet)}
.trace .reveal{fill:none;stroke:#fff;stroke-width:14;stroke-linecap:round;stroke-dasharray:1 1;stroke-dashoffset:0}
.trace .reveal-g{animation:draw 2.4s cubic-bezier(.45,.05,.35,1) .3s both}
.trace .reveal-b{animation:draw .9s ease-out 1.7s both}
.trace .stop{animation:pop .4s ease-out 2.5s both}
@keyframes draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes pop{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  .trace .reveal-g,.trace .reveal-b,.trace .stop{animation:none}
}

/* Desktop: CV layout, section names in a left column */
@media (min-width:760px){
  .page{padding:72px 56px 80px}
  header{padding-left:200px}
  h1{font-size:46px}
  .role{font-size:17px}
  .links{padding-left:200px;margin-top:26px}
  .sec{display:grid;grid-template-columns:200px minmax(0,1fr);margin-top:56px}
  h2{font-size:15px;padding-top:3px;margin:0}
  .year{margin-top:24px}
}

@media print{
  .trace .reveal-g,.trace .reveal-b,.trace .stop{animation:none}
}
